diff --git a/dev/linux/build_snap b/dev/linux/build_snap deleted file mode 100755 index d7f50448..00000000 --- a/dev/linux/build_snap +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -fgrep -e '*VERSION_NUMBER' ../../src/util/Version.cpp -read -p "What is the version number? " version - -cd ../.. - -snapcraft -snapcraft push engauge-digitizer_${version}_amd64.snap - diff --git a/dev/snapcraft/build_snap b/dev/snapcraft/build_snap index 04d84e6f..510e5210 100755 --- a/dev/snapcraft/build_snap +++ b/dev/snapcraft/build_snap @@ -22,6 +22,7 @@ rm -rf build rm -rf documentation mkdir -p build/desktop-file +mkdir -p build/meta/gui cd build BUILD=`pwd` @@ -33,6 +34,7 @@ sed 's/DESTDIR = bin/DESTDIR = ./g' ../../../engauge.pro >engauge.pro cp ../snapcraft.yaml . cp ../../engauge-digitizer.desktop desktop-file +cp ../../../src/img/digitizer-32.png meta/gui/icon.png cp -r ../../../help . cp -r ../../../src .