diff options
author | zxp19821005 | 2024-03-04 10:24:29 +0800 |
---|---|---|
committer | zxp19821005 | 2024-03-04 10:24:29 +0800 |
commit | d6621799f5ff7ae3cef954570ed60a50cd1d4826 (patch) | |
tree | 1b39259882f6879f5ea0cd7964c35c084904323a | |
parent | c064e43a2eaa2ad283c26903aa71b218c62102a3 (diff) | |
download | aur-d6621799f5ff7ae3cef954570ed60a50cd1d4826.tar.gz |
update to 1.10.1_prod.6
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | fsolauncher.sh | 3 |
3 files changed, 8 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = fsolauncher pkgdesc = Official FreeSO Launcher made with Electron - pkgver = 1.10.1_prod.4 + pkgver = 1.10.1_prod.6 pkgrel = 1 url = https://beta.freeso.org/ arch = x86_64 @@ -11,9 +11,9 @@ pkgbase = fsolauncher makedepends = git depends = electron22 conflicts = fsolauncher - source = fsolauncher.git::git+https://github.com/ItsSim/fsolauncher.git#tag=1.10.1-prod.4 + source = fsolauncher.git::git+https://github.com/ItsSim/fsolauncher.git#tag=1.10.1-prod.6 source = fsolauncher.sh sha256sums = SKIP - sha256sums = 0fb7b939a071f4a08476bdd5aa143d2aa8cd335c83309f9919be16cd5c3e2014 + sha256sums = 50b10386d13e5bec806aeb78f819c4edd0208a4d184332e53866c802731217fe pkgname = fsolauncher @@ -1,7 +1,7 @@ # Maintainer: zxp19821005 <zxp19821005 at 163 dot com> pkgname=fsolauncher _pkgname="FreeSO Launcher" -pkgver=1.10.1_prod.4 +pkgver=1.10.1_prod.6 _electronversion=22 _nodeversion=16 pkgrel=1 @@ -25,7 +25,7 @@ source=( "${pkgname%-bin}.sh" ) sha256sums=('SKIP' - '0fb7b939a071f4a08476bdd5aa143d2aa8cd335c83309f9919be16cd5c3e2014') + '50b10386d13e5bec806aeb78f819c4edd0208a4d184332e53866c802731217fe') _ensure_local_nvm() { export NVM_DIR="${srcdir}/.nvm" source /usr/share/nvm/init-nvm.sh || [[ $? != 1 ]] @@ -49,7 +49,7 @@ build() { export npm_config_disturl=https://electronjs.org/headers HOME="${srcdir}/.electron-gyp" npm ci - npx electron-builder --linux appimage + npx electron-builder -l appimage } package() { install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" diff --git a/fsolauncher.sh b/fsolauncher.sh index f9ced1432cfc..86cb3dc6a9bf 100644 --- a/fsolauncher.sh +++ b/fsolauncher.sh @@ -1,10 +1,11 @@ -#!/bin/sh +#!/bin/bash set -e _APPDIR="/usr/lib/@appname@" _RUNNAME="${_APPDIR}/@runname@" export PATH="${_APPDIR}:${PATH}" export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH}" export ELECTRON_IS_DEV=0 +export ELECTRON_FORCE_IS_PACKAGED=true export NODE_ENV=production cd "${_APPDIR}" if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then |