Skip to content

Commit

Permalink
Update packaging scripts for JUCE 5
Browse files Browse the repository at this point in the history
  • Loading branch information
pac-dev committed Aug 21, 2018
1 parent 9246401 commit bc8d2d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions DevScripts/package_mac.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/bin/bash
VERSION=`cat resources/version.txt`
FOLDERLIST="../ProtoplugFiles
../Bin/mac/Release/Lua Protoplug Fx.vst
../Bin/mac/Release/Lua Protoplug Fx.component
../Bin/mac/Release/Lua Protoplug Gen.vst
../Bin/mac/Release/Lua Protoplug Gen.component"
../Bin/mac/Lua Protoplug Fx.vst
../Bin/mac/Lua Protoplug Fx.component
../Bin/mac/Lua Protoplug Gen.vst
../Bin/mac/Lua Protoplug Gen.component"
TDMG_SRC="resources/protoplug_template.dmg"
TDMG_MOUNT="/Volumes/Lua Protoplug"
TDMG_TMP="/tmp/protoplug_temp.dmg"
TDMG_DST="../Bin/packaged/protoplug-$VERSION-osx.dmg"

PACKAGELIBDIR="$HOME/Documents/ProtoplugFiles/lib/"
PACKAGELIBS="libluajit-5.1.so libfftw3-3.so"
PACKAGELIBS="libluajit-5.1.so libfftw3.3.dylib"

echo "Packaging libs..."
mkdir -p ../ProtoplugFiles/lib
Expand Down
4 changes: 2 additions & 2 deletions DevScripts/package_win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
@copy /Y C:\Windows\SysWOW64\libfftw3-3.dll ..\ProtoplugFiles\lib\
@copy /Y C:\Windows\SysWOW64\lua51.dll ..\ProtoplugFiles\lib\
@echo Creating 32-bit package...
@7z a ..\Bin\packaged\protoplug-%VERSION%-win32.zip "..\Bin\win32\Lua Protoplug Fx.dll" "..\Bin\win32\Lua Protoplug Gen.dll" ..\ProtoplugFiles
@7z a ..\Bin\packaged\protoplug-%VERSION%-win32.zip "..\Bin\win32\VST\Lua Protoplug Fx.dll" "..\Bin\win32\VST\Lua Protoplug Gen.dll" ..\ProtoplugFiles

@echo Copying 64-bit libs for packaging...
@copy /Y C:\Windows\System32\libfftw3-3.dll ..\ProtoplugFiles\lib\
@copy /Y C:\Windows\System32\lua51.dll ..\ProtoplugFiles\lib\
@echo Creating 64-bit package...
@7z a ..\Bin\packaged\protoplug-%VERSION%-win64.zip "..\Bin\win64\Lua Protoplug Fx (x64).dll" "..\Bin\win64\Lua Protoplug Gen (x64).dll" ..\ProtoplugFiles
@7z a ..\Bin\packaged\protoplug-%VERSION%-win64.zip "..\Bin\win64\VST\Lua Protoplug Fx (x64).dll" "..\Bin\win64\VST\Lua Protoplug Gen (x64).dll" ..\ProtoplugFiles

@echo Cleaning up...
@del ..\ProtoplugFiles\lib\libfftw3-3.dll
Expand Down

0 comments on commit bc8d2d0

Please sign in to comment.