add update
This commit is contained in:
parent
c1fcb69ea4
commit
76853638da
1 changed files with 2 additions and 5 deletions
|
|
@ -89,16 +89,13 @@ class AppDataManager {
|
|||
}
|
||||
|
||||
Future<String> getHash() async {
|
||||
var c = Completer<String>();
|
||||
var shell = StringBuffer();
|
||||
shell.writeln('git rev-parse HEAD');
|
||||
var process =
|
||||
await ProcessExecutor.start(shell, workspace: _workspace);
|
||||
var process = await ProcessExecutor.start(shell, workspace: _workspace);
|
||||
await process.process.exitCode;
|
||||
var hash = process.stdoutArr.last;
|
||||
print('#### Git Hash: $hash');
|
||||
c.complete(hash);
|
||||
return c.future;
|
||||
return dataFutrue(hash);
|
||||
}
|
||||
|
||||
String getBuildTime() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue