diff --git a/assets/launcher/helium.desktop.template b/assets/launcher/helium.desktop.template index b86692f..c3865fa 100644 --- a/assets/launcher/helium.desktop.template +++ b/assets/launcher/helium.desktop.template @@ -28,4 +28,4 @@ Exec=%QUIET_UPDATE_SCRIPT% [Desktop Action update-script] Name=Update Helium Helper -Exec=%QUIET_UPDATE_SCRIPT -S% \ No newline at end of file +Exec=%SCRIPT_UPDATE% \ No newline at end of file diff --git a/helium_helper.sh b/helium_helper.sh index 483f11a..2f892e5 100755 --- a/helium_helper.sh +++ b/helium_helper.sh @@ -143,7 +143,7 @@ add_launcher() { sed -i "s|%ICON_LOCATION%|$CONFIG_PATH/icon/helium.png|" $TMP/helium.desktop.template sed -i "s|%APP_VERSION%|$LOCAL_VERSION|" $TMP/helium.desktop.template sed -i "s|%QUIET_UPDATE_SCRIPT%|$SCRIPT_PATH/$AUTO_SCRIPT_FILE_NAME|" $TMP/helium.desktop.template - sed -i "s|%QUIET_UPDATE_SCRIPT -S%|$SCRIPT_PATH/$AUTO_SCRIPT_FILE_NAME -S|" $TMP/helium.desktop.template + sed -i "s|%SCRIPT_UPDATE%|$SCRIPT_PATH/$AUTO_SCRIPT_FILE_NAME -S|" $TMP/helium.desktop.template mv $TMP/helium.desktop.template $LAUNCHER_PATH/$APP_NAME.desktop mv $TMP/helium.png $CONFIG_PATH/icon echo -e "\n ${GRN}$APP_NAME_LONG launcher is set up!${CRS}"