This commit is contained in:
Eugene Pankov
2016-12-23 10:06:53 +01:00
commit 98fea7b102
69 changed files with 3066 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<installer-gui-script minSpecVersion="1">
<title>ELEMENTS Client</title>
<options customize="never" require-scripts="true" rootVolumeOnly="true" />
<choices-outline>
<line choice="default">
<line choice="com.syslink.elements.driver" />
<line choice="com.syslink.Elements" />
<line choice="com.syslink.afptuner" />
</line>
</choices-outline>
<choice id="default"/>
<choice id="com.syslink.elements.driver">
<pkg-ref id="com.syslink.elements.driver"/>
</choice>
<pkg-ref id="com.syslink.elements.driver" version="1" auth="root">ElementsDriver.pkg</pkg-ref>
<choice id="com.syslink.Elements">
<pkg-ref id="com.syslink.Elements"/>
</choice>
<pkg-ref id="com.syslink.Elements" version="1" auth="root">Elements.pkg</pkg-ref>
<pkg-ref id="com.syslink.Elements">
<must-close>
<app id="com.syslink.Elements"/>
</must-close>
</pkg-ref>
<choice id="com.syslink.afptuner" title="AvidSharedStorageAccess">
<pkg-ref id="com.syslink.afptuner"/>
</choice>
<pkg-ref id="com.syslink.afptuner" version="1" auth="root">AFPTuner.pkg</pkg-ref>
</installer-gui-script>

View File

@@ -0,0 +1,20 @@
<?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">
<array>
<dict>
<key>BundleHasStrictIdentifier</key>
<true/>
<key>BundleIsRelocatable</key>
<false/>
<key>BundleIsVersionChecked</key>
<false/>
<key>BundleOverwriteAction</key>
<string>upgrade</string>
<key>BundlePostInstallScriptPath</key>
<string>Elements.postinst.sh</string>
<key>RootRelativeBundlePath</key>
<string>Applications/ELEMENTS.app</string>
</dict>
</array>
</plist>

44
build/mac/Elements.postinst.sh Executable file
View File

@@ -0,0 +1,44 @@
#!/bin/bash
set -e
cat > /Library/LaunchDaemons/com.elements.VolumesFix.plist << EOF
<?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>KeepAlive</key>
<false/>
<key>Label</key>
<string>com.elements.VolumesFix</string>
<key>ProgramArguments</key>
<array>
<string>/bin/bash</string>
<string>-c</string>
<string>sleep 3; chmod 777 /Volumes</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/dev/null</string>
<key>StandardOutPath</key>
<string>/dev/null</string>
<key>UserName</key>
<string>root</string>
</dict>
</plist>
EOF
chmod 600 /Library/LaunchDaemons/com.elements.VolumesFix.plist
cat > /etc/nsmb.conf << EOF
[default]
minauth=none
streams=yes
soft=yes
notify_off=yes
port445=no_netbios
signing_required=false
EOF
launchctl load -w /Library/LaunchDaemons/com.elements.VolumesFix.plist
launchctl start com.elements.VolumesFix

50
build/mac/Info.plist Normal file
View File

@@ -0,0 +1,50 @@
<?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>en_US</string>
<key>CFBundleExecutable</key>
<string>ELEMENTS</string>
<key>CFBundleIdentifier</key>
<string>com.syslink.elements</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>${VERSION}</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>Elements Client</string>
<key>CFBundleURLSchemes</key>
<array>
<string>elements-client</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>619</string>
<key>LSMinimumSystemVersion</key>
<string>10.8.0</string>
<key>LSUIElement</key>
<false/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016 Syslink GmbH. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>AtomApplication</string>
</dict>
</plist>

BIN
build/mac/codesign Executable file

Binary file not shown.

BIN
build/mac/icon.icns Normal file

Binary file not shown.