This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |