Fix tool on different platforms.

This commit is contained in:
2024-12-24 23:41:27 -06:00
parent fe69d85fab
commit afa6a1a036
4 changed files with 20 additions and 9 deletions

View File

@ -12,6 +12,9 @@ add_custom_target(dawnassets
--input=${DAWN_ASSETS_BUILD_DIR}
--output=${DAWN_BUILD_DIR}/dawn.tar
COMMENT "Bundling assets..."
USES_TERMINAL
DEPENDS ${DAWN_ASSETS}
USES_TERMINAL
DEPENDS
${DAWN_ASSETS}
${DAWN_TOOLS_DIR}/assetstool/assetstool.py
${Python3_EXECUTABLE}
)

1
tools/assetstool/assetstool.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (c) 2023 Dominic Masters
#
# This software is released under the MIT License.