Explorar o código

AirLabyrinth: Fix sprites on windows (still precompiled tho)

Willy-JL %!s(int64=2) %!d(string=hai) anos
pai
achega
09f86f78f7
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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",
 #        ),
 #    ),
 )