Skip to content

Commit

Permalink
Add macOS entry to package as .app
Browse files Browse the repository at this point in the history
  • Loading branch information
JaviMuller committed Sep 6, 2023
1 parent 44dcc8f commit c5c5e9f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Elections/src/macos_entry.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from subprocess import call
import os

pathname = os.path.dirname(os.path.abspath(__file__))
execpath = os.path.join(pathname, 'App')

call(['open', execpath])

0 comments on commit c5c5e9f

Please sign in to comment.