diff options
author | zxp19821005 | 2024-01-16 09:56:55 +0800 |
---|---|---|
committer | zxp19821005 | 2024-01-16 09:56:55 +0800 |
commit | 530a80472826897c32fa1093f6778229c21c6814 (patch) | |
tree | abfbd70cd72e9c104af974a7f960ccd7903affb9 | |
parent | 9c046092bf978ba4ef970f5c5fc23db97f367906 (diff) | |
download | aur-530a80472826897c32fa1093f6778229c21c6814.tar.gz |
update to 0.0.11
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | krux-installer.sh | 8 |
3 files changed, 15 insertions, 19 deletions
@@ -1,24 +1,24 @@ pkgbase = krux-installer-bin pkgdesc = A GUI based application to flash Krux firmware on K210 based devices - pkgver = 0.0.1 + pkgver = 0.0.11 pkgrel = 1 url = https://github.com/selfcustody/krux-installer arch = x86_64 license = MIT - makedepends = squashfuse depends = electron28 depends = libx11 depends = gdk-pixbuf2 depends = gtk2 depends = java-runtime depends = startup-notification - provides = krux-installer=0.0.1 + depends = gconf + provides = krux-installer=0.0.11 conflicts = krux-installer - source = krux-installer-0.0.1.AppImage::https://github.com/selfcustody/krux-installer/releases/download/v0.0.1/krux-installer_0.0.1_amd64.deb - source = LICENSE-0.0.1::https://raw.githubusercontent.com/selfcustody/krux-installer/v0.0.1/LICENSE + source = krux-installer-0.0.11.deb::https://github.com/selfcustody/krux-installer/releases/download/v0.0.11/krux-installer_0.0.11_amd64.deb + source = LICENSE-0.0.11::https://raw.githubusercontent.com/selfcustody/krux-installer/v0.0.11/LICENSE source = krux-installer.sh - sha256sums = 02ec46048b0e46ea95ac53c450804cd445b32343144b1a61939ad1d9fc488f4b + sha256sums = 89fc4065390ac578195e7fc01e85bf2acc17e53193c3262114b03fbd82459dae sha256sums = 29eee3e9d9c5dd67213ec3ab4a7eef57a1224750e2e9aab3a278177a9444a355 - sha256sums = 5ce46265f0335b03568aa06f7b4c57c5f8ffade7a226489ea39796be91a511bf + sha256sums = d4272fed78cdcacd9edfb019134ac485d65b43f4d8c7a4179edbaed56af9b231 pkgname = krux-installer-bin @@ -2,7 +2,7 @@ # Maintainer: qlrd <qlrddev at gmail dot com> pkgname=krux-installer-bin _pkgname="org.selfcustody.${pkgname%-bin}" -pkgver=0.0.1 +pkgver=0.0.11 _electronversion=28 pkgrel=1 pkgdesc="A GUI based application to flash Krux firmware on K210 based devices" @@ -18,18 +18,16 @@ depends=( 'gtk2' 'java-runtime' 'startup-notification' -) -makedepends=( - 'squashfuse' + 'gconf' ) source=( - "${pkgname%-bin}-${pkgver}.AppImage::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_amd64.deb" + "${pkgname%-bin}-${pkgver}.deb::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_amd64.deb" "LICENSE-${pkgver}::https://raw.githubusercontent.com/selfcustody/krux-installer/v${pkgver}/LICENSE" "${pkgname%-bin}.sh" ) -sha256sums=('02ec46048b0e46ea95ac53c450804cd445b32343144b1a61939ad1d9fc488f4b' +sha256sums=('89fc4065390ac578195e7fc01e85bf2acc17e53193c3262114b03fbd82459dae' '29eee3e9d9c5dd67213ec3ab4a7eef57a1224750e2e9aab3a278177a9444a355' - '5ce46265f0335b03568aa06f7b4c57c5f8ffade7a226489ea39796be91a511bf') + 'd4272fed78cdcacd9edfb019134ac485d65b43f4d8c7a4179edbaed56af9b231') build() { sed -e "s|@electronversion@|${_electronversion}|g" \ -e "s|@appname@|${pkgname%-bin}|g" \ diff --git a/krux-installer.sh b/krux-installer.sh index c77c53567639..aacd8f895847 100644 --- a/krux-installer.sh +++ b/krux-installer.sh @@ -6,12 +6,10 @@ export PATH="${_APPDIR}:${PATH}" export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH}" export ELECTRON_IS_DEV=0 export NODE_ENV=production +cd "${_APPDIR}" if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then - cd "${_APPDIR}" exec electron@electronversion@ "${_ASAR}" "$@" - exit else - cd "${_APPDIR}" exec electron@electronversion@ "${_ASAR}" --no-sandbox "$@" - exit -fi
\ No newline at end of file +fi +exit
\ No newline at end of file |