Parcourir la source

빼먹은 코드 추가

잉여개발기 (SPDV) il y a 2 ans
Parent
commit
db271f6a5b
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      route/tool/func.py

+ 3 - 0
route/tool/func.py

@@ -701,6 +701,9 @@ def set_init_always(conn, ver_num):
             if for_a != exe_type:
                 os.remove(os.path.join(exe_path, for_a))
 
+        if platform.system() == 'Linux':
+            os.system('chmod +x ./route_go/bin/' + exe_type)
+
 def set_init(conn):
     curs = conn.cursor()