Skip to content

Commit 862d8e1

Browse files
committed
Release v1.5.3
Fix silent PyInstaller binary: add if __name__ == "__main__" to main.py
1 parent 9e1f16d commit 862d8e1

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "gx-git"
7-
version = "1.5.2"
7+
version = "1.5.3"
88
description = "Git Productivity Toolkit"
99
readme = "README.md"
1010
license = {text = "MIT"}

src/gx/main.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,7 @@ def main(
112112
if ctx.invoked_subcommand is None:
113113
typer.echo(_GROUPED_HELP)
114114
raise typer.Exit()
115+
116+
117+
if __name__ == "__main__":
118+
app()

0 commit comments

Comments
 (0)