mirror of
https://github.com/Cheviiot/Nivora.git
synced 2026-08-03 15:51:12 +00:00
Maintain a validated cross-distribution package catalog. Automate upstream updates, isolated builds, diagnostics, and direct publication. Build the official GitHub Desktop sources for Linux with working OAuth.
18 lines
319 B
Bash
Executable File
18 lines
319 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
binary="${ANIDESK_BINARY:-/usr/lib/anidesk/anidesk}"
|
|
flags=()
|
|
|
|
case "${ANIDESK_DISABLE_GPU:-0}" in
|
|
1 | true | yes | on)
|
|
flags+=(
|
|
'--disable-gpu'
|
|
'--disable-gpu-compositing'
|
|
'--disable-software-rasterizer'
|
|
)
|
|
;;
|
|
esac
|
|
|
|
exec "${binary}" "${flags[@]}" "$@"
|