mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
rpcs3qt: Add macOS support to the updater.
This commit is contained in:
parent
5fe36872c5
commit
3ef48cbdd5
7 changed files with 152 additions and 24 deletions
14
rpcs3/update_helper.sh
Executable file
14
rpcs3/update_helper.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
# This script copies the new app over the old app and launches it.
|
||||
# This is required since invalidating the code signing of an app by
|
||||
# replacing it while it is running can result in the app being killed.
|
||||
|
||||
if [ "$#" -ne 2 ]; then
|
||||
echo "Usage: update_helper.sh <new_app> <old_app>"
|
||||
exit 1
|
||||
fi
|
||||
new_app="$1/"
|
||||
old_app="$2/"
|
||||
|
||||
cp -Rf -p "$new_app" "$old_app"
|
||||
open -n -a "$2" --args --updating
|
Loading…
Add table
Add a link
Reference in a new issue