diff options
author | Daniel Peukert | 2020-02-16 15:22:30 +0100 |
---|---|---|
committer | Daniel Peukert | 2020-02-16 15:22:30 +0100 |
commit | 28baf3e01c1e35e269508d2f87c47a378ebf6a60 (patch) | |
tree | a48e180cd779569972d4152ab59ff3444625649c | |
parent | 180d65009861994f4bb5b1ac8bf0c3df71b395c4 (diff) | |
download | aur-28baf3e01c1e35e269508d2f87c47a378ebf6a60.tar.gz |
Updated devMode sed commands
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = ferdi pkgdesc = A messaging browser that allows you to combine your favorite messaging services into one application pkgver = 5.4.3 - pkgrel = 2 + pkgrel = 3 url = https://getferdi.com arch = x86_64 arch = i686 @@ -10,9 +10,9 @@ pkgbase = ferdi license = Apache makedepends = npm depends = electron - source = ferdi-5.4.3-2.tar.gz::https://github.com/getferdi/ferdi/archive/v5.4.3.tar.gz - source = ferdi-5.4.3-2-recipes.tar.gz::https://github.com/getferdi/recipes/archive/3dcb305ffb706a7604cdfbadf7f2d2e236cb223d.zip - source = ferdi-5.4.3-2-internal-server.tar.gz::https://github.com/getferdi/internal-server/archive/c39e8b45a51387f24d30e62a170681fc3422ad08.zip + source = ferdi-5.4.3-3.tar.gz::https://github.com/getferdi/ferdi/archive/v5.4.3.tar.gz + source = ferdi-5.4.3-3-recipes.tar.gz::https://github.com/getferdi/recipes/archive/3dcb305ffb706a7604cdfbadf7f2d2e236cb223d.zip + source = ferdi-5.4.3-3-internal-server.tar.gz::https://github.com/getferdi/internal-server/archive/c39e8b45a51387f24d30e62a170681fc3422ad08.zip source = ferdi.desktop source = ferdi.sh source = fix-autostart-path.diff @@ -7,7 +7,7 @@ pkgname='ferdi' pkgver='5.4.3' _recipescommit='3dcb305ffb706a7604cdfbadf7f2d2e236cb223d' _internalservercommit='c39e8b45a51387f24d30e62a170681fc3422ad08' -pkgrel='2' +pkgrel='3' pkgdesc='A messaging browser that allows you to combine your favorite messaging services into one application' arch=('x86_64' 'i686' 'armv7h' 'aarch64') url="https://get$pkgname.com" @@ -58,8 +58,8 @@ prepare() { sed -E -i -e 's|("electron": ").*"|\1'"$(cat /usr/lib/electron/version)"'"|' 'package.json' # Prevent Ferdi from being launched in dev mode - sed -i 's|export const isDevMode = .*|export const isDevMode = false;|g' 'src/environment.js' - sed -i "s|import isDevMode from 'electron-is-dev'|export const isDevMode = false|g" 'src/index.js' + sed -i "s|import isDevMode from 'electron-is-dev'|const isDevMode = false|g" 'src/index.js' 'src/config.js' + sed -i "s|import isDev from 'electron-is-dev'|const isDev = false|g" 'src/environment.js' # Specify path for autostart file patch --forward -p1 < '../fix-autostart-path.diff' |