From 7afef79829b3a5fd6f7cf1a3e8e3e76036324459 Mon Sep 17 00:00:00 2001 From: rlbr Date: Tue, 11 Dec 2018 13:31:06 -0600 Subject: [PATCH] made all relative paths absolute with regards to install.bat --- install.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.bat b/install.bat index a9f374c..2cf663d 100644 --- a/install.bat +++ b/install.bat @@ -16,7 +16,7 @@ move "%Directory%\install\%setup%" "%Directory%\%setup%" move "%Directory%\%setup%" "%Directory%\install\%setup%" REM find winpython dir -for /f "usebackq tokens=*" %%a in (`dir /A:D /B ^| findstr /r /i w.*py.*`) do ( +for /f "usebackq tokens=*" %%a in (`dir /A:D /B %Directory% ^| findstr /r /i w.*py.*`) do ( set winpython=%%a goto skipB ) @@ -43,11 +43,11 @@ REM adding user script dir to path REM idle settings md "%winpython%\settings\.idlerc" -copy config-highlight.cfg "%winpython%\settings\.idlerc" +copy %Directory%\config-highlight.cfg "%winpython%\settings\.idlerc" REM notepad++ settings md "%appdata%\Notepad++\themes" -copy themes "%appdata%\Notepad++\themes" +copy %Directory%\themes "%appdata%\Notepad++\themes" REM append to PATH call %pa% "%winpython%\%exe%"