Posted September 09, 2018
Hello,
here is a flatpak manifest for beat cop. You have to build the flatpak with the option "--arch=x86_64". Its normally a yaml-file an you have to inherit the text correctly before you build the flatpak.
app-id: com.gog.beat_cop
branch: 1.1.744
runtime: org.freedesktop.Sdk
runtime-version: 1.6
sdk: org.freedesktop.Sdk
command: start
finish-args:
- --socket=x11
- --device=dri
- --socket=pulseaudio
modules:
- name: install
buildsystem: simple
build-commands:
- script --return -c "sh beat_cop_en_1_1_744_17129.sh -- --notermspawn --i-agree-to-all-licenses --noreadme --nooptions --noprompt --destination /app/game --ui=stdio" /dev/null
- mkdir -p /app/share/applications /app/share/icons/hicolor/256x256/apps
- cp /app/game/support/icon.png /app/share/icons/hicolor/256x256/apps/$FLATPAK_ID.png
- echo "[Desktop Entry]" > /app/share/applications/$FLATPAK_ID.desktop
- echo "Type=Application" >> /app/share/applications/$FLATPAK_ID.desktop
- echo -n "Name=" >> /app/share/applications/$FLATPAK_ID.desktop
- head -1 /app/game/gameinfo >> /app/share/applications/$FLATPAK_ID.desktop
- echo "Icon=$FLATPAK_ID" >> /app/share/applications/$FLATPAK_ID.desktop
- echo "Exec=start" >> /app/share/applications/$FLATPAK_ID.desktop
- echo "Categories=Game;" >> /app/share/applications/$FLATPAK_ID.desktop
sources:
- type: file
path: beat_cop_en_1_1_744_17129.sh
- name: game
buildsystem: simple
build-commands:
- install -D start /app/bin/start
sources:
- type: script
dest-filename: start
commands:
- #!/bin/sh
-
- /app/game/start.sh
here is a flatpak manifest for beat cop. You have to build the flatpak with the option "--arch=x86_64". Its normally a yaml-file an you have to inherit the text correctly before you build the flatpak.
app-id: com.gog.beat_cop
branch: 1.1.744
runtime: org.freedesktop.Sdk
runtime-version: 1.6
sdk: org.freedesktop.Sdk
command: start
finish-args:
- --socket=x11
- --device=dri
- --socket=pulseaudio
modules:
- name: install
buildsystem: simple
build-commands:
- script --return -c "sh beat_cop_en_1_1_744_17129.sh -- --notermspawn --i-agree-to-all-licenses --noreadme --nooptions --noprompt --destination /app/game --ui=stdio" /dev/null
- mkdir -p /app/share/applications /app/share/icons/hicolor/256x256/apps
- cp /app/game/support/icon.png /app/share/icons/hicolor/256x256/apps/$FLATPAK_ID.png
- echo "[Desktop Entry]" > /app/share/applications/$FLATPAK_ID.desktop
- echo "Type=Application" >> /app/share/applications/$FLATPAK_ID.desktop
- echo -n "Name=" >> /app/share/applications/$FLATPAK_ID.desktop
- head -1 /app/game/gameinfo >> /app/share/applications/$FLATPAK_ID.desktop
- echo "Icon=$FLATPAK_ID" >> /app/share/applications/$FLATPAK_ID.desktop
- echo "Exec=start" >> /app/share/applications/$FLATPAK_ID.desktop
- echo "Categories=Game;" >> /app/share/applications/$FLATPAK_ID.desktop
sources:
- type: file
path: beat_cop_en_1_1_744_17129.sh
- name: game
buildsystem: simple
build-commands:
- install -D start /app/bin/start
sources:
- type: script
dest-filename: start
commands:
- #!/bin/sh
-
- /app/game/start.sh