#424 use Resources instead of resources

maybe also fix #257
This commit is contained in:
Merill 2020-08-26 11:35:23 +02:00 committed by GitHub
parent 63b5018002
commit b564b17efa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,11 +58,11 @@ jobs:
mkdir SuperSlicer/SuperSlicer.app/Contents/_CodeSignature
mkdir SuperSlicer/SuperSlicer.app/Contents/Frameworks
mkdir SuperSlicer/SuperSlicer.app/Contents/MacOS
- name: copy resources
- name: copy Resources
working-directory: ./build
run: |
cp -Rf ../resources SuperSlicer/SuperSlicer.app/Contents/resources
cp SuperSlicer/SuperSlicer.app/Contents/resources/icons/slic3r.icns SuperSlicer/SuperSlicer.app/Contents/resources/Slic3r.icns
cp -Rf ../resources SuperSlicer/SuperSlicer.app/Contents/Resources
cp SuperSlicer/SuperSlicer.app/Contents/Resources/icons/slic3r.icns SuperSlicer/SuperSlicer.app/Contents/resources/Slic3r.icns
cp src/Info.date.plist SuperSlicer/SuperSlicer.app/Contents/Info.plist
echo -n -e 'APPL????\x0a' > PkgInfo
cp PkgInfo SuperSlicer/SuperSlicer.app/Contents/PkgInfo
@ -78,9 +78,9 @@ jobs:
run: |
hdiutil create -ov -fs HFS+ -volname "SuperSlicer" -srcfolder "SuperSlicer" temp.dmg
hdiutil convert temp.dmg -format UDZO -o SuperSlicer.dmg
# - name: signing resources (creating CodeResources inside _CodeSignature)
# - name: signing Resources (creating CodeResources inside _CodeSignature)
# working-directory: .
# run: codesign -s <identity> resources
# run: codesign -s <identity> Resources
# maybe i should just try to do that on a separate pc and copy the file here, more secure as a signing process.
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0