summarylogtreecommitdiffstats
path: root/gog-transistor
diff options
context:
space:
mode:
authorJeremy Audet2019-02-02 17:24:11 -0500
committerJeremy Audet2019-02-02 17:24:11 -0500
commit3f7174baa5d884f00803667a4d8f1cec4c64c2b6 (patch)
tree203537375e48b0d7cb4722b6ce5e49a65f0afd04 /gog-transistor
parent9dd665a69925001bda65f0810e10e48a93060d39 (diff)
downloadaur-gog-transistor.tar.gz
Overhaul package
Among other things: * A newer package is available on GOG. Update the version and related logic. * Make the .desktop file comply with desktop-file-validate's suggestions. * Drop references to firejail. The stuff is nice, but I don't know how to maintain it. * Drop references to lgogdownloader. I've never been able to make it work end-to-end. Use the "local" pseudo-schema instead. * Drop PKGEXT override. It's better to respect the user's makepkg.conf and let them insert such customizations.
Diffstat (limited to 'gog-transistor')
-rw-r--r--gog-transistor16
1 files changed, 4 insertions, 12 deletions
diff --git a/gog-transistor b/gog-transistor
index bbad3f45c0ea..b7070dce6c0f 100644
--- a/gog-transistor
+++ b/gog-transistor
@@ -1,13 +1,5 @@
-#! /bin/sh
+#!/usr/bin/bash
-run="/opt/gog-transistor/start.sh"
-# The launcher fails unless in its dir.
-cd "$(dirname "$run")" || exit 1
-
-if which firejail >/dev/null 2>&1 && [ -z "$FIREJAIL_IGNORE" ]; then
- echo "Firejail detected. Enforcing a sandbox"
- echo "To bypass Firejail enforcement, run FIREJAIL_IGNORE=1 $run."
- firejail --caps.drop=all "$run"
-else
- "$run"
-fi
+# Setting TERM prevents the application from crashing with "System.Exception:
+# Magic number is wrong: 542." See: https://github.com/mono/mono/issues/11557
+TERM=xterm /opt/gog-transistor/start.sh