From 7751e781676e981c2adf204ee8207a426a62868a Mon Sep 17 00:00:00 2001 From: Dovi Cowan Date: Thu, 17 Feb 2022 15:19:30 +0000 Subject: [PATCH] add flatpak script required so that flatpak run is a valid command inside the container --- com.github.artemanufrij.webpin.yml | 9 ++++++++- sources/flatpak.sh | 8 ++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 sources/flatpak.sh diff --git a/com.github.artemanufrij.webpin.yml b/com.github.artemanufrij.webpin.yml index b76bfbc..4b74bce 100644 --- a/com.github.artemanufrij.webpin.yml +++ b/com.github.artemanufrij.webpin.yml @@ -30,9 +30,16 @@ finish-args: # If we had external dependencies that weren't included in our SDK, we would list # them here. modules: + - name: flatpak-script + buildsystem: simple + build-commands: + - install -D flatpak.sh /app/bin/flatpak + sources: + - type: file + path: sources/flatpak.sh + - name: webpin buildsystem: meson sources: - type: dir path: . - \ No newline at end of file diff --git a/sources/flatpak.sh b/sources/flatpak.sh new file mode 100644 index 0000000..0b1668b --- /dev/null +++ b/sources/flatpak.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# The build system puts this file as /app/bin/flatpak +# in the container + +# This is required so that the container sees "flatpak" as a valid command +# so that it will read the .desktop files +echo "flatpak" \ No newline at end of file