summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOirio Joshi2021-02-14 22:13:04 +0100
committerOirio Joshi2021-02-14 22:13:04 +0100
commitd9bffb39c2aae38d1145fa08466be1146f7dfa74 (patch)
tree781b481948391f27de65b09cc5b0f0617b9b2278
parent8ae57d21bca767c8425d9fff1d2be40442d57c34 (diff)
downloadaur-d9bffb39c2aae38d1145fa08466be1146f7dfa74.tar.gz
version 4.10.1
-rw-r--r--.SRCINFO6
-rwxr-xr-xPKGBUILD4
-rw-r--r--electronmail-bin.install10
3 files changed, 9 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 82ac86919992..ca82d17098db 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = electronmail-bin
pkgdesc = Unofficial ProtonMail Desktop App
- pkgver = 4.10.0
+ pkgver = 4.10.1
pkgrel = 1
url = https://github.com/vladimiry/ElectronMail
install = electronmail-bin.install
@@ -26,9 +26,9 @@ pkgbase = electronmail-bin
optdepends = xfce4-statusnotifier-plugin: SatusNotifier tray icons support for XFCE, see https://github.com/vladimiry/ElectronMail/issues/254
provides = electronmail
conflicts = electronmail
- source = https://github.com/vladimiry/ElectronMail/releases/download/v4.10.0/electron-mail-4.10.0-linux-x64.pacman
+ source = https://github.com/vladimiry/ElectronMail/releases/download/v4.10.1/electron-mail-4.10.1-linux-x64.pacman
source = LICENSE
- md5sums = a9510ec62f95bcb1a722f38bdd4762f4
+ md5sums = ca0d1c4161b885600d071f9b0f093b58
md5sums = fc680045f40b19ce3c3e771aeb08bbd3
pkgname = electronmail-bin
diff --git a/PKGBUILD b/PKGBUILD
index 7a076a2c2fdc..db094b843d66 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Oirio Joshi <joshirio@protonmail.com>
# Author: Vladimir Yakovlev <desktop-app@protonmail.ch>
pkgname=electronmail-bin
-pkgver=4.10.0
+pkgver=4.10.1
pkgrel=1
pkgdesc="Unofficial ProtonMail Desktop App"
arch=('x86_64')
@@ -16,7 +16,7 @@ conflicts=('electronmail')
provides=('electronmail')
install="${pkgname}.install"
source=("https://github.com/vladimiry/ElectronMail/releases/download/v${pkgver}/electron-mail-${pkgver}-linux-x64.pacman" 'LICENSE')
-md5sums=('a9510ec62f95bcb1a722f38bdd4762f4'
+md5sums=('ca0d1c4161b885600d071f9b0f093b58'
'fc680045f40b19ce3c3e771aeb08bbd3')
package() {
diff --git a/electronmail-bin.install b/electronmail-bin.install
index 2f6e8b20189a..9a7484b55ee0 100644
--- a/electronmail-bin.install
+++ b/electronmail-bin.install
@@ -5,9 +5,8 @@ post_install() {
# Link to the binary
ln -sf '/opt/ElectronMail/electron-mail' '/usr/local/bin/electron-mail'
-# Fix chrome-sandbox permissions
-chown root:root /opt/ElectronMail/chrome-sandbox
-chmod 4755 /opt/ElectronMail/chrome-sandbox
+# SUID chrome-sandbox for Electron 5+
+chmod 4755 '/opt/ElectronMail/chrome-sandbox' || true
update-mime-database /usr/share/mime || true
update-desktop-database /usr/share/applications || true
@@ -17,9 +16,8 @@ post_upgrade() {
:
#!/bin/bash
-# Fix chrome-sandbox permissions
-chown root:root /opt/ElectronMail/chrome-sandbox
-chmod 4755 /opt/ElectronMail/chrome-sandbox
+# SUID chrome-sandbox for Electron 5+
+chmod 4755 '/opt/ElectronMail/chrome-sandbox' || true
}
post_remove() {