Pull request: AGDNS-3555-fix-snap

Squashed commit of the following:

commit 7ef1e43efa666cfdb28a3eb1c7a262bf45b612a6
Merge: c2636cb66 95afd050e
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date:   Fri Jan 16 11:01:05 2026 +0700

    Merge remote-tracking branch 'origin/master' into AGDNS-3555-fix-snap

commit c2636cb662b1764e024dd2f7b6e024187baff843
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date:   Wed Jan 14 09:54:03 2026 +0700

    scripts: fix snap
This commit is contained in:
Dimitry Kolyshev committed 2026-01-16 04:33:48 +00:00
1 parent 95afd050e5
commit 128d8c90dd
1 file changed
+6
+6
View File
@@ -48,6 +48,12 @@ for arch in \
cp './snap/local/adguard-home-web.sh' "$snap_dir"
cp -r './snap/gui' "${snap_dir}/meta/"
# Set required permissions.
chmod o+rx "${snap_dir}/adguard-home-web.sh"
chmod o+rx "${snap_dir}/meta/gui"
chmod o+r "${snap_dir}/meta/gui/adguard-home-web.desktop"
chmod o+r "${snap_dir}/meta/gui/adguard-home-web.png"
# Create a snap.yaml file, setting the values.
sed \
-e 's/%VERSION%/'"$version"'/' \