mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-26 20:25:50 +03:00
[GH-ISSUE #103] [Small Issue] Current-Command command specifications don't match text in ui #99
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Savvasun on GitHub (Jun 8, 2020).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/103
The command specifications in the Current Command textarea should match the descriptions that are written in "( )"s above the buttons in the UI:
--noconsole--windowed--nowindowed--consoleconfigurations.jsindex.htmlfileThis issue is informative as well as a request. I may be able to fix this myself soon.
@brentvollebregt commented on GitHub (Jun 9, 2020):
Yep, this is incorrect, when you click the "Console Based" it should show
--consoleand when clicking "Window Based" it should show--windowed.Looking at
options.map(x => x.option_strings)in the UI, it seems this option has three possible strings per state (console / window). A solution to this would be to always try to get the second string but use the first if there is no second; looks like this handles each option well still - verification:options.map(x => x.option_strings[x.option_strings.length === 1 ? 0 : 1]).I've just put a commit into develop now, thanks heaps for this.