This commit is contained in:
Eugene Pankov
2017-05-01 20:12:39 +02:00
parent 7d22e8e861
commit 34c90326da
28 changed files with 20 additions and 166 deletions

View File

@@ -1,35 +0,0 @@
<?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

@@ -1,20 +0,0 @@
<?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>

View File

@@ -1,44 +0,0 @@
#!/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

Binary file not shown.

Binary file not shown.