Skip to content

Commit

Permalink
Small adjustments on Windows GUI installer build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Feb 6, 2025
1 parent 1bc90e3 commit dc2c479
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tools/build_exe_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ def file_to_c_array(file_path, array_name):
f'n8-lang_{VERSION}_{ARCHITECTURE}.exe'
)


subprocess.run([
'g++', '-std=c++11', '-o', OUTPUT_EXE,
'g++', '-o', OUTPUT_EXE,
'-DLIBDEFLATE_DLL', '-mwindows',

'tools\\windows_installer\\installer_window.cpp',
'tools\\windows_installer\\installer_util.cpp',
Expand Down Expand Up @@ -136,8 +136,6 @@ def file_to_c_array(file_path, array_name):
'-L' + os.path.join(msys2_path, 'lib'),
'-L' + os.path.join(msys2_path, 'bin'),

'-DLIBDEFLATE_DLL', '-mwindows',

'-lgtkmm-3.0', '-latkmm-1.6', '-lgdkmm-3.0',
'-lgdk-3', '-lz', '-lgdi32', '-limm32', '-lshell32',
'-lole32', '-luuid', '-lwinmm', '-ldwmapi',
Expand Down

0 comments on commit dc2c479

Please sign in to comment.