diff --git a/.flatpak-manifest.json b/.flatpak-manifest.json index cfe4efb0..03b56017 100644 --- a/.flatpak-manifest.json +++ b/.flatpak-manifest.json @@ -146,10 +146,18 @@ { "name": "kasts", "buildsystem": "cmake-ninja", + "post-install": [ + "mv /app/bin/{kasts,kasts-bin}", + "install .patches/run_kasts.sh /app/bin/kasts" + ], "sources": [ { "type": "dir", "path": "." + }, + { + "type": "file", + "path": ".patches/run_kasts.sh" } ] } diff --git a/.patches/run_kasts.sh b/.patches/run_kasts.sh new file mode 100644 index 00000000..21e6fb7f --- /dev/null +++ b/.patches/run_kasts.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# SPDX-FileCopyrightText: 2023 Bart De Vries +# SPDX-License-Identifier: BSD-2-Clause + +export QML_DISABLE_DISK_CACHE=1 +exec kasts-bin "$@"