no message
This commit is contained in:
parent
21683b88bb
commit
635ac00aa2
1 changed files with 3 additions and 2 deletions
|
|
@ -22,13 +22,14 @@ class AppDataManager {
|
|||
// await rootBundle.loadString('$relativeAssetPath/app_data.json')));
|
||||
// }
|
||||
|
||||
Future<AppData> create(
|
||||
SCMType scm, String workspace, String relativeAssetPath) async {
|
||||
Future<AppData> create(SCMType scm, String workspace,
|
||||
String relativeAssetPath, String name) async {
|
||||
_scm = scm;
|
||||
_workspace = workspace;
|
||||
_relativeAssetPath = relativeAssetPath;
|
||||
var c = Completer<AppData>();
|
||||
var appData = AppData();
|
||||
appData.name = name;
|
||||
appData.version = await getVersion();
|
||||
appData.buildDate = getBuildTime();
|
||||
if (_scm == SCMType.Git) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue