mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2026-06-13 04:04:59 +03:00
Reload and restart plugin_loader after installation
Added systemctl commands to reload and restart plugin_loader after installation.
This commit is contained in:
@@ -136,6 +136,13 @@ fi
|
|||||||
set -x
|
set -x
|
||||||
cd "$LOCAL_DIR"
|
cd "$LOCAL_DIR"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl restart plugin_loader
|
||||||
|
sleep 3
|
||||||
|
|
||||||
# Ask to switch to Game Mode
|
# Ask to switch to Game Mode
|
||||||
zenity --question --text="Plugin installed or updated. Do you want to switch to Game Mode now?" --title="Switch to Game Mode?" --ok-label="Yes" --cancel-label="No"
|
zenity --question --text="Plugin installed or updated. Do you want to switch to Game Mode now?" --title="Switch to Game Mode?" --ok-label="Yes" --cancel-label="No"
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user