2du 4 ani în urmă
părinte
comite
80db6be995
3 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 2 2
      route/main_update.py
  2. 1 1
      route/tool/func.py
  3. 1 1
      version.json

+ 2 - 2
route/main_update.py

@@ -20,7 +20,7 @@ def main_update_2(conn, r_ver):
             ok = []
 
             ok += [os.system('git remote rm origin')]
-            ok += [os.system('git remote add origin https://github.com/2DU/opennamu.git')]
+            ok += [os.system('git remote add origin https://github.com/opennamu/opennamu.git')]
             ok += [os.system('git fetch origin ' + up_data)]
             ok += [os.system('git reset --hard origin/' + up_data)]
             if (ok[0] and ok[1] and ok[2] and ok[3]) == 0:
@@ -29,7 +29,7 @@ def main_update_2(conn, r_ver):
                 print('Error : update failed')
         elif platform.system() == 'Windows':
             os.system('rd /s /q route')
-            urllib.request.urlretrieve('https://github.com/2DU/opennamu/archive/' + up_data + '.zip', 'update.zip')
+            urllib.request.urlretrieve('https://github.com/opennamu/opennamu/archive/' + up_data + '.zip', 'update.zip')
             zipfile.ZipFile('update.zip').extractall('')
             ok = os.system('xcopy /y /s /r opennamu-' + up_data + ' .')
             if ok == 0:

+ 1 - 1
route/tool/func.py

@@ -1715,7 +1715,7 @@ def re_error(data):
         elif num == 33:
             data = load_lang('restart_fail_error')
         elif num == 34:
-            data = load_lang("update_error") + ' <a href="https://github.com/2DU/opennamu">(Github)</a>'
+            data = load_lang("update_error") + ' <a href="https://github.com/opennamu/opennamu">(Github)</a>'
         elif num == 35:
             data = load_lang('same_email_error')
         elif num == 36:

+ 1 - 1
version.json

@@ -1,6 +1,6 @@
 {
     "beta" : {
-        "r_ver" : "v3.4.0-stable-01b (beta-01b) (dev-21.09.04-01)",
+        "r_ver" : "v3.4.0-stable-01b (beta-01b) (dev-21.09.05-01)",
         "c_ver" : "3400101",
         "s_ver" : "12"
     }