Skip to content

Commit

Permalink
Fix missing system tray icon on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
HotaruBlaze committed Jun 1, 2023
1 parent 9e26e6b commit 2e5880e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# PyQt5 Initialization
app = QApplication(sys.argv)
app.setQuitOnLastWindowClosed(False)
app.setApplicationName("NSO-RPC")
MainWindow = QMainWindow()
# NSO Variables
session_token, user_lang, targetID = getToken(False)
Expand Down Expand Up @@ -211,6 +212,7 @@ def setLaunchMode(self,mode):
"[Service]",
"Type=simple",
"StandardOutput=journal",
"WorkingDirectory="+os.getcwd(),
"ExecStart="+" ".join([sys.executable, os.path.abspath(__file__)]),
"",
"[Install]",
Expand Down

0 comments on commit 2e5880e

Please sign in to comment.