Issue #12277: GIMP 3.0 RC1 opens Windows Console.

This is a followup of previous commit. We must set the win_subsystem
option on executable() so that the result binary is compiled as a GUI
application (and doesn't output a console every time).

The previous commit is still needed and is what allows us to control
when to actually display a console.
This commit is contained in:
Jehan 2024-11-18 14:52:47 +09:00
parent fcf524fbc3
commit 02199755ab
37 changed files with 40 additions and 0 deletions

View file

@ -29,6 +29,7 @@ exe = executable(plug_in_name + '-c',
],
install: true,
install_dir: gimpplugindir / 'extensions' / extension_name,
win_subsystem: 'windows',
)
# XXX This is so ugly!
@ -54,6 +55,7 @@ if have_vala and have_gobject_introspection
],
install: true,
install_dir: gimpplugindir / 'extensions' / extension_name,
win_subsystem: 'windows',
)
plug_ins = plug_ins + ':' + exe.full_path().split('/')[-1].split('\\')[-1]