Removed unused files.
Moved installer files into the ReleaseBuilder
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<installer-gui-script minSpecVersion="1">
|
||||
<title>Duplicati</title>
|
||||
<organization>com.duplicati</organization>
|
||||
|
||||
<license file="LICENSE.html"/>
|
||||
|
||||
<pkg-ref id="com.duplicati.app"/>
|
||||
<pkg-ref id="com.duplicati.app.daemon"/>
|
||||
|
||||
<options require-scripts="false"/>
|
||||
<choices-outline>
|
||||
<line choice="com.duplicati.app"/>
|
||||
<line choice="com.duplicati.app.daemon"/>
|
||||
</choices-outline>
|
||||
|
||||
<choice id="com.duplicati.app" title="Duplicati App" description="The main Duplicati App" start_selected="true" enabled="false" visible="false">
|
||||
<pkg-ref id="com.duplicati.app"/>
|
||||
</choice>
|
||||
|
||||
<choice id="com.duplicati.app.daemon" title="Launch at login" description="Starts Duplicati automatically when you log in" start_selected="true">
|
||||
<pkg-ref id="com.duplicati.app.daemon"/>
|
||||
</choice>
|
||||
|
||||
<pkg-ref id="com.duplicati.app" version="0" onConclusion="none">DuplicatiApp.pkg</pkg-ref>
|
||||
<pkg-ref id="com.duplicati.app.daemon" version="0" onConclusion="none">DuplicatiDaemon.pkg</pkg-ref>
|
||||
</installer-gui-script>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>com.apple.security.cs.allow-jit</key>
|
||||
<true/>
|
||||
<key>com.apple.security.automation.apple-events</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
|
||||
<body>
|
||||
<p>
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>duplicati</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>Duplicati.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.duplicati.app</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<true/>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Duplicati</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>SUBL</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>!LONG_VERSION!</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Duplicati</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>!LONG_VERSION!</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>LSUIElement</key>
|
||||
<true />
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
/usr/bin/open /Applications/Duplicati.app
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
if pgrep -x "Duplicati"; then
|
||||
RES=`osascript \
|
||||
-e "set question to display dialog \"Duplicati is currently running, you should quit before installing a new version\" with title \"Duplicati is already running\" buttons {\"Stop installation\", \"Continue\"} default button 1" \
|
||||
-e "if button returned of question is equal to \"Stop installation\" then return \"STOP\""`
|
||||
if [ "$RES" == "STOP" ];
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
/bin/launchctl load "/Library/LaunchAgents/com.duplicati.app.launchagent.plist"
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
if /bin/launchctl list "com.duplicati.app.launchagent" &> /dev/null; then
|
||||
/bin/launchctl unload "/Library/LaunchAgents/com.duplicati.app.launchagent.plist"
|
||||
fi
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>com.duplicati.app.launchagent</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/usr/bin/open</string>
|
||||
<string>/Applications/Duplicati.app</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
Binary file not shown.
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
if [ -d /Applications/Duplicati.app ]; then
|
||||
rm -rf /Applications/Duplicati.app
|
||||
fi
|
||||
|
||||
if /bin/launchctl list "com.duplicati.app.launchagent" &> /dev/null; then
|
||||
/bin/launchctl unload "/Library/LaunchAgents/com.duplicati.app.launchagent.plist"
|
||||
fi
|
||||
|
||||
if [ -f "/Library/LaunchAgents/com.duplicati.app.launchagent.plist" ]; then
|
||||
rm "/Library/LaunchAgents/com.duplicati.app.launchagent.plist"
|
||||
fi
|
||||
|
||||
pkgutil --forget "com.duplicati.app"
|
||||
pkgutil --forget "com.duplicati.app.daemon"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user