Skip to content

Commit af9cdd3

Browse files
committed
fix: verifying manifest.
1 parent cdc0231 commit af9cdd3

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -140,27 +140,14 @@ jobs:
140140
env:
141141
DEBIAN_FRONTEND: noninteractive
142142

143-
- name: Debug repository contents
143+
- name: Verify Flatpak manifest
144144
run: |
145-
echo "Listing all files in repository:"
146-
find . -type f
147-
echo "Current working directory:"
148-
pwd
149-
150-
- name: Verify Flatpak manifest and desktop file
151-
run: |
152-
MANIFEST_PATH="com.noxygalaxy.twlauncher.json"
153-
DESKTOP_PATH="com.noxygalaxy.twlauncher.desktop"
145+
MANIFEST_PATH="com.noxygalaxy.TWLauncher.json"
154146
if [ ! -f "$MANIFEST_PATH" ]; then
155147
echo "Error: Flatpak manifest $MANIFEST_PATH not found"
156148
exit 1
157149
fi
158-
if [ ! -f "$DESKTOP_PATH" ]; then
159-
echo "Error: Desktop file $DESKTOP_PATH not found"
160-
exit 1
161-
fi
162150
echo "Flatpak manifest found at $MANIFEST_PATH"
163-
echo "Desktop file found at $DESKTOP_PATH"
164151
165152
- name: Set author info
166153
run: |
@@ -181,8 +168,10 @@ jobs:
181168

182169
- name: Build Flatpak
183170
run: |
184-
flatpak-builder --force-clean --repo=repo build-dir com.noxygalaxy.TWLauncher.json
171+
flatpak-builder --user --force-clean --repo=repo build-dir com.noxygalaxy.TWLauncher.json
185172
flatpak build-bundle repo dist/TWLauncher.flatpak com.noxygalaxy.TWLauncher
173+
env:
174+
DEBIAN_FRONTEND: noninteractive
186175

187176
- name: List dist directory
188177
run: ls -la dist

0 commit comments

Comments
 (0)