This commit is contained in:
Andrei Yankovich 2019-04-07 14:01:51 +03:00
parent 9101271d30
commit abce53b4c9
7 changed files with 18 additions and 23 deletions

View File

@ -6,7 +6,7 @@ LUPDATE = $$QT_DIR/lupdate
LRELEASE = $$QT_DIR/lrelease
win32:DEPLOYER = $$PWD/../CQtDeployerBinaries/Windows/cqtdeployer.exe
unix:DEPLOYER = cqtdeployer
unix:DEPLOYER = $$PWD/../CQtDeployerBinaries/Linux/cqtdeployer.sh
OUT_FILE = installer

View File

@ -1,15 +0,0 @@
#!/bin/sh
OLD_DIR=$PWD
BASE_DIR=$(dirname $0)
TARGET_DIR="$BASE_DIR/../../"
echo "selected target dir $TARGET_DIR"
echo "cd to snapcraft dir $BASE_DIR"
cd $BASE_DIR
snapcraft
echo "return to old dir $OLD_DIR"
cd $OLD_DIR
rm -f $TARGET_DIR/*.snap
mv $BASE_DIR/*.snap $TARGET_DIR

10
runSnap.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
BASE_DIR=$(dirname $0)
TARGET_DIR="$BASE_DIR/installer/packages/HanoiTowers/data"
echo "selected target dir $TARGET_DIR"
echo "cd to snapcraft dir $BASE_DIR"
cd $BASE_DIR
snapcraft

View File

@ -1,5 +1,5 @@
[Desktop Entry]
Version=1.5
Version=1.5.2
Name=Hanoi Towers
Comment=Hanoi Towers Game.
Exec=hanoi-tower
@ -10,6 +10,6 @@ Categories=Games;Application;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=hanoi-tower
X-GNOME-Bugzilla-Component=General
X-GNOME-Bugzilla-Version=1.5
X-GNOME-Bugzilla-Version=1.5.2
StartupNotify=true
Name[ru_RU]=Hanoi-Tower.desktop
Name[ru_RU]=Hanoi-Tower

View File

@ -1,5 +1,5 @@
name: hanoi-tower
version: '1.5.1snap1'
version: '1.5.2'
summary: The Hanoi Tower is one of the most popular puzzles of the 19th century
description: |
The Hanoi Tower is one of the most popular puzzles of the 19th century. |
@ -10,11 +10,11 @@ description: |
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
base: core18
icon: data/icons/icon.png
icon: installer/packages/installer/data/icons/icon.png
apps:
hanoi-tower:
command: desktop-launch $SNAP/AppRun.sh
command: desktop-launch $SNAP/HanoiTowers.sh
plugs: [desktop, unity7, home, opengl, x11, wayland, gsettings]
@ -31,7 +31,7 @@ parts:
qtlib:
plugin: dump
source: data/
source: installer/packages/HanoiTowers/data
libsgl:
plugin: nil