makedeb


tutanota-desktop-bin 220.240411.0-0


Official Tutanota email client

Click here to go back to the commit logs for tutanota-desktop-bin.

Commit:


Hash: dd5cc0659e3fa8f4c2e9549ebffe9a2e62d80188

Message: no need to disable auto-update, now available in settings

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 721e3de..cd7dd05 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
 pkgbase = tutanota-desktop-bin
 	pkgdesc = Official Tutanota email client
 	pkgver = 3.69.2
-	pkgrel = 1
+	pkgrel = 2
 	url = https://tutanota.com
 	arch = x86_64
 	license = GPL3
-	makedepends = asar
 	depends = nss
 	depends = libxss
 	depends = libxtst
diff --git a/PKGBUILD b/PKGBUILD
index 0e81dd1..79e2b9b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,12 @@
 # Co-Maintainer: Aaron J. Graves <linux@ajgraves.com>
 pkgname=tutanota-desktop-bin
 pkgver=3.69.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Official Tutanota email client"
 arch=('x86_64')
 url="https://tutanota.com"
 license=('GPL3')
 depends=('nss' 'libxss' 'libxtst' 'libappindicator-gtk3' 'libnotify')
-makedepends=('asar')
 source=("${pkgname%-bin}-$pkgver.AppImage::https://mail.tutanota.com/desktop/${pkgname%-bin}-linux.AppImage"
         "linux-sig-$pkgver.bin::https://mail.tutanota.com/desktop/linux-sig.bin"
         'https://raw.githubusercontent.com/tutao/tutanota/master/tutao-pub.pem'
@@ -31,15 +30,6 @@ prepare() {
 
 	# Correct path for .desktop file
 	sed -i 's|Exec=AppRun|Exec=/opt/tutanota-desktop/tutanota-desktop|g' "squashfs-root/${pkgname%-bin}.desktop"
-
-	# Disable auto-update
-	cd "$srcdir/squashfs-root/resources"
-	mkdir -p app-asar
-	asar extract app.asar app-asar
-	rm app.asar
-	sed -i 's|"enableAutoUpdate": true|"enableAutoUpdate": false|g' app-asar/package.json
-	asar pack app-asar app.asar
-	rm -rf app-asar
 }
 
 package() {