forked from MapComplete/MapComplete
		
	Fixed deploy
This commit is contained in:
		
							parent
							
								
									73f32e0ecf
								
							
						
					
					
						commit
						eb3e2a6c58
					
				
					 3 changed files with 9 additions and 27 deletions
				
			
		|  | @ -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()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue