Explorar o código

AirArkanoid: Fix on windows

Willy-JL hai 1 ano
pai
achega
8874281a1e
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      air_arkanoid/application.fam

+ 2 - 1
air_arkanoid/application.fam

@@ -12,7 +12,8 @@ App(
     fap_extbuild=(
         ExtFile(
             path="${FAP_SRC_DIR}/assets",
-            command="python3 ${FAP_SRC_DIR}/engine/scripts/sprite_builder.py ${FAP_SRC_DIR.abspath}/sprites ${TARGET.abspath}/sprites",
+            command=("python3" if __import__("shutil").which("python3") else "python")
+            + " ${FAP_SRC_DIR}/engine/scripts/sprite_builder.py ${FAP_SRC_DIR.abspath}/sprites ${TARGET.abspath}/sprites",
         ),
     ),
 )