better window handling
[guerillascript.git] / main / prefs / prefs.js
blob5cbbfcd3d0c94fdc37c729784393feaf74674a1d
1 /* coded by Ketmar // Invisible Vector (psyc://ketmar.no-ip.org/~Ketmar)
2 * Understanding is not required. Only obedience.
4 * This program is free software. It comes without any warranty, to
5 * the extent permitted by applicable law. You can redistribute it
6 * and/or modify it under the terms of the Do What The Fuck You Want
7 * To Public License, Version 2, as published by Sam Hocevar. See
8 * http://www.wtfpl.net/txt/copying/ for more details.
9 */
10 ////////////////////////////////////////////////////////////////////////////////
11 const PREFS_BRANCH = "extensions.guerilla.";
13 const PREFS = {
14 openErrorConsoleOnStartup: false,
15 debugMode: false,
16 debugCache: false,
17 logEnabled: true,
18 active: true,
19 // all pathes are relative to profile dir
20 jsdir: "guerillajs",
21 libdir: "guerillajs_libs",
22 dbdir: "guerillajs_data",
23 pkgdir: "guerillajs_packages",
24 pkgdbdir: "guerillajs_packages/_0data",
25 pkgtempdir: "guerillajs_packages/_0temp",
28 const PREFS_DIR_NAMES = {
29 jsdir: "JSDir",
30 libdir: "LibDir",
31 dbdir: "DBDir",
32 pkgdir: "PkgDir",
33 pkgdbdir: "PkgDBDir",
34 pkgtempdir: "PkgTempDir",