Skip to content

Instantly share code, notes, and snippets.

View falfaddaghi's full-sized avatar

Faisal Alfaddaghi falfaddaghi

  • FoothillSolutions
View GitHub Profile
@falfaddaghi
falfaddaghi / proton
Created January 20, 2025 07:43 — forked from shmup/proton
easily run an .exe with proton on linux
#!/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