This file contains hidden or 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
# Fixes the fullscreen resolution for Magic the Gathering Arena on macOS. | |
# | |
# MTGA doesn’t account for the MacBook Pro notch, so it defaults to a resolution | |
# that’s too wide for the screen, and cuts off important information (like the | |
# stack). This script sets the resolution to a scaled 16:9 resolution that fits | |
# the screen. | |
# | |
# Forked from april/arena-macos-full-screen-fixes.sh | |
# https://gist.github.com/april/ef679cf5719cc5a2ba6a55da20869ffa | |
function mtga_fullscreen_fix { |