mirror of
https://github.com/archlinux/aur.git
synced 2026-02-11 07:34:23 +01:00
[opt] 支持第三方插件加载器
This commit is contained in:
parent
222718177d
commit
3fe3fa1459
3 changed files with 6 additions and 4 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = linuxqq-nt-bwrap
|
||||
pkgdesc = New Linux QQ based on Electron, with bubblewrap sandbox and some tweaks
|
||||
pkgver = 3.2.0_16449
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://im.qq.com/linuxqq/index.shtml
|
||||
install = linuxqq-nt-bwrap.install
|
||||
arch = x86_64
|
||||
|
|
@ -33,7 +33,7 @@ pkgbase = linuxqq-nt-bwrap
|
|||
source = start.sh
|
||||
source = config.json
|
||||
source = xdg-open.sh
|
||||
sha256sums = df21209bc369d3fe56066a37c1951699694a2d3933aa0453d791cd7437e0183e
|
||||
sha256sums = 5a89e6e6bd598268a8cdafaa7314127c53fc203cb31a08c1fb7c38c1c3e4372a
|
||||
sha256sums = b75ead198645f2ac9089e637a02a5e2171c6d9c8521b769849340ba100258dfd
|
||||
sha256sums = 78a573867355fb4c3e728d0c8ac0746d47fa7d64f90ee2b62ee9f0ccae095edb
|
||||
source_x86_64 = https://dldir1.qq.com/qqfile/qq/QQNT/464d27bd/linuxqq_3.2.0-16449_amd64.deb
|
||||
|
|
|
|||
4
PKGBUILD
4
PKGBUILD
|
|
@ -9,7 +9,7 @@ _base_pkgver_hash=464d27bd
|
|||
pkgname=linuxqq-nt-bwrap
|
||||
pkgver="${_base_pkgver}"
|
||||
# pkgver="${_update_pkgver}"
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="New Linux QQ based on Electron, with bubblewrap sandbox and some tweaks"
|
||||
arch=('x86_64' 'aarch64') # 龙架构版本停留在 3.1.0 未更新,故不纳入此包中
|
||||
url='https://im.qq.com/linuxqq/index.shtml'
|
||||
|
|
@ -31,7 +31,7 @@ source_x86_64=("https://dldir1.qq.com/qqfile/qq/QQNT/${_base_pkgver_hash}/linuxq
|
|||
source_aarch64=("https://dldir1.qq.com/qqfile/qq/QQNT/${_base_pkgver_hash}/linuxqq_${_base_pkgver//_/-}_arm64.deb") # 底包
|
||||
# "https://qqpatch.gtimg.cn/hotUpdate_new/release/linux-arm64/${pkgver//_/-}/${_update_pkgver_hash}/${pkgver//_/-}.zip.zip" ) # 热更新补丁
|
||||
source=('start.sh' 'config.json' 'xdg-open.sh')
|
||||
sha256sums=('df21209bc369d3fe56066a37c1951699694a2d3933aa0453d791cd7437e0183e' # start.sh
|
||||
sha256sums=('5a89e6e6bd598268a8cdafaa7314127c53fc203cb31a08c1fb7c38c1c3e4372a' # start.sh
|
||||
'b75ead198645f2ac9089e637a02a5e2171c6d9c8521b769849340ba100258dfd' # config.json
|
||||
'78a573867355fb4c3e728d0c8ac0746d47fa7d64f90ee2b62ee9f0ccae095edb') # xdg-open.sh
|
||||
sha256sums_x86_64=('a83ac7458f18b76c105ed764b7cd8750117ce5ae347d3e27df153fda118a5aa9') # 底包
|
||||
|
|
|
|||
2
start.sh
2
start.sh
|
|
@ -124,6 +124,8 @@ bwrap --new-session --cap-drop ALL --unshare-user-try --unshare-pid --unshare-cg
|
|||
--ro-bind /etc/nsswitch.conf /etc/nsswitch.conf \
|
||||
--ro-bind /run/systemd/userdb/ /run/systemd/userdb/ \
|
||||
--setenv IBUS_USE_PORTAL 1 \
|
||||
--setenv QQNTIM_HOME "${QQ_APP_DIR}/QQNTim" \
|
||||
--setenv LITELOADERQQNT_PROFILE "${QQ_APP_DIR}/LiteLoaderQQNT" \
|
||||
/opt/QQ/electron "${flags[@]}" "$@" /opt/QQ/resources/app
|
||||
|
||||
# 移除无用崩溃报告和日志
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue