Add grok-bot 0.18.0
Package the official Grok Bot Linux .deb (internal name: sand) for Arch. Wraps /opt/Grok Bot/sand with a Wayland launcher and grok-bot desktop entry. Linux has no latest feed; update-pkgver.sh resolves version+commit from the darwin-arm64 sand feed and HEAD-checks the Linux deb before pinning.
This commit is contained in:
5 files changed
+149
No files matched your search
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}
|
||||
|
||||
export ELECTRON_OZONE_PLATFORM_HINT="${ELECTRON_OZONE_PLATFORM_HINT:-wayland}"
|
||||
export NIXOS_OZONE_WL="${NIXOS_OZONE_WL:-1}"
|
||||
|
||||
if [[ -f $XDG_CONFIG_HOME/grok-bot-flags.conf ]]; then
|
||||
GROK_BOT_USER_FLAGS="$(sed 's/#.*//' "$XDG_CONFIG_HOME/grok-bot-flags.conf" | tr '\n' ' ')"
|
||||
fi
|
||||
|
||||
exec "/opt/Grok Bot/sand" \
|
||||
--ozone-platform=wayland \
|
||||
--enable-features=UseOzonePlatform,WaylandWindowDecorations \
|
||||
--enable-wayland-ime \
|
||||
"$@" $GROK_BOT_USER_FLAGS
|
||||
Reference in new issue
Block a user