summaryrefslogtreecommitdiff
path: root/scriptlets/wine_jp_run.sh
diff options
context:
space:
mode:
authorダカマ <dakama@kakeranoumi.xyz>2025-06-02 13:08:46 +0200
committerダカマ <dakama@kakeranoumi.xyz>2025-06-02 13:08:46 +0200
commit14a892e627a375334a02381351f139d94ad7ecf3 (patch)
treee7c1ee5040f3076f57401b3b9e9eb567e2ecfb1a /scriptlets/wine_jp_run.sh
First dumpHEADmaster
Diffstat (limited to 'scriptlets/wine_jp_run.sh')
-rwxr-xr-xscriptlets/wine_jp_run.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scriptlets/wine_jp_run.sh b/scriptlets/wine_jp_run.sh
new file mode 100755
index 0000000..7bf14e4
--- /dev/null
+++ b/scriptlets/wine_jp_run.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[[ "$1" =~ .*.exe$ ]] || { echo "ERROR"; exit -1; }
+
+env LOCPATH=$HOME/.wine/locale-ja/ LANG=ja_JP.SJIS wine "$1"