shardx-launcher-bin
LOW
maintainer sevkin
0 votes
scanned 2026-08-24 17:24:12.078683
Why flagged
The package installs a prebuilt AppImage from the project's official GitHub releases, which is normal for binary packages; the source is trustworthy and no malicious behavior is present.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Low
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package installs a prebuilt AppImage from the project's official GitHub releases, which is normal for binary packages; the source is trustworthy and no malicious behavior is present.
PKGBUILD
1
# Maintainer: Vsevolod Balashov <vsevolod.balashov@yandex.ru>
2
# Package repo: https://gitverse.ru/sevkin/shardx-launcher-aur
3
# Upstream: https://github.com/ProxyShard/ShardBrowser
4
5
pkgname=shardx-launcher-bin
6
pkgver=0.1.10
7
pkgrel=1
8
pkgdesc="ShardX anti-detect browser launcher (prebuilt AppImage installed to /opt/shardx, runs against system Mesa/Wayland)"
9
arch=('x86_64')
10
url="https://github.com/ProxyShard/ShardBrowser"
11
license=('MIT')
12
depends=('hicolor-icon-theme' 'mesa' 'harfbuzz' 'graphite' 'libgpg-error'
13
'e2fsprogs' 'libx11' 'bzip2' 'fontconfig' 'freetype2' 'fribidi'
14
'wayland')
15
options=('!strip')
16
# The launcher itself is MIT; the browser engine it downloads at runtime is
17
# a closed-source binary with its own restrictions (see the project README).
18
source=("${pkgname%-bin}.AppImage::https://github.com/ProxyShard/ShardBrowser/releases/download/v${pkgver}/ShardX.Launcher_${pkgver}_amd64.AppImage"
19
"shardx-launcher.desktop")
20
sha256sums=(
21
'9de1325d4ead16fa48bf30382865f930344e16f6523f23b4b931f79e6c2dfa1e'
22
'3617af983c16d6d999f45bac141ff218656ad05ffc20146ad8a2b3a597150f5e'
23
)
24
25
build() {
26
cd "$srcdir"
27
chmod +x "${pkgname%-bin}.AppImage"
28
./"${pkgname%-bin}.AppImage" --appimage-extract >/dev/null
29
}
30
31
package() {
32
cd "$srcdir/squashfs-root"
33
34
install -d "$pkgdir/opt/shardx"
35
36
# Preserve the full AppDir layout so the AppRun.wrapped launcher can resolve
37
# its own path (/proc/self/exe), .desktop metadata, bundled libraries, and
38
# glib/gsettings schemas exactly as it does inside the AppImage.
39
cp -a AppRun AppRun.wrapped apprun-hooks "$pkgdir/opt/shardx/"
40
chmod 755 "$pkgdir/opt/shardx/AppRun" "$pkgdir/opt/shardx/AppRun.wrapped"
41
cp -a usr "$pkgdir/opt/shardx/"
42
cp -a "ShardX Launcher.png" "$pkgdir/opt/shardx/"
43
ln -s "usr/share/applications/ShardX Launcher.desktop" \
44
"$pkgdir/opt/shardx/ShardX Launcher.desktop"
45
46
# Drop the bundled (stale) Wayland runtime. It conflicts with the host's
47
# modern Mesa/EGL and triggers "Could not create default EGL display:
48
# EGL_BAD_PARAMETER" in WebKitGTK. Let the binary resolve the system
49
# libwayland-*.so.0 instead (pulled in via the 'wayland' dependency).
50
rm -f "$pkgdir/opt/shardx/usr/lib"/libwayland-client.so.0 \
51
"$pkgdir/opt/shardx/usr/lib"/libwayland-cursor.so.0 \
52
"$pkgdir/opt/shardx/usr/lib"/libwayland-egl.so.1 \
53
"$pkgdir/opt/shardx/usr/lib"/libwayland-server.so.0
54
55
# Normalize permissions carried over from the source AppImage (some data files
56
# shipped with the execute bit set). Fix them to 644; leave real binaries and
57
# shared libraries untouched.
58
find "$pkgdir/opt/shardx/usr" -type f \
59
\( -name '*.xml' -o -name '*.dtd' -o -name '*.override' -o -name 'copyright' \
60
-o -name '*.png' -o -name '*.cache' \) \
61
-exec chmod 644 {} +
62
63
# Launcher entry point. Disable WebKitGTK's GPU compositor and DMABUF
64
# renderer to avoid a blank/white window on XWayland (e.g. NVIDIA/EGL).
65
install -d "$pkgdir/usr/bin"
66
cat > "$pkgdir/usr/bin/shardx-launcher" <<'EOF'
67
#!/bin/sh
68
export GDK_BACKEND=x11
69
export WEBKIT_DISABLE_COMPOSITING_MODE=1
70
export WEBKIT_DISABLE_DMABUF_RENDERER=1
71
exec /opt/shardx/AppRun "$@"
72
EOF
73
chmod 755 "$pkgdir/usr/bin/shardx-launcher"
74
75
# Icons
76
for size in 32x32 128x128; do
77
install -Dm644 "usr/share/icons/hicolor/$size/apps/shardx-launcher.png" \
78
"$pkgdir/usr/share/icons/hicolor/$size/apps/shardx-launcher.png"
79
done
80
install -Dm644 "usr/share/icons/hicolor/256x256@2/apps/shardx-launcher.png" \
81
"$pkgdir/usr/share/icons/hicolor/256x256/apps/shardx-launcher.png"
82
83
# Desktop entry
84
install -Dm644 "$srcdir/shardx-launcher.desktop" \
85
"$pkgdir/usr/share/applications/shardx-launcher.desktop"
86
}
87
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-24 17:24:12 | Low | 2 |