|
@@ -24,7 +24,7 @@ libAppArm = '', ''
|
|
|
libAppX64 = '', ''
|
|
|
libAppX86 = '', ''
|
|
|
libios = '', ''
|
|
|
-libappHash = ''
|
|
|
+libappHash = 'b0e899ec5a90e4661501f0b69e9dd70f'
|
|
|
ZIPSTORED = False
|
|
|
|
|
|
|
|
@@ -329,7 +329,7 @@ def checkHash():
|
|
|
print("\nIs this really a Flutter app? \nThere was no libapp.so (Android) or App (iOS) found in the package.\n\n Make sure there is arm64-v8a/libapp.so or App.framework/App file in the package. If flutter library name differs you need to rename it properly before patching.\n")
|
|
|
sys.exit()
|
|
|
resp = urlopen(
|
|
|
- 'https://raw.githubusercontent.com/ptswarm/reFlutter/main/enginehash.csv').read().decode('utf-8')
|
|
|
+ 'https://git.yoqi.me/flutter/reflutter/raw/master/enginehash.csv').read().decode('utf-8')
|
|
|
if libappHash not in resp:
|
|
|
# 删除文件夹
|
|
|
shutil.rmtree('libappTmp')
|
|
@@ -387,7 +387,7 @@ def main():
|
|
|
|
|
|
if not os.path.exists("enginehash.csv"):
|
|
|
urlretrieve(
|
|
|
- "https://raw.githubusercontent.com/ptswarm/reFlutter/main/enginehash.csv", "enginehash.csv")
|
|
|
+ "https://git.yoqi.me/flutter/reflutter/raw/master/enginehash.csv", "enginehash.csv")
|
|
|
|
|
|
with open("enginehash.csv") as f_obj:
|
|
|
replaceFileText('src/src/flutter/BUILD.gn',
|