Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
APP=$1
# This script is intended to temporarily bypass the "blank screen" bug in Anki on unsupported(?)
# GPUs (Dec 2021): <https://forums.ankiweb.net/t/anki-opens-but-all-windows-are-blank/8920/16>
#
# Adapted from a similar script by @ahihi for an app called "SuperCollider" that also uses qt on
# macOS: <https://github.com/supercollider/supercollider/issues/4136#issuecomment-605447703>
if [ -z "$APP" ]; then