Skip to content

Commit eae8383

Browse files
committed
Add appimage generation parts
1 parent fca6095 commit eae8383

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
release/
2+
AppDir/

generate/generate-appimage.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
3+
# needs to be run in the root folder
4+
5+
# generate the needed files with cmake/make
6+
# install linuxdeploy (in this root dir for execution)
7+
# https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
8+
9+
VERSION="v0.1.0"
10+
export VERSION
11+
12+
./linuxdeploy-x86_64.AppImage \
13+
-e build/bin/qc \
14+
--appdir AppDir/ \
15+
--desktop-file generate/qc.desktop \
16+
--icon-file generate/qc.svg \
17+
--output appimage

generate/qc.desktop

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[Desktop Entry]
2+
Name=quick clone
3+
TryExec=qc
4+
Exec=qc
5+
Type=Application
6+
Terminal=true
7+
Categories=Utility;
8+
Icon=qc

generate/qc.svg

Loading

0 commit comments

Comments
 (0)