summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052024-02-09 11:13:19 +0800
committerzxp198210052024-02-09 11:13:19 +0800
commit1b3af366637c244c6b83f2a29b5fcab7d0ec6e7e (patch)
tree3d2d3ab6e2588d4bb6f76333e7db6efa32802b9a
parentdf741091dca657185ccc0c9871e347765e105c74 (diff)
downloadaur-1b3af366637c244c6b83f2a29b5fcab7d0ec6e7e.tar.gz
fix errors
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 54ab613c9390..bf28f750fb8d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = commas
pkgdesc = A hackable, pluggable terminal, and also a command runner.
pkgver = 0.30.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CyanSalt/commas
arch = x86_64
license = ISC
diff --git a/PKGBUILD b/PKGBUILD
index a23190058052..102c76a263e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _pkgname=Commas
pkgver=0.30.0
_electronversion=28
_nodever=16
-pkgrel=1
+pkgrel=2
pkgdesc="A hackable, pluggable terminal, and also a command runner."
arch=("x86_64")
url="https://github.com/CyanSalt/commas"
@@ -48,8 +48,9 @@ build() {
export ELECTRONVERSION="${_electronversion}"
export npm_config_disturl=https://electronjs.org/headers
HOME="${srcdir}/.electron-gyp"
+ sed "s|app.isPackaged|!process.defaultApp|g" -i src/main/utils/directory.ts
npm install --no-package-lock
- npm add ansi-styles
+ #npm add ansi-styles
npm run build
}
package() {