remove compatibility.ini; add .gitignore
[x_full.git] / .mozilla / firefox / default / extensions / keyconfig@dorando / install.js
1 initInstall("keyconfig", "/dorando/keyconfig/", ""); \r
2 \r
3 var chromeDir = getFolder("Profile", "chrome");\r
4 \r
5 addFile("keyconfig","chrome/keyconfig.jar",chromeDir,"");\r
6 addFile("keyconfig-service","components/keyconfig-service.js",getFolder("Program","components"),"");\r
7 addFile("keyconfig-pref","defaults/preferences/keyconfig.js",getFolder("Program","defaults/pref"),"");\r
8 \r
9 registerChrome(PACKAGE | PROFILE_CHROME, getFolder(chromeDir,"keyconfig.jar"), "content/");\r
10 registerChrome(SKIN | PROFILE_CHROME, getFolder(chromeDir,"keyconfig.jar"), "skin/");\r
11 \r
12 function l(a)\r
13 {\r
14   registerChrome(LOCALE | PROFILE_CHROME, getFolder(chromeDir,"keyconfig.jar"), "locale/"+a);\r
15 }\r
16 \r
17 l("en-US/");\r
18 \r
19 l("cs-CZ/");\r
20 l("de-DE/");\r
21 l("es-AR/");\r
22 l("fr-FR/");\r
23 l("it-IT/");\r
24 l("ja-JP/");\r
25 l("ko-KR/");\r
26 l("ru-RU/");\r
27 l("sk-SK/");\r
28 l("zh-TW/");\r
29 \r
30 if (0 == getLastError())\r
31   performInstall();\r
32 else\r
33   cancelInstall();