잉여개발기 (SPDV) пре 3 година
родитељ
комит
4c50fec363
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      app.py

+ 2 - 2
app.py

@@ -647,12 +647,12 @@ def main_easter_egg_go():
     with get_db_connect() as conn:
         print(platform.machine())
         if platform.system() == 'Linux':
-            if platform.machine() == 'AMD64':
+            if platform.machine() in ["AMD64", "x86_64"]:
                 data = os.popen(os.path.join(".", "route_go", "main_easter_egg.amd64.bin")).read()
             else:
                 data = os.popen(os.path.join(".", "route_go", "main_easter_egg.arm64.bin")).read()
         else:
-            if platform.machine() == 'AMD64':
+            if platform.machine() in ["AMD64", "x86_64"]:
                 data = os.popen(os.path.join(".", "route_go", "main_easter_egg.amd64.exe")).read()
             else:
                 data = os.popen(os.path.join(".", "route_go", "main_easter_egg.arm64.exe")).read()