summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamian Nowak2021-09-29 13:55:32 -0500
committerGitHub2021-09-29 13:55:32 -0500
commitc0ac222b497d2645be7a763f5f86b4f9905b0e8f (patch)
treeb7f50d0a25aaaf033f3a9279f9996302f9acad66
parent2b79ca9d594e3541b1937796866d16645039bd9a (diff)
downloadaur-c0ac222b497d2645be7a763f5f86b4f9905b0e8f.tar.gz
Fix injection code
`Uncaught ReferenceError: log is not defined` in `preload.js` prevented our injection code from being loaded. Fixes #7
-rw-r--r--PKGBUILD1
1 files changed, 0 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9d7a327d40d..1d70f7af8c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -44,7 +44,6 @@ package() {
_folder=$(ls "${srcdir}" | grep "[Ww]hats[-]*[Aa]pp-linux-")
_binary=$(ls "${srcdir}/${_folder}" | grep "[Ww]hats[-]*[Aa]pp")
- sed -i -e "/loglevel/d" "${srcdir}/${_folder}/resources/app/lib/preload.js"
cp -rL "${srcdir}/${_folder}" "${pkgdir}/opt/${pkgname}"
ln -s "/opt/${pkgname}/${_binary}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"