mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-16 14:05:57 +08:00
parent
63b5018002
commit
b564b17efa
10
.github/workflows/ccpp_mac.yml
vendored
10
.github/workflows/ccpp_mac.yml
vendored
@ -58,11 +58,11 @@ jobs:
|
|||||||
mkdir SuperSlicer/SuperSlicer.app/Contents/_CodeSignature
|
mkdir SuperSlicer/SuperSlicer.app/Contents/_CodeSignature
|
||||||
mkdir SuperSlicer/SuperSlicer.app/Contents/Frameworks
|
mkdir SuperSlicer/SuperSlicer.app/Contents/Frameworks
|
||||||
mkdir SuperSlicer/SuperSlicer.app/Contents/MacOS
|
mkdir SuperSlicer/SuperSlicer.app/Contents/MacOS
|
||||||
- name: copy resources
|
- name: copy Resources
|
||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
run: |
|
run: |
|
||||||
cp -Rf ../resources SuperSlicer/SuperSlicer.app/Contents/resources
|
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 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
|
cp src/Info.date.plist SuperSlicer/SuperSlicer.app/Contents/Info.plist
|
||||||
echo -n -e 'APPL????\x0a' > PkgInfo
|
echo -n -e 'APPL????\x0a' > PkgInfo
|
||||||
cp PkgInfo SuperSlicer/SuperSlicer.app/Contents/PkgInfo
|
cp PkgInfo SuperSlicer/SuperSlicer.app/Contents/PkgInfo
|
||||||
@ -78,9 +78,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
hdiutil create -ov -fs HFS+ -volname "SuperSlicer" -srcfolder "SuperSlicer" temp.dmg
|
hdiutil create -ov -fs HFS+ -volname "SuperSlicer" -srcfolder "SuperSlicer" temp.dmg
|
||||||
hdiutil convert temp.dmg -format UDZO -o SuperSlicer.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: .
|
# 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.
|
# 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
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v1.0.0
|
uses: actions/upload-artifact@v1.0.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user