Skip to content

Commit

Permalink
squash: fix appimage names
Browse files Browse the repository at this point in the history
  • Loading branch information
jardon committed Nov 5, 2024
1 parent 065a7cb commit 1df22ff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/qt_gui/check_update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,32 +474,32 @@ void CheckUpdate::Install() {
" fi\n"
"}\n"
"set_package_type() {\n"
" if pgrep -f \"Shadps4-qt.AppImage\" > /dev/null; then\n"
" if pgrep -f \"shadPS4-qt.AppImage\" > /dev/null; then\n"
" TYPE=\"appimage\"\n"
" else\n"
" TYPE=\"flatpak\"\n"
" fi\n"
"}\n"
"kill_process() {\n"
" if [ \"$TYPE\" == \"appimage\" ]; then\n"
" pkill -f \"Shadps4-qt.AppImage\"\n"
" pkill -f \"shadPS4-qt.AppImage\"\n"
" sleep 2\n"
" else\n"
" pkill -f \"Shadps4\"\n"
" pkill -f \"shadPS4\"\n"
" sleep 2\n"
" fi\n"
"}\n"
"update_package() {\n"
" if [ \"$TYPE\" == \"appimage\" ]; then\n"
" cp -r \"$1/\"* \"$2/\"\n"
" chmod +x \"$2/Shadps4-qt.AppImage\"\n"
" chmod +x \"$2/shadPS4-qt.AppImage\"\n"
" else\n"
" flatpak install -u \"$2/shadps4.flatpak\"\n"
" fi\n"
"}\n"
"restart_app() {\n"
" if [ \"$TYPE\" == \"appimage\" ]; then\n"
" cd \"$1\" && ./Shadps4-qt.AppImage\n"
" cd \"$1\" && ./shadPS4-qt.AppImage\n"
" else\n"
" flatpak run -u com.shadps4emu.ShadPS4\n"
" fi\n"
Expand Down

0 comments on commit 1df22ff

Please sign in to comment.