fix normal build

This commit is contained in:
2025-07-24 15:12:48 +02:00
parent 19d953891b
commit 6dbcc717f7
2 changed files with 14 additions and 6 deletions

View File

@@ -28,13 +28,13 @@ modules:
build-args:
- --share=network
build-commands:
- xmake f --policies=package.install_locally -m release -y
- xmake f --policies=package.install_locally --external_build=y -m release -y
- xmake
- xmake install -o output
- install -D output/bin/* ${FLATPAK_DEST}/bin
- cp -r output/data ${FLATPAK_DEST}/share
- install -D flatpak/FlatpakLaunch.sh ${FLATPAK_DEST}/bin
- install -D flatpak/org.zulianc.jminos.desktop ${FLATPAK_DEST}/share/applications
- install -D output/bin/* /app/bin
- cp -r output/data /app/share
- install -D flatpak/FlatpakLaunch.sh /app/bin
- install -D -t /app/share/applications flatpak/org.zulianc.jminos.desktop
sources:
- type: dir
path: ..