lqg 2 years ago
parent
commit
15873f6cde
2 changed files with 4 additions and 4 deletions
  1. 1 1
      SNAPSHOT_HASH
  2. 3 3
      src/__init__.py

+ 1 - 1
SNAPSHOT_HASH

@@ -1 +1 @@
-59da07d9da5a83be4ce75b7913b63dbd
+b0e899ec5a90e4661501f0b69e9dd70f

+ 3 - 3
src/__init__.py

@@ -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',