aboutsummaryrefslogtreecommitdiffstats
path: root/build-helpers
diff options
context:
space:
mode:
authorLibravatar Marco Trevisan <mail@3v1n0.net>2023-11-27 01:19:07 +0100
committerLibravatar GitHub <noreply@github.com>2023-11-26 17:19:07 -0700
commitbeea57dfe58b7f7c8269e8c4ca6cdc50d8376b76 (patch)
tree3db387467728bff38fbe488ca281f4c6c33ec39e /build-helpers
parent6.6.1-nightly.10 [skip ci] (diff)
downloadferdium-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-xbuild-helpers/snap-hooks/configure7
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
2set -eu
3
4wayland_native="$(snapctl get wayland-native)"
5if [[ -z "$wayland_native" ]]; then
6 snapctl set wayland-native=true
7fi