فهرست منبع

AirLabyrinth: Fix sprites on windows (still precompiled tho)

Willy-JL 2 سال پیش
والد
کامیت
09f86f78f7
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      application.fam

+ 2 - 1
application.fam

@@ -14,7 +14,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=("python" if __import__("sys").platform == "win32" else "python3")
+#            + " ${FAP_SRC_DIR}/engine/scripts/sprite_builder.py ${FAP_SRC_DIR.abspath}/sprites ${TARGET.abspath}/sprites",
 #        ),
 #    ),
 )