Skip to content

Commit

Permalink
saving changes, todo: make sh script compile.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Tintor committed Aug 16, 2024
1 parent 87800f3 commit a827aea
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cli_entrypoint.py → main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
from importlib.metadata import version as getLibraryVersion

import sys
import multiprocessing

import click

from coretex.cli.commands.login import login
Expand Down Expand Up @@ -57,5 +59,9 @@ def cli() -> None:
cli.add_command(version)
cli.add_command(update)

if getattr(sys, 'frozen', False):
cli(sys.argv[1:])

if __name__ == "__main__":
multiprocessing.freeze_support()

if getattr(sys, 'frozen', False):
cli(sys.argv[1:])

0 comments on commit a827aea

Please sign in to comment.