diff options
Diffstat (limited to 'lin_run.sh')
| -rwxr-xr-x | lin_run.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lin_run.sh b/lin_run.sh new file mode 100755 index 0000000..148fd06 --- /dev/null +++ b/lin_run.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# 检查 Wine 是否存在 +if ! command -v wine &> /dev/null; then + echo "ERROR: wine command not found. Please install Wine." + exit 1 +fi + +cd "$(dirname "$0")/NotePad/NotePad/" + +# 使用 Wine 运行 NotePad.exe +wine ./bin/Linux/NotePad.exe |
