CI: fix automated builds, update SNI and Enemizer

* Launcher.py always running ModuleUpdate breaks setup.py build --yes
* Use env variables in github workflows
* Update SNI and Enemizer versions in github workflows
* Minor cleanup in workflows
* Silence pycharm warning in Launcher.py
This commit is contained in:
black-sliver
2022-09-04 23:43:03 +02:00
parent 5e8ac74b2a
commit 1792b66b3a
3 changed files with 26 additions and 11 deletions

View File

@@ -19,8 +19,9 @@ from os.path import isfile
from shutil import which
from typing import Iterable, Sequence, Callable, Union, Optional
import ModuleUpdate
ModuleUpdate.update()
if __name__ == "__main__":
import ModuleUpdate
ModuleUpdate.update()
from Utils import is_frozen, user_path, local_path, init_logging, open_filename, messagebox, \
is_windows, is_macos, is_linux
@@ -69,6 +70,7 @@ def browse_files():
webbrowser.open(file)
# noinspection PyArgumentList
class Type(Enum):
TOOL = auto()
FUNC = auto() # not a real component