summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkitsunyan2017-12-16 10:07:48 +0300
committerkitsunyan2017-12-16 10:07:48 +0300
commitef46713eb403981edeaea485b5a7021e73c2f3c4 (patch)
tree9b9f11a46d05a18b780aebeb38934a8922042578
parent7b8cb63f1ef32c0ef8de2ffd0aa4e6bdf8a3d801 (diff)
downloadaur-ef46713eb403981edeaea485b5a7021e73c2f3c4.tar.gz
Remove unncessary code which disables updater
-rw-r--r--PKGBUILD4
1 files changed, 1 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 64f90b161f4..ac291f70dcf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,10 +15,8 @@ sha256sums=('cf95074d91dcc39a718b1adf755ed0d8865744416f3adadda2e3c0b1675f4b3b')
prepare() {
cd "$srcdir/drawio-$pkgver"
- # disable logger and updater
+ # disable logger
sed -e "/require('electron-log')/d" \
- -e '/^autoUpdater.* = .*$/d' \
- -e "s/require('electron-updater').autoUpdater/{on: () => {}, checkForUpdates: () => {}}/" \
-i 'war/electron.js'
}