mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 20:02:05 -08:00
Hotfix Windows launcher packaging
Fixes an issue with the launcher not copying correctly during the packaging process for Windows.
This commit is contained in:
parent
862d3f24cc
commit
a58428b534
1 changed files with 3 additions and 2 deletions
|
|
@ -90,9 +90,10 @@ def add_includes_to_package(package_file, includes, fonts, new_file, target):
|
||||||
shutil.copy2(file, fonts_dir)
|
shutil.copy2(file, fonts_dir)
|
||||||
|
|
||||||
# Add launcher from launcher/dist/launch to temp_dir
|
# Add launcher from launcher/dist/launch to temp_dir
|
||||||
|
launch_file = 'launch' + ('.exe' if target == 'windows' else '')
|
||||||
shutil.copy2(
|
shutil.copy2(
|
||||||
os.path.join('launcher', 'dist', 'launch'),
|
os.path.join('launcher', 'dist', launch_file),
|
||||||
os.path.join(temp_dir, 'launch' + ('.exe' if target == 'windows' else '')),
|
os.path.join(temp_dir, launch_file),
|
||||||
)
|
)
|
||||||
|
|
||||||
# Remove unneeded paths
|
# Remove unneeded paths
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue