mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-23 04:45:43 +03:00
OS X: Fix Finder bundle NVTY->OWNC
This commit is contained in:
parent
cc5f5cf3a6
commit
b6f42a91f4
7 changed files with 9 additions and 9 deletions
|
@ -19,7 +19,7 @@
|
|||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>NVTY</string>
|
||||
<string>OWNC</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>CFPlugInDynamicRegisterFunction</key>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<dict>
|
||||
<key>Events</key>
|
||||
<dict>
|
||||
<key>NVTYlded</key>
|
||||
<key>OWNClded</key>
|
||||
<dict>
|
||||
<key>Context</key>
|
||||
<string>Process</string>
|
||||
|
@ -35,7 +35,7 @@
|
|||
<key>ThreadSafe</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>NVTYload</key>
|
||||
<key>OWNCload</key>
|
||||
<dict>
|
||||
<key>Context</key>
|
||||
<string>Process</string>
|
||||
|
@ -44,7 +44,7 @@
|
|||
<key>ThreadSafe</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>NVTYunld</key>
|
||||
<key>OWNCunld</key>
|
||||
<dict>
|
||||
<key>Context</key>
|
||||
<string>Process</string>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
tell application "Finder"
|
||||
try
|
||||
«event NVTYlded»
|
||||
«event OWNClded»
|
||||
set the result to 0
|
||||
on error msg number code
|
||||
set the result to code
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
tell application "Finder"
|
||||
try
|
||||
«event NVTYload»
|
||||
«event OWNCload»
|
||||
end try
|
||||
end tell
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
osascript -e 'tell application "Finder" \
|
||||
try \
|
||||
«event NVTYload» \
|
||||
«event OWNCload» \
|
||||
end try \
|
||||
end tell'
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
tell application "Finder"
|
||||
try
|
||||
«event NVTYunld»
|
||||
«event OWNCunld»
|
||||
end try
|
||||
end tell
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@ void ownCloudGui::setupOverlayIcons()
|
|||
if( Utility::isMac() && QFile::exists("/Library/ScriptingAdditions/OwnCloudFinder.osax") ) {
|
||||
QString aScript = QString::fromUtf8("tell application \"Finder\"\n"
|
||||
" try\n"
|
||||
" «event NVTYload»\n"
|
||||
" «event OWNCload»\n"
|
||||
" end try\n"
|
||||
"end tell\n");
|
||||
|
||||
|
|
Loading…
Reference in a new issue