Fix Typo and removePrefix

Signed-off-by: Philipp <philipp+dev@xndr.de>
This commit is contained in:
Philipp 2021-07-22 00:05:28 +02:00
parent e0c66bc804
commit 32a252e9a4

View file

@ -75,7 +75,7 @@ let
mkdir -p "$launcherCachePers" "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/" mkdir -p "$launcherCachePers" "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/"
ln -s "$launcherCachePers" "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/" ln -s "$launcherCachePers" "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/"
${lib.optionalString captureMouse ("${regEdit} ${captureMouseReg.text}")} ${lib.optionalString captureMouse "${regEdit} ${captureMouseReg.text}"}
#apply custom user registry files #apply custom user registry files
${lib.concatMapStrings (x: "${regEdit} " + x + "\n") registryFiles} ${lib.concatMapStrings (x: "${regEdit} " + x + "\n") registryFiles}
@ -157,8 +157,8 @@ let
--clean) --clean)
clean clean
;; ;;
--removePrefix) --remove-prefix)
cleanPrefix removePrefix
;; ;;
--run-game|"") --run-game|"")
runGame runGame