mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
* opt: env * fix * fix: regex * fix: android * fix * fix Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> * fastforge define * fix Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> --------- Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
17 lines
403 B
Dart
17 lines
403 B
Dart
class BuildConfig {
|
|
static const int versionCode = int.fromEnvironment(
|
|
'pili.code',
|
|
defaultValue: 1,
|
|
);
|
|
static const String versionName = String.fromEnvironment(
|
|
'pili.name',
|
|
defaultValue: 'SNAPSHOT',
|
|
);
|
|
|
|
static const int buildTime = int.fromEnvironment('pili.time');
|
|
static const String commitHash = String.fromEnvironment(
|
|
'pili.hash',
|
|
defaultValue: 'N/A',
|
|
);
|
|
}
|