Linux/Mac Auto-Updater (#1145)

This commit is contained in:
qurious-pixel 2024-05-04 16:34:36 -07:00 committed by GitHub
parent a744670486
commit f28043e0e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 82 additions and 28 deletions

8
src/resource/update.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
APP=$(cd "$(dirname "0")"/;pwd)
hdiutil attach $TMPDIR/cemu_update/cemu.dmg
cp -rf /Volumes/Cemu/Cemu.app "$APP"
hdiutil detach /Volumes/Cemu/
open -n -a "$APP/Cemu.app"