mirror of https://github.com/KDE/kasts.git
Disable qml cache in flatpak
This commit is contained in:
parent
8207b6af08
commit
43087be21a
|
@ -146,10 +146,18 @@
|
||||||
{
|
{
|
||||||
"name": "kasts",
|
"name": "kasts",
|
||||||
"buildsystem": "cmake-ninja",
|
"buildsystem": "cmake-ninja",
|
||||||
|
"post-install": [
|
||||||
|
"mv /app/bin/{kasts,kasts-bin}",
|
||||||
|
"install .patches/run_kasts.sh /app/bin/kasts"
|
||||||
|
],
|
||||||
"sources": [
|
"sources": [
|
||||||
{
|
{
|
||||||
"type": "dir",
|
"type": "dir",
|
||||||
"path": "."
|
"path": "."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "file",
|
||||||
|
"path": ".patches/run_kasts.sh"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# SPDX-FileCopyrightText: 2023 Bart De Vries <bart@mogwai.be>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
|
export QML_DISABLE_DISK_CACHE=1
|
||||||
|
exec kasts-bin "$@"
|
Loading…
Reference in New Issue