#112 new: check hash during upgrade

This commit is contained in:
lollipopkit
2023-08-08 16:31:28 +08:00
parent 693eef8f7e
commit 159942de95
12 changed files with 79 additions and 47 deletions

View File

@@ -146,7 +146,7 @@ Future<void> scp2CDN() async {
print('SHA1: $sha1');
final result = await Process.run(
'scp',
[apkPath, 'hk:/var/www/res/serverbox/apks/$build-$sha1.apk'],
[apkPath, 'hk:/var/www/res/serverbox/apks/$build.apk'],
runInShell: true,
);
if (result.exitCode != 0) {