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
#!/usr/bin/env bash | |
# This script launches a Windows executable using Proton within a Linux environment. | |
# It requires exactly one argument: the path to the executable to run. | |
# It sets up a separate Proton prefix for each executable to avoid conflicts. | |
# Usage: proton <path-to-executable> | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: $0 <executable-path>" | |
exit 1 |