Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update version to lastest stable #1

Merged
merged 1 commit into from Feb 12, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Update Brave to current stable version. Use SNAPCRAFT_PROJECT_VERSION…

… variables. Add XWayland fallback.
  • Loading branch information
flexiondotorg committed Feb 12, 2019
commit 04537bfacbd70ca4f428fcd4ed43c1faf63f2861
@@ -1,5 +1,5 @@
name: brave
version: v0.58.21-3
version: 0.59.35
summary: Browse faster and safer with Brave.
description: |
The new Brave browser automatically blocks ads and trackers, making it
@@ -11,16 +11,16 @@ confinement: strict

architectures:
- build-on: amd64

parts:
brave:
plugin: dump
source: https://github.com/brave/brave-browser/releases/download/v0.58.21/brave-browser_0.58.21_amd64.deb
source: https://github.com/brave/brave-browser/releases/download/v$SNAPCRAFT_PROJECT_VERSION/brave-browser_$SNAPCRAFT_PROJECT_VERSION_amd64.deb
source-type: deb
# Correct path to icon.
override-pull: |
snapcraftctl pull
rm -rf etc/cron.daily/
rm -rf etc/cron.daily/
rm -rf usr/bin/brave-browser
chmod 0755 ./opt/brave.com/brave/brave-sandbox
sed -i 's|Icon=brave-browser|Icon=/opt/brave.com/brave/product_logo_128\.png|g' usr/share/applications/brave-browser.desktop
@@ -49,9 +49,12 @@ apps:
# Correct the TMPDIR path for Chromium Framework/Electron to
# ensure libappindicator has readable resources.
environment:
# Correct the TMPDIR path for Chromium Framework/Electron to
# ensure libappindicator has readable resources
TMPDIR: $XDG_RUNTIME_DIR
# Fallback to XWayland if running in a Wayland session.
DISABLE_WAYLAND: 1
plugs:
- alsa
- avahi-observe
- browser-sandbox
- camera
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.