snap folder moved inside install/linux/resources

This commit is contained in:
alemuntoni 2020-06-04 17:27:40 +02:00
parent 90f46bc181
commit 87f734c751
5 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ jobs:
/usr/libexec/PlistBuddy -c "Set CFBundleVersion ${{steps.envs.outputs.date}}" src/meshlab/Info.plist
- name: Update Snap file
run: |
sed "s%MESHLAB_VERSION%$(cat ML_VERSION)%g" install/linux/snap/snap_noversion.yaml > snapcraft.yaml
sed "s%MESHLAB_VERSION%$(cat ML_VERSION)%g" install/linux/resources/snap/snap_noversion.yaml > snapcraft.yaml
- name: commit ML_VERSION, snapcraft.yaml and Info.plist change
uses: stefanzweifel/git-auto-commit-action@v4.1.1
with:

View File

@ -101,7 +101,7 @@ parts:
rm -r plugins/plugins.txt
rm -r README.md
cp ../install/linux/snap/meshlab.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
cp ../install/linux/resources/snap/meshlab.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
mv meshlab.png $SNAPCRAFT_PART_INSTALL/usr/share/icons/meshlab.png
mv meshlabserver $SNAPCRAFT_PART_INSTALL/usr/bin
mv meshlab $SNAPCRAFT_PART_INSTALL/usr/bin

View File

@ -101,7 +101,7 @@ parts:
rm -r plugins/plugins.txt
rm -r README.md
cp ../install/linux/snap/meshlab.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
cp ../install/linux/resources/snap/meshlab.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
mv meshlab.png $SNAPCRAFT_PART_INSTALL/usr/share/icons/meshlab.png
mv meshlabserver $SNAPCRAFT_PART_INSTALL/usr/bin
mv meshlab $SNAPCRAFT_PART_INSTALL/usr/bin