Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
``setup.py`` when bumping.
"""

APP_VERSION = "1.0.3"
APP_VERSION = "1.0.4"
17 changes: 6 additions & 11 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,17 +197,12 @@ def main() -> int:
_log(f"start: pid={os.getpid()} argv={sys.argv}")
_install_crash_logging()
args = sys.argv[1:]
if "--cli" in args or (
args
and (
args[0] in cli.TOP_LEVEL_COMMANDS
or args[0] in ("--version", "--help", "-h")
)
):
# Headless mode: no elevation prompt loop, no single-instance lock,
# no window. Exit codes and machine-readable output come from the
# cli module (modern top-level commands, the --cli compat alias and
# the global --version/--help flags all detour here).
if args:
# Any argument detours to headless mode: no elevation prompt loop,
# no single-instance lock, no window. Exit codes and machine-readable
# output come from the cli module (which also explains unknown args,
# so 'flint frobnicate' can never silently open a window). A bare
# launch with no arguments starts the GUI.
return cli.main()
_ensure_admin()
app = QApplication(sys.argv)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name="flint-native",
version="1.0.3",
version="1.0.4",
description="Optional native writer extension for Flint",
ext_modules=[
Extension(
Expand Down
8 changes: 4 additions & 4 deletions version_info.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VSVersionInfo(
ffi=FixedFileInfo(
filevers=(1, 0, 3, 0),
prodvers=(1, 0, 3, 0),
filevers=(1, 0, 4, 0),
prodvers=(1, 0, 4, 0),
mask=0x3F,
flags=0x0,
OS=0x40004,
Expand All @@ -17,11 +17,11 @@ VSVersionInfo(
[
StringStruct("CompanyName", "Flint"),
StringStruct("FileDescription", "Flint — bootable USB writer"),
StringStruct("FileVersion", "1.0.3"),
StringStruct("FileVersion", "1.0.4"),
StringStruct("InternalName", "flint"),
StringStruct("OriginalFilename", "flint.exe"),
StringStruct("ProductName", "Flint"),
StringStruct("ProductVersion", "1.0.3"),
StringStruct("ProductVersion", "1.0.4"),
],
)
]
Expand Down
Loading