(ded4a3e0a) v0.9.0.7
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 7.2 KiB |
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
if [ -d "/Applications/Xamarin Studio.app" ]
|
||||
then
|
||||
CONSOLE_USER=$(stat -f '%Su' /dev/console)
|
||||
sudo -u $CONSOLE_USER /Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool setup install /tmp/MonoDevelop.MonoGame_*.mpack -y
|
||||
fi
|
||||
if [ -d "/Applications/Visual Studio.app" ]
|
||||
then
|
||||
CONSOLE_USER=$(stat -f '%Su' /dev/console)
|
||||
sudo -u $CONSOLE_USER /Applications/Visual\ Studio.app/Contents/MacOS/vstool setup install /tmp/MonoDevelop.MonoGame_IDE_VisualStudioForMac_*.mpack -y
|
||||
fi
|
||||
if [ -f "/tmp/MonoDevelop.MonoGame_*.mpack" ]
|
||||
then
|
||||
sudo rm /tmp/MonoDevelop.MonoGame_*.mpack
|
||||
fi
|
||||
if [ -f "/tmp/MonoDevelop.MonoGame_IDE_VisualStudioForMac_*.mpack" ]
|
||||
then
|
||||
sudo rm /tmp/MonoDevelop.MonoGame_IDE_VisualStudioForMac_*.mpack
|
||||
fi
|
||||
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
#!/bin/bash
|
||||
|
||||
#fix permissions
|
||||
chmod +x /Applications/Pipeline.app/Contents/MacOS/Pipeline
|
||||
chmod +x /Applications/Pipeline.app/Contents/MonoBundle/ffmpeg
|
||||
chmod +x /Applications/Pipeline.app/Contents/MonoBundle/ffprobe
|
||||
chmod +x /Applications/Pipeline.app/Contents/MonoBundle/mono
|
||||
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -v -f /Applications/Pipeline.app
|
||||
|
||||
#mgcb terminal command
|
||||
if [ ! -d /usr/local/bin ]
|
||||
then
|
||||
if [ ! -d /usr/local ]
|
||||
then
|
||||
mkdir /usr/local
|
||||
fi
|
||||
chgrp -R admin /usr/local
|
||||
chmod -R 755 /usr/local
|
||||
mkdir /usr/local/bin
|
||||
fi
|
||||
if [ -f /usr/local/bin/mgcb ]
|
||||
then
|
||||
rm /usr/local//bin/mgcb
|
||||
fi
|
||||
echo "#!/bin/bash
|
||||
mono /Applications/Pipeline.app/Contents/MonoBundle/MGCB.exe \"\$@\"" >> /usr/local/bin/mgcb
|
||||
chmod u+x /usr/local/bin/mgcb
|
||||
#write an uninstaller
|
||||
if [ -f /usr/local/bin/monogame-uninstall ]
|
||||
then
|
||||
rm /usr/local/bin/monogame-uninstall
|
||||
fi
|
||||
echo "#!/bin/bash
|
||||
|
||||
sudo rm -Rf '/Applicatons/Pipeline.app/'
|
||||
sudo pkgutil --forget com.monogame.pipeline
|
||||
if [ -d '/Applications/Xamarin Studio.app' ]
|
||||
then
|
||||
/Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool setup uninstall MonoDevelop.MonoGame -y
|
||||
fi
|
||||
if [ ! -d '/Library/Frameworks/Mono.framework/Versions/4.6.2' ]
|
||||
ln -s /Library/Frameworks/Mono.framework/Versions/Current /Library/Frameworks/Mono.framework/Versions/4.6.2
|
||||
fi
|
||||
sudo rm /usr/local/bin/mgcb
|
||||
sudo rm /usr/local/bin/monogame-uninstall
|
||||
" >> /usr/local/bin/monogame-uninstall
|
||||
chmod +x /usr/local/bin/monogame-uninstall
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<installer-gui-script minSpecVersion="1">
|
||||
<title>MonoGame 0.0.0.0</title>
|
||||
<background file="background.png" mime-type="image/png" />
|
||||
<license file="LICENSE.html" mime-type="text/html"/>
|
||||
<pkg-ref id="com.monogame.pipeline"/>
|
||||
<pkg-ref id="com.monogame.xsaddin"/>
|
||||
<pkg-ref id="com.monogame.framework"/>
|
||||
<options customize="never" require-scripts="false"/>
|
||||
<choices-outline>
|
||||
<line choice="default">
|
||||
<line choice="com.monogame.pipeline"/>
|
||||
<line choice="com.monogame.xsaddin"/>
|
||||
<line choice="com.monogame.framework"/>
|
||||
</line>
|
||||
</choices-outline>
|
||||
<choice id="default"/>
|
||||
<choice id="com.monogame.pipeline" visible="false">
|
||||
<pkg-ref id="com.monogame.pipeline"/>
|
||||
</choice>
|
||||
<pkg-ref id="com.monogame.pipeline" version="1" onConclusion="none">Pipeline.MacOS.pkg</pkg-ref>
|
||||
<choice id="com.monogame.xsaddin" visible="false">
|
||||
<pkg-ref id="com.monogame.xsaddin"/>
|
||||
</choice>
|
||||
<pkg-ref id="com.monogame.xsaddin" version="1" onConclusion="none">MonoGame.XamarinStudio.Addin.pkg</pkg-ref>
|
||||
<choice id="com.monogame.framework" visible="false">
|
||||
<pkg-ref id="com.monogame.framework"/>
|
||||
</choice>
|
||||
<pkg-ref id="com.monogame.framework" version="1" onConclusion="none">MonoGame.framework.pkg</pkg-ref>
|
||||
</installer-gui-script>
|
||||
Reference in New Issue
Block a user