Skip to content

Commit 75be881

Browse files
committed
add: required json + changed appID
1 parent c407dea commit 75be881

3 files changed

Lines changed: 46 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ jobs:
159159

160160
- name: Build Flatpak
161161
run: |
162-
flatpak-builder --force-clean --repo=repo build-dir com.twlauncher.TWLauncher.json
163-
flatpak build-bundle repo dist/TWLauncher.flatpak com.twlauncher.TWLauncher
162+
flatpak-builder --force-clean --repo=repo build-dir com.noxygalaxy.TWLauncher.json
163+
flatpak build-bundle repo dist/TWLauncher.flatpak com.noxygalaxy.TWLauncher
164164
165165
- name: List dist directory
166166
run: ls -la dist

.github/workflows/manual-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ jobs:
154154

155155
- name: Build Flatpak
156156
run: |
157-
flatpak-builder --user --force-clean --repo=repo build-dir com.twlauncher.TWLauncher.json
158-
flatpak build-bundle repo dist/TWLauncher.flatpak com.twlauncher.TWLauncher
157+
flatpak-builder --force-clean --repo=repo build-dir com.noxygalaxy.TWLauncher.json
158+
flatpak build-bundle repo dist/TWLauncher.flatpak com.noxygalaxy.TWLauncher
159159
env:
160160
DEBIAN_FRONTEND: noninteractive
161161

com.noxygalaxy.TWLauncher.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"id": "com.noxygalaxy.twlauncher",
3+
"runtime": "org.freedesktop.Platform",
4+
"runtime-version": "23.08",
5+
"sdk": "org.freedesktop.Sdk",
6+
"command": "twlauncher",
7+
"finish-args": [
8+
"--share=ipc",
9+
"--socket=x11",
10+
"--socket=wayland",
11+
"--socket=pulseaudio",
12+
"--share=network",
13+
"--device=dri",
14+
"--filesystem=home",
15+
"--talk-name=org.freedesktop.Notifications"
16+
],
17+
"modules": [
18+
{
19+
"name": "twlauncher",
20+
"buildsystem": "simple",
21+
"build-commands": [
22+
"npm ci --prefer-offline",
23+
"npm run build:linux-appimage",
24+
"mkdir -p /app/bin",
25+
"cp -r dist/linux-unpacked/* /app/bin/",
26+
"ln -s /app/bin/twlauncher /app/bin/twlauncher",
27+
"install -Dm644 src/assets/logos/twl.png /app/share/icons/hicolor/256x256/apps/com.noxygalaxy.twlauncher.png",
28+
"install -Dm644 com.noxygalaxy.twlauncher.desktop /app/share/applications/com.noxygalaxy.twlauncher.desktop"
29+
],
30+
"sources": [
31+
{
32+
"type": "dir",
33+
"path": "."
34+
},
35+
{
36+
"type": "file",
37+
"path": "com.noxygalaxy.twlauncher.desktop"
38+
}
39+
]
40+
}
41+
]
42+
}

0 commit comments

Comments
 (0)