mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
0d9ae241c9
Project file names stay the same, only the output file(s) changed
17 lines
783 B
Bash
17 lines
783 B
Bash
#!/bin/sh
|
|
# osascript $HOME/owncloud.com/mirall/shell_integration/MacOSX/unload.scpt
|
|
|
|
sudo rm -rf /Library/ScriptingAdditions/SyncStateFinder.osax
|
|
# Klaas' machine
|
|
OSAXDIR=$HOME/Library/Developer/Xcode/DerivedData/OwnCloud-*/Build/Products/Debug/SyncStateFinder.osax
|
|
[ -d $OSAXDIR ] ||OSAXDIR=$HOME/Library/Developer/Xcode/DerivedData/OwnCloud-*/Build/Intermediates/ArchiveIntermediates/SyncStateFinder.osax/IntermediateBuildFilesPath/UninstalledProducts/SyncStateFinder.osax
|
|
|
|
# Markus' machine
|
|
[ -d $OSAXDIR ] || echo "OSAX does not exist"
|
|
[ -d $OSAXDIR ] && sudo cp -rv $OSAXDIR /Library/ScriptingAdditions/
|
|
|
|
sudo killall Finder
|
|
sleep 1
|
|
osascript $HOME/owncloud.com/mirall/shell_integration/MacOSX/load.scpt
|
|
osascript $HOME/owncloud.com/mirall/shell_integration/MacOSX/check.scpt
|
|
|