Skip to content

Commit

Permalink
desktop: fix app autostart in appimage (#4223)
Browse files Browse the repository at this point in the history
  • Loading branch information
alihamuh authored Mar 4, 2024
1 parent b3cc947 commit ba16197
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/desktop/src/utils/autolaunch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ Type=Application
Version=${app.getVersion()}
Name=${app.getName()}
Comment=${app.getName()} startup script
Exec=${process.execPath}${hidden ? " --hidden" : ""}
Exec=${
process.env.APPIMAGE
? `${process.env.APPIMAGE}${hidden ? " --hidden" : ""}`
: `${process.execPath}${hidden ? " --hidden" : ""}`
}
StartupNotify=false
Terminal=false`;

Expand Down

0 comments on commit ba16197

Please sign in to comment.