Fix running dmgbuild again
This commit is contained in:
parent
888c50d72a
commit
6e56872121
@ -7,8 +7,6 @@ import sys
|
||||
import tarfile
|
||||
import zipfile
|
||||
|
||||
from dmgbuild.__main__ import main as dmg_main
|
||||
|
||||
from comictaggerlib.ctversion import __version__
|
||||
|
||||
|
||||
@ -74,6 +72,8 @@ if __name__ == "__main__":
|
||||
zip_file = pathlib.Path(f"dist/{final_name}")
|
||||
|
||||
if platform.system() == "Darwin":
|
||||
from dmgbuild.__main__ import main as dmg_main
|
||||
|
||||
sys.argv = [
|
||||
"zip_artifacts",
|
||||
"-s",
|
||||
|
@ -237,8 +237,8 @@ deps =
|
||||
extras =
|
||||
all
|
||||
commands =
|
||||
python -c 'import importlib,platform; importlib.import_module("icu") if platform.system() != "Windows" else ...' # Sanity check for icu
|
||||
pyinstaller -y build-tools/comictagger.spec
|
||||
python -c 'import importlib,platform; importlib.import_module("icu") if platform.system() != "Windows" else ...' # Sanity check for icu
|
||||
|
||||
[testenv:appimage]
|
||||
description = Generate appimage executable
|
||||
|
Loading…
Reference in New Issue
Block a user