diff install.cmd @ 139:2e1f9a40a36a

Install Vimperator and Console2 settings on Windows.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 20 Oct 2013 20:57:50 -0400
parents 20c49d51f7e3
children 1ba0daaa8e4e
line wrap: on
line diff
--- a/install.cmd	Tue Oct 08 08:16:07 2013 -0700
+++ b/install.cmd	Sun Oct 20 20:57:50 2013 -0400
@@ -35,3 +35,17 @@
 )
 copy "%CWD%git\gitconfig" "%userprofile%\.gitconfig"
 
+:: Web Browser
+if exist "%userprofile%\_vimperatorrc" (
+    set /P confirm=Will delete existing "%userprofile%\_vimperatorrc". OK with that? Press CTRL-C to abort.
+    del /Q "%userprofile%\_vimperatorrc"
+)
+echo source %CWD:\=/%vimperatorrc > "%userprofile%\_vimperatorrc"
+
+:: Console 2
+if exist "%appdata%\Console\console.xml" (
+	set /P confirm=Will delete existing Console2 settings. OK with that? Press CTRL-C to abort.
+	del /Q "%appdata%\Console\console.xml"
+)
+if not exist "%appdata%\Console" mkdir "%appdata%\Console"
+copy "%CWD%console.xml" "%appdata%\Console\console.xml"