mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
15 lines
405 B
Bash
Executable File
15 lines
405 B
Bash
Executable File
#!/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
|