From 48d75759b2352e12e69c7ae785f73f7ae247886c Mon Sep 17 00:00:00 2001 From: Andy Portmen Date: Sat, 12 Aug 2017 12:57:12 +0430 Subject: [PATCH] reverting back the install.bat --- windows/install.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/windows/install.bat b/windows/install.bat index 50531ea..956b1e2 100644 --- a/windows/install.bat +++ b/windows/install.bat @@ -2,20 +2,20 @@ ECHO .. Writting to Chrome Registry ECHO .. Key: HKCU\Software\Google\Chrome\NativeMessagingHosts\com.add0n.node -REG ADD "HKCU\Software\Google\Chrome\NativeMessagingHosts\com.add0n.node" /ve /t REG_SZ /d "%USERPROFILE%\Local Settings\Application Data\com.add0n.node\manifest-chrome.json" /f +REG ADD "HKCU\Software\Google\Chrome\NativeMessagingHosts\com.add0n.node" /ve /t REG_SZ /d "%LocalAPPData%\com.add0n.node\manifest-chrome.json" /f ECHO .. Writting to Firefox Registry ECHO .. Key: HKCU\SOFTWARE\Mozilla\NativeMessagingHosts\com.add0n.node -FOR %%f in ("%USERPROFILE%\Local Settings\Application Data") do SET SHORT_PATH=%%~sf +FOR %%f in ("%LocalAPPData%") do SET SHORT_PATH=%%~sf REG ADD "HKCU\SOFTWARE\Mozilla\NativeMessagingHosts\com.add0n.node" /ve /t REG_SZ /d "%SHORT_PATH%\com.add0n.node\manifest-firefox.json" /f pushd "%~dp0" CD app IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" ( - ..\node\x64\node.exe install.js "%USERPROFILE%\Local Settings\Application Data" + ..\node\x64\node.exe install.js "%LocalAPPData%" ) ELSE ( - ..\node\x86\node.exe install.js "%USERPROFILE%\Local Settings\Application Data" + ..\node\x86\node.exe install.js "%LocalAPPData%" ) PAUSE