mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-15 23:21:46 +08:00
make macos name not only lowercase
try a linux appimage build
This commit is contained in:
parent
851264f150
commit
f8c41fe6e7
12
.github/workflows/ccpp_mac.yml
vendored
12
.github/workflows/ccpp_mac.yml
vendored
@ -58,11 +58,11 @@ jobs:
|
|||||||
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
|
||||||
# echo -n -e '\xff\xfeAPPL\x3f\x00\x3f\x00\x3f\x00\x3f\x00\x0a\x00' > PkgInfo
|
# echo -n -e '\xff\xfeAPPL\x3f\x00\x3f\x00\x3f\x00\x3f\x00\x0a\x00' > PkgInfo
|
||||||
- name: copy bin
|
- name: copy bin and do not let it lower case
|
||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
run: |
|
run: |
|
||||||
cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer
|
cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer
|
||||||
chmod u+x SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer
|
chmod u+x SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer
|
||||||
tar -cvf SuperSlicer.tar SuperSlicer
|
tar -cvf SuperSlicer.tar SuperSlicer
|
||||||
- name: create dmg
|
- name: create dmg
|
||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
@ -90,11 +90,11 @@ jobs:
|
|||||||
- name: make slic3r
|
- name: make slic3r
|
||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
run: make slic3r
|
run: make slic3r
|
||||||
- name: copy bin
|
- name: copy bin and do not let it lower case
|
||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
run: |
|
run: |
|
||||||
cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer
|
cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer
|
||||||
chmod u+x SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer
|
chmod u+x SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer
|
||||||
tar -cvf SuperSlicer.tar SuperSlicer
|
tar -cvf SuperSlicer.tar SuperSlicer
|
||||||
- name: create dmg
|
- name: create dmg
|
||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
|
4
.github/workflows/ccpp_mac_release.yml
vendored
4
.github/workflows/ccpp_mac_release.yml
vendored
@ -61,8 +61,8 @@ jobs:
|
|||||||
- name: copy bin
|
- name: copy bin
|
||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
run: |
|
run: |
|
||||||
cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer
|
cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer
|
||||||
chmod u+x SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer
|
chmod u+x SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer
|
||||||
tar -zcvf SuperSlicer.tar.gz SuperSlicer
|
tar -zcvf SuperSlicer.tar.gz SuperSlicer
|
||||||
- name: create dmg
|
- name: create dmg
|
||||||
working-directory: ./build
|
working-directory: ./build
|
||||||
|
8
.github/workflows/ccpp_ubuntu.yml
vendored
8
.github/workflows/ccpp_ubuntu.yml
vendored
@ -63,3 +63,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: nightly_linux.tar
|
name: nightly_linux.tar
|
||||||
path: build/SuperSlicer.tar
|
path: build/SuperSlicer.tar
|
||||||
|
- name: build appimage
|
||||||
|
working-directory: ./build/package
|
||||||
|
run: |
|
||||||
|
chmod +x ../../src/platform/unix/build_appimage.sh "/home/runner/work/SuperSlicer/SuperSlicer"
|
||||||
|
"../../src/platform/unix/build_appimage.sh SuperSlicer_${{ github.event.release.tag_name }}_ubu64_${{steps.date.outputs.date}}.AppImage"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user