-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.cmd
executable file
·24 lines (21 loc) · 810 Bytes
/
install.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@echo off
IF EXIST "%PROGRAMFILES(x86)%\gedit" (
rem Install for GEdit 2 in Windows 64-bit
xcopy prometeus.lang "%PROGRAMFILES(x86)%\gedit\share\gtksourceview-2.0\language-specs\" /Y /Q
echo Installed for GEdit 2
)
IF EXIST "%PROGRAMFILES%\gedit" (
IF EXIST "%PROGRAMFILES%\gedit\share\gtksourceview-2.0" (
rem Install for GEdit 2 in Windows 32-bit
xcopy prometeus.lang "%PROGRAMFILES%\gedit\share\gtksourceview-2.0\language-specs\" /Y /Q
echo Installed for GEdit 2
goto :DONE
) ELSE IF EXIST "%PROGRAMFILES%\gedit\share\gtksourceview-3.0" (
rem Install for GEdit 3 in Windows 64-bit
xcopy prometeus.lang "%PROGRAMFILES%\gedit\share\gtksourceview-3.0\language-specs\" /Y /Q
echo Installed for GEdit 3
goto :DONE
)
)
echo Not installed, something wrong...
:DONE