add update

This commit is contained in:
leedongmyung[desktop] 2023-11-25 15:06:42 +09:00
parent c1fcb69ea4
commit 76853638da

View file

@ -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() {