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

build: use console mode and build as standalone exe #88

Conversation

AnthonyMichaelTDM
Copy link
Owner

It's not always clear to users that the executable is intended to be run from the terminal, this change removes the --windowed flag from the build workflow so this if users start the executable from, say, an app launcher or file explorer, a console will be spawned and the gui will be attached to it.

Additionally, we now build the executable as a single standalone binary, that unpacks it's required files into a temp directory (this was done with the --onefile flag)

this is done by using the --onefile flag and adding editor.ui and guids.json as data files

Note: the editor.ui and guids.json files are still included in the released archive, separately, this is for debugability.
@AnthonyMichaelTDM AnthonyMichaelTDM self-assigned this Jul 14, 2024
@AnthonyMichaelTDM AnthonyMichaelTDM merged commit 4ce4272 into master Jul 14, 2024
5 checks passed
@AnthonyMichaelTDM AnthonyMichaelTDM deleted the 87-proposal-remove-windowed-flag-from-builds-use-console-instead branch July 14, 2024 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Proposal] - remove --windowed flag from builds (use --console instead)
1 participant