Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide cmd on windows. #509

Merged
merged 5 commits into from
Jan 27, 2021
Merged

Hide cmd on windows. #509

merged 5 commits into from
Jan 27, 2021

Conversation

EndrII
Copy link
Member

@EndrII EndrII commented Jan 26, 2021

Description:
If you run the installed application through a shortcut or bat file, the console window will be blank until the application is closed. In most cases, the user does not want to see it when launching the application using a shortcut.

These changes should fix this problem.

now the command is used to launch the application:

start "MyAppTitle" /B "bin/MyExecutable.exe" *%

@EndrII EndrII added Bug Something isn't working Windows Windows version labels Jan 26, 2021
@EndrII EndrII added this to the v1.5 milestone Jan 26, 2021
@EndrII EndrII self-assigned this Jan 26, 2021
@EndrII EndrII mentioned this pull request Jan 26, 2021
1 task
@EndrII EndrII merged commit 02fbba0 into v1.5 Jan 27, 2021
@EndrII EndrII deleted the hideWindowsConsole branch February 23, 2021 11:54
@1zun4secondary
Copy link

1zun4secondary commented Oct 4, 2022

The console window still appears on Windows.

@EndrII
Copy link
Member Author

EndrII commented Oct 4, 2022

@1zun4 Hi
hm, I think it happened because you deploy no GUI application
see this code

Attach your bat file here, please.

@1zun4secondary
Copy link

1zun4secondary commented Oct 4, 2022

Yes, it seems I am missing the fGui flag when building the installer.

2022-10-04.21-07-23.mp4

@EndrII
Copy link
Member Author

EndrII commented Oct 5, 2022

@1zun4 I check your video
the fGui flag sets to true when the distribution has any QtGui libraries, but your distribution is not dependent of qt.
see the #714 issue to get more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Windows Windows version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants