Update update_helper.dart
This commit is contained in:
@@ -19,7 +19,7 @@ extension UpdateHelper on Release {
|
|||||||
updateCallback!(-1, UpdateState.preparing);
|
updateCallback!(-1, UpdateState.preparing);
|
||||||
|
|
||||||
String downloads = await StorageHelper.downloadsPath();
|
String downloads = await StorageHelper.downloadsPath();
|
||||||
File apk = File("$downloads/refilc-$version.apk");
|
File apk = File("$downloads/refilc-v$version.apk");
|
||||||
|
|
||||||
if (!await apk.exists()) {
|
if (!await apk.exists()) {
|
||||||
updateCallback(-1, UpdateState.downloading);
|
updateCallback(-1, UpdateState.downloading);
|
||||||
|
|||||||
Reference in New Issue
Block a user