mirror of
https://github.com/JDM170/SaveWizard
synced 2025-04-20 22:30:42 +07:00
Added simple config editor
Signed-off-by: JDM170 <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
29
build.spec
29
build.spec
@@ -8,8 +8,18 @@ app = Analysis(
|
||||
('configs/ets2', 'configs/ets2')
|
||||
]
|
||||
)
|
||||
cfg = Analysis(
|
||||
['init_config_editor.py'],
|
||||
pathex=['.']
|
||||
)
|
||||
|
||||
MERGE(
|
||||
(app, 'SaveWizard', 'SaveWizard'),
|
||||
(cfg, 'SaveWizard_Config_Editor', 'SaveWizard_Config_Editor')
|
||||
)
|
||||
|
||||
app_pyz = PYZ(app.pure, app.zipped_data)
|
||||
cfg_pyz = PYZ(cfg.pure, cfg.zipped_data)
|
||||
|
||||
app_exe = EXE(
|
||||
app_pyz,
|
||||
@@ -31,3 +41,22 @@ app_coll = COLLECT(
|
||||
name='app_build'
|
||||
)
|
||||
|
||||
cfg_exe = EXE(
|
||||
cfg_pyz,
|
||||
cfg.scripts,
|
||||
[],
|
||||
exclude_binaries=True,
|
||||
name='SaveWizard_Config_Editor',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
console=False
|
||||
)
|
||||
cfg_coll = COLLECT(
|
||||
cfg_exe,
|
||||
cfg.binaries,
|
||||
cfg.zipfiles,
|
||||
cfg.datas,
|
||||
strip=False,
|
||||
name='cfg_build'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user