Fixed deploy

This commit is contained in:
Pieter Vander Vennet 2020-11-11 16:28:49 +01:00
parent 73f32e0ecf
commit eb3e2a6c58
3 changed files with 9 additions and 27 deletions

View file

@ -1,5 +1,9 @@
import {Img} from "./UI/Img"
import {UIElement} from "./UI/UIElement";
Img.runningFromConsole = true;
// We HAVE to mark this while importing
UIElement.runningFromConsole = true;
import {AllKnownLayouts} from "./Customizations/AllKnownLayouts";
import {readFileSync, writeFile, writeFileSync} from "fs";
import Locale from "./UI/i18n/Locale";
@ -8,9 +12,6 @@ import Translations from "./UI/i18n/Translations";
import {Translation} from "./UI/i18n/Translation";
import LayoutConfig from "./Customizations/JSON/LayoutConfig";
Img.runningFromConsole = true;
// We HAVE to mark this while importing
UIElement.runningFromConsole = true;
function enc(str: string): string {
return encodeURIComponent(str.toLowerCase());