Added runtime feature flags

This commit is contained in:
Ne_Eo
2024-09-01 02:31:51 +02:00
parent c9761f9aed
commit f8d1cf08ad
10 changed files with 229 additions and 4 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class IniUtil {
var name = line.substr(0, index).trim();
var value = line.substr(index+1).trim();
if (value.startsWith("\"") && value.endsWith("\""))
if (value.length > 1 && value.charCodeAt(0) == '"'.code && value.charCodeAt(value.length-1) == '"'.code)
value = value.substr(1, value.length - 2);
if (value.length == 0 || name.length == 0)