Files

23 lines
545 B
JavaScript
Raw Permalink Normal View History

/*
_ __ _ __
| | / /___ _(_) /____
| | /| / / __ `/ / / ___/
| |/ |/ / /_/ / / (__ )
|__/|__/\__,_/_/_/____/
The electron alternative for Go
(c) Lea Anthony 2019-present
*/
2024-03-20 10:30:14 +01:00
import * as Runtime from "../@wailsio/runtime/src";
2024-03-20 10:30:14 +01:00
// NOTE: the following methods MUST be imported explicitly because of how esbuild injection works
import {Enable as EnableWML} from "../@wailsio/runtime/src/wml";
import {debugLog} from "../@wailsio/runtime/src/utils";
2024-03-20 10:30:14 +01:00
window.wails = Runtime;
EnableWML();
2024-03-20 10:30:14 +01:00
if (DEBUG) {
debugLog("Wails Runtime Loaded")
}