Skip to content

Commit b943bc7

Browse files
committed
Mace scripts executable
Fix autostart on linux
1 parent 9034c12 commit b943bc7

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

derpiwallpaper/autostart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
def run_on_startup(enable=True):
1010
"""Sets the app to run on startup (OS independent)."""
1111
app_name = "DerpiWallpaper" # Replace with your app's name
12-
executable_path = Path(os.getenv("NUITKA_ONEFILE_BINARY", sys.executable)) # Path to the executable generated by Nuitka in onefile mode
12+
executable_path = Path(sys.argv[0]) # Path to the executable generated by Nuitka in onefile mode
1313
minimized_flag = "--minimized" # The flag to start the app minimized
1414

1515
if platform.system() == "Windows":

scripts/build-linux.sh

100644100755
File mode changed.

scripts/build-macos.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)