Skip to content

Commit d552110

Browse files
author
SebastianRzk
committed
refactor icon, add appimage build
1 parent ab9affa commit d552110

File tree

10 files changed

+184
-2
lines changed

10 files changed

+184
-2
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build AppImage
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build-appimage:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions-rust-lang/setup-rust-toolchain@v1
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
- name: Install development files
15+
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev gettext
16+
- name: Build project
17+
run: bash build.sh
18+
19+
- name: Build AppImage
20+
run: bash build-appimage.sh
21+
22+
- name: Upload Looksyk-x86_64.AppImage
23+
run: gh release upload "$GITHUB_REF_NAME" BudgetButlerWeb-x86_64.AppImage --clobber
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test Build AppImage
2+
3+
on:
4+
pull_request:
5+
branches: [ stable ]
6+
types: [ opened, synchronize, reopened ]
7+
base: [ stable ]
8+
paths-ignore:
9+
- '**.md'
10+
11+
jobs:
12+
build-appimage:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions-rust-lang/setup-rust-toolchain@v1
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Install development files
20+
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev gettext
21+
22+
- name: Build project
23+
run: bash build.sh
24+
25+
- name: Build AppImage
26+
run: bash build-appimage.sh

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
BudgetButlerWeb-x86_64.AppImage
2+
AppDir
3+
linuxdeploy
14
/.buildconfig
25
/.project
36
/.pydevproject

PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ package() {
4646

4747
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgnameshort}/LICENSE"
4848
install -D -m644 "application-wrapper/BudgetButlerWeb/out/budgetbutlerweb-linux-x64/resources/app.asar" "${pkgdir}/usr/share/${_pkgnameshort}/app.asar"
49-
install -D -m644 "application-wrapper/BudgetButlerWeb/src/BBFav.png" "${pkgdir}/usr/share/${_pkgnameshort}/icon.png"
49+
install -D -m644 "icon/BudgetButlerWeb_256.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/de.sebastianruziczka.${_pkgnameshort}.png"
5050

5151
install -D -m644 "application-wrapper/BudgetButlerWeb.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
5252

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
export PATH="$APPDIR/usr/bin:$PATH"
3+
$APPDIR/usr/share/budgetbutlerweb/budgetbutlerweb --installed --custom-static-path=$APPDIR/usr/share/budgetbutlerweb/static "$@"

application-wrapper/BudgetButlerWeb.desktop

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Type=Application
33
Name=BudgetButlerWeb
44
StartupWMClass=budgetbutlerweb
55
GenericName=Ein einfaches Haushaltsbuch für eine schlanke und individuelle Finanzverwaltung.
6-
Icon=/usr/share/budgetbutlerweb/icon.png
6+
Categories=Office;Finance;
7+
Icon=de.sebastianruziczka.budgetbutlerweb
78
Terminal=false
89
Exec=budgetbutlerweb

