summarylogtreecommitdiffstats
path: root/gog-heroes-of-might-and-magic-3-complete-edition-campaign-editor
diff options
context:
space:
mode:
authorSandy Carter2016-12-28 18:51:43 -0500
committerSandy Carter2016-12-28 18:51:59 -0500
commit592d8730765c4b1e4f7a3a2550775ba6ba74b7ff (patch)
tree214166378d0fba4a06d8489eda1231ee14f77986 /gog-heroes-of-might-and-magic-3-complete-edition-campaign-editor
parented5fbc72111346085537f10c655c7f446e4ca2fd (diff)
downloadaur-592d8730765c4b1e4f7a3a2550775ba6ba74b7ff.tar.gz
move dot files to local share
Diffstat (limited to 'gog-heroes-of-might-and-magic-3-complete-edition-campaign-editor')
-rwxr-xr-xgog-heroes-of-might-and-magic-3-complete-edition-campaign-editor10
1 files changed, 10 insertions, 0 deletions
diff --git a/gog-heroes-of-might-and-magic-3-complete-edition-campaign-editor b/gog-heroes-of-might-and-magic-3-complete-edition-campaign-editor
new file mode 100755
index 000000000000..c5c8afa0b489
--- /dev/null
+++ b/gog-heroes-of-might-and-magic-3-complete-edition-campaign-editor
@@ -0,0 +1,10 @@
+#!/bin/bash
+unset WINEPREFIX
+export WINEPREFIX="$HOME"/.local/share/gog-heroes-of-might-and-magic-3-complete-edition
+if [ ! -d "$WINEPREFIX" ]
+then
+ mkdir -p "$WINEPREFIX"
+ wineboot -i
+ regedit /usr/share/gog-heroes-of-might-and-magic-3-complete-edition/local_machine.reg
+fi
+wine /opt/gog/heroes-of-might-and-magic-3-complete-edition/h3ccmped.exe "$@"