잉여개발기 (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()