diff options
author | 2023-11-27 01:19:07 +0100 | |
---|---|---|
committer | 2023-11-26 17:19:07 -0700 | |
commit | beea57dfe58b7f7c8269e8c4ca6cdc50d8376b76 (patch) | |
tree | 3db387467728bff38fbe488ca281f4c6c33ec39e /build-helpers | |
parent | 6.6.1-nightly.10 [skip ci] (diff) | |
download | ferdium-app-beea57dfe58b7f7c8269e8c4ca6cdc50d8376b76.tar.gz ferdium-app-beea57dfe58b7f7c8269e8c4ca6cdc50d8376b76.tar.zst ferdium-app-beea57dfe58b7f7c8269e8c4ca6cdc50d8376b76.zip |
electron-builder: Run snap as native wayland client unless specified (#1456)
Diffstat (limited to 'build-helpers')
-rwxr-xr-x | build-helpers/snap-hooks/configure | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build-helpers/snap-hooks/configure b/build-helpers/snap-hooks/configure new file mode 100755 index 000000000..74f77985b --- /dev/null +++ b/build-helpers/snap-hooks/configure | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/usr/bin/env bash | ||
2 | set -eu | ||
3 | |||
4 | wayland_native="$(snapctl get wayland-native)" | ||
5 | if [[ -z "$wayland_native" ]]; then | ||
6 | snapctl set wayland-native=true | ||
7 | fi | ||