Willy-JL 1 год назад
Родитель
Сommit
8874281a1e
1 измененных файлов с 2 добавлено и 1 удалено
  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",
         ),
     ),
 )