Merge pull request #11 from cspotcode/patch-1
Simpler LINUXTMP compatible with non-/mnt rootsmaster
commit
e0256136ba
|
@ -1,7 +1,8 @@
|
|||
@ECHO OFF
|
||||
|
||||
SET "LINUXTMP=$(echo '%TMP:\=\\%' | sed -e 's|\\|/|g' -e 's|^\([A-Za-z]\)\:/\(.*\)|/mnt/\L\1\E/\2|')"
|
||||
echo LINUXTMP = "%LINUXTMP%"
|
||||
set WSLENV=%WSLENV%:WINTMP
|
||||
set WINTMP=%TMP%
|
||||
set LINUXTMP='$(wslpath -u \"$WINTMP\")'
|
||||
|
||||
ECHO --- Running Linux installation. You will be prompted for your Ubuntu user's password:
|
||||
REM One big long command to be absolutely sure we're not prompted for a password repeatedly
|
||||
|
@ -48,4 +49,4 @@ echo load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous
|
|||
ECHO When prompted, DO NOT allow 'pulseaudio' access to any of your networks. It doesn't need access.
|
||||
|
||||
ECHO All Done
|
||||
PAUSE
|
||||
PAUSE
|
||||
|
|
Loading…
Reference in New Issue