summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052023-12-18 13:05:34 +0800
committerzxp198210052023-12-18 13:05:34 +0800
commita20eb37505228d29051ab0b6720d49dc730782e9 (patch)
treeb334b528247d3f2cc926314bbdb63bb59793240d
parent908c640ab360573b90ca12d8a51a05bb61005e58 (diff)
downloadaur-a20eb37505228d29051ab0b6720d49dc730782e9.tar.gz
update to 0.21.3
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD10
-rw-r--r--lvce.sh5
3 files changed, 17 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c819a1ce9fa5..29a49ad647d2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = lvce-bin
pkgdesc = VS Code inspired text editor that mostly runs in a webworker
- pkgver = 0.21.1
+ pkgver = 0.21.3
pkgrel = 1
url = https://lvce-editor.github.io/lvce-editor
arch = aarch64
@@ -8,15 +8,15 @@ pkgbase = lvce-bin
arch = x86_64
license = MIT
depends = electron28
- provides = lvce=0.21.1
+ provides = lvce=0.21.3
conflicts = lvce
source = lvce.sh
- sha256sums = 8915ca75d453698df81f7f3305cce6869f4261d754d90f0c3724b73c7b24ca84
- source_aarch64 = lvce-0.21.1-aarch64.deb::https://github.com/lvce-editor/lvce-editor/releases/download/v0.21.1/lvce-v0.21.1_arm64.deb
- sha256sums_aarch64 = c74972b5e74f30230837c4eef5d4c597f6f60a2e5757ac21d3ce571d0c29b0fa
- source_armv7h = lvce-0.21.1-armv7h.deb::https://github.com/lvce-editor/lvce-editor/releases/download/v0.21.1/lvce-v0.21.1_armhf.deb
- sha256sums_armv7h = f57c656c0a6b0101c1032114564206d53d035bb20ded3fa1cc7b64c8f1d29e99
- source_x86_64 = lvce-0.21.1-x86_64.deb::https://github.com/lvce-editor/lvce-editor/releases/download/v0.21.1/lvce-v0.21.1_amd64.deb
- sha256sums_x86_64 = c833374b02b740ff681532860042b7a396e0d176fb5dd3474ef07b47d056c781
+ sha256sums = ba4ed4aaf2c44af5118b06a3099a92ef3bdc969ed964ad508a857d37ae56fd3d
+ source_aarch64 = lvce-0.21.3-aarch64.deb::https://github.com/lvce-editor/lvce-editor/releases/download/v0.21.3/lvce-v0.21.3_arm64.deb
+ sha256sums_aarch64 = e5358443c99d4cb12564abac11901bc56a238053f4688dc035d6ca20f3e010ce
+ source_armv7h = lvce-0.21.3-armv7h.deb::https://github.com/lvce-editor/lvce-editor/releases/download/v0.21.3/lvce-v0.21.3_armhf.deb
+ sha256sums_armv7h = dacfb7fd3ebfdca65f48f660ea6b3a0f4f7c4a828e6909b788f75fb2b44a54c8
+ source_x86_64 = lvce-0.21.3-x86_64.deb::https://github.com/lvce-editor/lvce-editor/releases/download/v0.21.3/lvce-v0.21.3_amd64.deb
+ sha256sums_x86_64 = 0abc943c34d34cf515adceff3ab02b2da96505ea274c536dc443073426cb3c7d
pkgname = lvce-bin
diff --git a/PKGBUILD b/PKGBUILD
index 8c4f293eb0b2..2742b9c2383c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=lvce-bin
-pkgver=0.21.1
+pkgver=0.21.3
_electronversion=28
pkgrel=1
pkgdesc="VS Code inspired text editor that mostly runs in a webworker"
@@ -21,10 +21,10 @@ source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.deb::${_ghurl}/releases/downl
source_armv7h=("${pkgname%-bin}-${pkgver}-armv7h.deb::${_ghurl}/releases/download/v${pkgver}/${pkgname%-bin}-v${pkgver}_armhf.deb")
source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.deb::${_ghurl}/releases/download/v${pkgver}/${pkgname%-bin}-v${pkgver}_amd64.deb")
source=("${pkgname%-bin}.sh")
-sha256sums=('8915ca75d453698df81f7f3305cce6869f4261d754d90f0c3724b73c7b24ca84')
-sha256sums_aarch64=('c74972b5e74f30230837c4eef5d4c597f6f60a2e5757ac21d3ce571d0c29b0fa')
-sha256sums_armv7h=('f57c656c0a6b0101c1032114564206d53d035bb20ded3fa1cc7b64c8f1d29e99')
-sha256sums_x86_64=('c833374b02b740ff681532860042b7a396e0d176fb5dd3474ef07b47d056c781')
+sha256sums=('ba4ed4aaf2c44af5118b06a3099a92ef3bdc969ed964ad508a857d37ae56fd3d')
+sha256sums_aarch64=('e5358443c99d4cb12564abac11901bc56a238053f4688dc035d6ca20f3e010ce')
+sha256sums_armv7h=('dacfb7fd3ebfdca65f48f660ea6b3a0f4f7c4a828e6909b788f75fb2b44a54c8')
+sha256sums_x86_64=('0abc943c34d34cf515adceff3ab02b2da96505ea274c536dc443073426cb3c7d')
build() {
sed -e "s|@electronversion@|${_electronversion}|" \
-e "s|@appname@|${pkgname%-bin}|g" \
diff --git a/lvce.sh b/lvce.sh
index 2ec4412e5c4f..fbb4545c01c1 100644
--- a/lvce.sh
+++ b/lvce.sh
@@ -1,10 +1,11 @@
#!/bin/bash
set -e
_APPDIR="/usr/lib/@appname@"
+_ASAR="${_APPDIR}/@appasar@"
export PATH="${_APPDIR}:${PATH}"
-export ELECTRON_IS_DEV=0
export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH}"
-_ASAR="${_APPDIR}/@appasar@"
+export ELECTRON_IS_DEV=0
+export NODE_ENV=production
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
cd "${_APPDIR}"
exec electron@electronversion@ "${_ASAR}" "$@"