add pkginfo into mac dmg

This commit is contained in:
supermerill 2020-02-03 19:14:34 +01:00
parent a07c5e9f95
commit d567e26f4a
2 changed files with 4 additions and 2 deletions

View File

@ -53,7 +53,9 @@ jobs:
cp -Rf ../resources Slic3r++/Slic3r++.app/Contents/resources
cp Slic3r++/Slic3r++.app/Contents/resources/icons/slic3r.icns Slic3r++/Slic3r++.app/Contents/resources/slic3r.icns
cp src/Info.date.plist Slic3r++/Slic3r++.app/Contents/Info.plist
echo -n -e '\xff\xfeAPPL\x3f\x00\x3f\x00\x3f\x00\x3f\x00\x0a\x00' > PkgInfo
echo -n -e 'APPL????\x0a' > PkgInfo
cp PkgInfo Slic3r++/Slic3r++.app/Contents/PkgInfo
# echo -n -e '\xff\xfeAPPL\x3f\x00\x3f\x00\x3f\x00\x3f\x00\x0a\x00' > PkgInfo
- name: copy bin
working-directory: ./build
run: |

View File

@ -59,5 +59,5 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
with:
name: nightly_linux
name: nightly_linux.tar
path: build/slic3r++.tar