mirror of
https://github.com/TangentFoxy/LovePackaging.git
synced 2024-11-26 10:44:21 +00:00
fix #23 tmp deleted after use
This commit is contained in:
parent
8932240591
commit
be3085089d
3
build
3
build
@ -150,9 +150,10 @@ cp "$osxIconsDirectory/$osxFileIcon" "$osx10Dir/$packageName.app/Contents/Resour
|
|||||||
cp "$osxIconsDirectory/$osxBundleIcon" "$osx10Dir/$packageName.app/Contents/Resources/$osxBundleIcon"
|
cp "$osxIconsDirectory/$osxBundleIcon" "$osx10Dir/$packageName.app/Contents/Resources/$osxBundleIcon"
|
||||||
# Create an Info.plist and copy it in
|
# Create an Info.plist and copy it in
|
||||||
cd "$originalDir"
|
cd "$originalDir"
|
||||||
source "$originalDir/scripts/Info.plist-maker.sh"
|
source "$originalDir/lp-scripts/Info.plist-maker.sh"
|
||||||
cd "$osx10Dir"
|
cd "$osx10Dir"
|
||||||
cp "$originalDir/tmp/Info.plist" "$osx10Dir/$packageName.app/Contents/Info.plist"
|
cp "$originalDir/tmp/Info.plist" "$osx10Dir/$packageName.app/Contents/Info.plist"
|
||||||
|
rm -rf "$originalDir/tmp"
|
||||||
# ZIP up the .app directory
|
# ZIP up the .app directory
|
||||||
zip -r -X -q "$outputDir/$packageName-${version}_osx.zip" "./$packageName.app"
|
zip -r -X -q "$outputDir/$packageName-${version}_osx.zip" "./$packageName.app"
|
||||||
cd "$includes"
|
cd "$includes"
|
||||||
|
Loading…
Reference in New Issue
Block a user