build-appimage.sh

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#!/bin/bash
2+
set -ue
3+
4+
APPDIR="AppDir"
5+
rm -rf "$APPDIR"
6+
mkdir -p "$APPDIR/usr/bin"
7+
mkdir -p "$APPDIR/usr/share/budgetbutlerweb/static"
8+
mkdir -p "$APPDIR/usr/share/icons/hicolor/256x256/apps"
9+
mkdir -p "$APPDIR/usr/share/licenses/budgetbutlerweb"
10+
mkdir -p "$APPDIR/usr/share/metainfo"
11+
12+
cp target/budgetbutlerweb "$APPDIR/usr/bin/budgetbutlerweb-backend"
13+
cp application-wrapper/BudgetButlerWeb-AppRun "$APPDIR/AppRun"
14+
15+
if [ -f "$APPDIR/AppRun" ]; then
16+
chmod +x "$APPDIR/AppRun"
17+
fi
18+
19+
cp -r target/static/* "$APPDIR/usr/share/budgetbutlerweb/static/"
20+
21+
cp -r target/application-wrapper/* "$APPDIR/usr/share/budgetbutlerweb/"
22+
23+
cp de.sebastianruziczka.budgetbutlerweb.metainfo.xml "$APPDIR/usr/share/metainfo/de.sebastianruziczka.budgetbutlerweb.appdata.xml"
24+
25+
cp icon/BudgetButlerWeb_256.png "$APPDIR/usr/share/icons/hicolor/256x256/apps/de.sebastianruziczka.budgetbutlerweb.png"
26+
27+
cp application-wrapper/BudgetButlerWeb.desktop "$APPDIR/de.sebastianruziczka.budgetbutlerweb.desktop"
28+
29+
cp LICENSE "$APPDIR/usr/share/licenses/budgetbutlerweb/LICENSE"
30+
31+
if [ ! -f linuxdeploy ]; then
32+
wget -O linuxdeploy https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
33+
chmod +x linuxdeploy
34+
fi
35+
36+
./linuxdeploy --appdir "$APPDIR" -d "$APPDIR/de.sebastianruziczka.budgetbutlerweb.desktop" -i "$APPDIR/usr/share/icons/hicolor/256x256/apps/de.sebastianruziczka.budgetbutlerweb.png" --output appimage
37+
38+
echo "AppImage gebaut: $(ls *.AppImage)"
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<component type="desktop-application">
3+
<id>de.sebastianruziczka.budgetbutlerweb</id>
4+
<content_rating type="oars-1.1"/>
5+
<url type="homepage">https://sebastianrzk.github.io/BudgetButlerWeb/</url>
6+
<name>BudgetButlerWeb</name>
7+
<summary>Ein einfaches Haushaltsbuch für eine schlanke und individuelle Finanzverwaltung</summary>
8+
<metadata_license>MIT</metadata_license>
9+
<project_license>AGPL-3.0-or-later</project_license>
10+
<categories>
11+
<category>Office</category>
12+
<category>Finance</category>
13+
</categories>
14+
<supports>
15+
<control>pointing</control>
16+
<control>keyboard</control>
17+
<control>touch</control>
18+
</supports>
19+
<description>
20+
<p>Ein einfaches Haushaltsbuch für eine schlanke und individuelle Finanzverwaltung.
21+
</p>
22+
<p>
23+
Kernfunktionen:
24+
</p>
25+
<ul>
26+
<li>
27+
Einfache lokale Datenhaltung: Die Daten sind im CSV-Format gespeichert und sind damit mit einem Textverarbeitungsprogramm oder einem Tabellenverarbeitungsprogramm zugänglich.
28+
</li>
29+
<li>
30+
Unkomplizierte Einnahmen/Ausgaben-Rechnung: keine doppelte Buchführung.
31+
</li>
32+
<li>
33+
Schlanke Begleiter-Web-App für unterwegs:
34+
online-Version, mobil-optimiert
35+
Automatisierter Import der Daten in die lokale Anwendung. Single-Sign-On über OpenID-Provider.
36+
</li>
37+
<li>
38+
Schlankes und minimalistisches Design
39+
40+
</li>
41+
<li>
42+
43+
Hohe Geschwindigkeit:
44+
... auch bei großen Datenmengen. Tracking über viele Jahre mit 30000 Buchungen oder mehr stellen keine Herausforderung dar
45+
</li>
46+
<li>
47+
Individualisierbar:
48+
Definiere eigene Kategorien, und ordne ihnen eine Farbe zu, die über die gesamte Anwendung hinweg verwendet werden. Die Design-Farbe ist ebenefalls mit einem Klick änderbar
49+
</li>
50+
<li>
51+
Quelloffen:
52+
AGPLv3
53+
</li>
54+
</ul>
55+
</description>
56+
<releases>
57+
<release version="4.3.7" date="2025-12-16">
58+
<url type="details">https://sebastianrzk.github.io/BudgetButlerWeb/changelog/</url>
59+
<description>
60+
<p>Release description</p>
61+
<ul>
62+
<li>Anzeigen von Fehlermeldungen im UI, wenn das Backend nicht gestartet werden kann</li>
63+
<li>Aktualisierung von Abhängigkeiten (application-wrapper und backend)</li>
64+
</ul>
65+
</description>
66+
</release>
67+
</releases>
68+
<launchable type="desktop-id">de.sebastianruziczka.budgetbutlerweb.desktop</launchable>
69+
<screenshots>
70+
<screenshot type="default">
71+
<image>
72+
https://sebastianrzk.github.io/BudgetButlerWeb/img/header_image.png
73+
</image>
74+
<caption>Übersicht über das BudgetButlerWeb Ökosystem</caption>
75+
</screenshot>
76+
<screenshot>
77+
<image>
78+
https://sebastianrzk.github.io/BudgetButlerWeb/img/screenshots_desktop/uebersicht_jahr.png
79+
</image>
80+
<caption>Jahreübersicht der Einnahmen und Ausgaben</caption>
81+
</screenshot>
82+
</screenshots>
83+
<developer id="de.sebastianruziczka">
84+
<name>Sebastian Ruziczka</name>
85+
</developer>
86+
</component>

icon/BudgetButlerWeb_1000.png

48.1 KB
Loading

icon/BudgetButlerWeb_256.png

13 KB
Loading

0 commit comments

Comments
 (0)