tone and snap fixes
This commit is contained in:
parent
0700b77fb4
commit
7505c80410
4 changed files with 33 additions and 5 deletions
|
@ -9,7 +9,7 @@
|
||||||
PACKAGE="thorium-browser"
|
PACKAGE="thorium-browser"
|
||||||
|
|
||||||
# Base name of the snap package
|
# Base name of the snap package
|
||||||
SNAPNAME="thorium"
|
SNAPNAME="thorium-browser"
|
||||||
|
|
||||||
# Filename of the main executable (for generating launcher scripts, etc.)
|
# Filename of the main executable (for generating launcher scripts, etc.)
|
||||||
PROGNAME=thorium
|
PROGNAME=thorium
|
||||||
|
|
|
@ -5,18 +5,20 @@ name: @@SNAPNAME@@
|
||||||
adopt-info: chromium
|
adopt-info: chromium
|
||||||
summary: @@SHORTDESC@@
|
summary: @@SHORTDESC@@
|
||||||
description: @@FULLDESC@@
|
description: @@FULLDESC@@
|
||||||
confinement: strict
|
confinement: classic
|
||||||
grade: stable
|
grade: stable
|
||||||
base: core20
|
base: core20
|
||||||
assumes:
|
assumes:
|
||||||
- snapd2.43 # for 'snapctl is-connected', used in thorium.launcher
|
- snapd2.55 # for 'snapctl is-connected', used in thorium.launcher
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
@@SNAPNAME@@:
|
@@SNAPNAME@@:
|
||||||
command: bin/desktop-launch "$SNAP/bin/thorium.launcher"
|
extensions: [gnome-3-38]
|
||||||
|
command: bin/desktop-launch $SNAP/bin/thorium.launcher
|
||||||
desktop: bin/@@SNAPNAME@@.desktop
|
desktop: bin/@@SNAPNAME@@.desktop
|
||||||
environment:
|
environment:
|
||||||
DISABLE_WAYLAND: 1
|
DISABLE_WAYLAND: 1
|
||||||
|
GTK_USE_PORTAL: 1
|
||||||
CHROME_DESKTOP: @@SNAPNAME@@.desktop
|
CHROME_DESKTOP: @@SNAPNAME@@.desktop
|
||||||
CHROME_CONFIG_HOME: $SNAP_USER_COMMON
|
CHROME_CONFIG_HOME: $SNAP_USER_COMMON
|
||||||
plugs:
|
plugs:
|
||||||
|
@ -24,6 +26,7 @@ apps:
|
||||||
- audio-record
|
- audio-record
|
||||||
- bluez # for Web Bluetooth (https://launchpad.net/bugs/1887201)
|
- bluez # for Web Bluetooth (https://launchpad.net/bugs/1887201)
|
||||||
- camera
|
- camera
|
||||||
|
- cups
|
||||||
- cups-control
|
- cups-control
|
||||||
- desktop
|
- desktop
|
||||||
- gsettings
|
- gsettings
|
||||||
|
@ -46,6 +49,13 @@ apps:
|
||||||
- mpris
|
- mpris
|
||||||
|
|
||||||
plugs:
|
plugs:
|
||||||
|
# This is not used or needed for anything other than to trigger automatic
|
||||||
|
# installation of the cups snap via "default-provider: cups"
|
||||||
|
foo-install-cups:
|
||||||
|
interface: content
|
||||||
|
content: foo
|
||||||
|
default-provider: cups
|
||||||
|
target: $SNAP_DATA/foo
|
||||||
browser-sandbox:
|
browser-sandbox:
|
||||||
interface: browser-support
|
interface: browser-support
|
||||||
allow-sandbox: true
|
allow-sandbox: true
|
||||||
|
@ -96,6 +106,10 @@ parts:
|
||||||
# @@SNAPNAME@@ build artifacts (installed by stage_install_common)
|
# @@SNAPNAME@@ build artifacts (installed by stage_install_common)
|
||||||
cp -R $SNAPCRAFT_PART_SRC/chrome/* $SNAPCRAFT_PART_INSTALL/
|
cp -R $SNAPCRAFT_PART_SRC/chrome/* $SNAPCRAFT_PART_INSTALL/
|
||||||
|
|
||||||
|
# Fix setuid bits on the sandbox executable
|
||||||
|
# (ref: https://forum.snapcraft.io/t/call-for-testing-chromium-snap/1714/16)
|
||||||
|
chmod 4555 $SNAPCRAFT_PART_INSTALL/opt/chromium.org/thorium/chrome-sandbox
|
||||||
|
|
||||||
# Custom desktop file
|
# Custom desktop file
|
||||||
mkdir -p $SNAPCRAFT_PART_INSTALL/bin
|
mkdir -p $SNAPCRAFT_PART_INSTALL/bin
|
||||||
sed \
|
sed \
|
||||||
|
|
14
src/components/neterror/resources/Tone.min.js
vendored
Normal file
14
src/components/neterror/resources/Tone.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue