Add Environment and WindowReloadApp calls to runtime. Updated default templates.

This commit is contained in:
Lea Anthony
2022-04-20 20:28:41 +10:00
parent 2e3c90c096
commit f6257d3d31
40 changed files with 440 additions and 48 deletions
@@ -18,6 +18,12 @@ export interface Size {
h: number;
}
// Environment information such as platform, buildtype, ...
export interface EnvironmentInfo {
buildType: string;
platform: string;
arch: string;
}
// [EventsEmit](https://wails.io/docs/reference/runtime/events#eventsemit)
// emits the given event. Optional data may be passed with the event.
@@ -72,6 +78,10 @@ export function LogWarning(message: string): void;
// Forces a reload by the main application as well as connected browsers.
export function WindowReload(): void;
// [WindowReloadApp](https://wails.io/docs/reference/runtime/window#windowreloadapp)
// Reloads the application frontend.
export function WindowReloadApp(): void;
// [WindowSetSystemDefaultTheme](https://wails.io/docs/next/reference/runtime/window#windowsetsystemdefaulttheme)
// *Windows only*
// Sets window theme to system default (dark/light).
@@ -161,10 +171,18 @@ export function WindowUnminimise(): void;
// Sets the background colour of the window to the given RGBA colour definition. This colour will show through for all transparent pixels.
export function WindowSetRGBA(R: number, G: number, B: number, A: number): void;
// Navigates back to the application after navigating away
export function NavigateBackToApp(): void;
// [BrowserOpenURL](https://wails.io/docs/next/reference/runtime/browser#browseropenurl)
// Opens the given URL in the system browser.
export function BrowserOpenURL(url: string): void;
// []()
//
export function Environment(): EnvironmentInfo;
// [Quit](https://wails.io/docs/next/reference/runtime/intro#quit)
// Quits the application.
export function Quit(): void;
@@ -61,6 +61,10 @@ export function WindowReload() {
window.runtime.WindowReload();
}
export function WindowReloadApp() {
window.runtime.WindowReloadApp();
}
export function WindowSetSystemDefaultTheme() {
window.runtime.WindowSetSystemDefaultTheme();
}
@@ -90,7 +94,7 @@ export function WindowUnfullscreen() {
}
export function WindowGetSize() {
window.runtime.WindowGetSize();
return window.runtime.WindowGetSize();
}
export function WindowSetSize(width, height) {
@@ -110,7 +114,7 @@ export function WindowSetPosition(x, y) {
}
export function WindowGetPosition() {
window.runtime.WindowGetPosition();
return window.runtime.WindowGetPosition();
}
export function WindowHide() {
@@ -149,6 +153,10 @@ export function BrowserOpenURL(url) {
window.runtime.BrowserOpenURL(url);
}
export function Environment() {
return window.runtime.Environment();
}
export function Quit() {
window.runtime.Quit();
}
@@ -18,6 +18,12 @@ export interface Size {
h: number;
}
// Environment information such as platform, buildtype, ...
export interface EnvironmentInfo {
buildType: string;
platform: string;
arch: string;
}
// [EventsEmit](https://wails.io/docs/reference/runtime/events#eventsemit)
// emits the given event. Optional data may be passed with the event.
@@ -72,6 +78,10 @@ export function LogWarning(message: string): void;
// Forces a reload by the main application as well as connected browsers.
export function WindowReload(): void;
// [WindowReloadApp](https://wails.io/docs/reference/runtime/window#windowreloadapp)
// Reloads the application frontend.
export function WindowReloadApp(): void;
// [WindowSetSystemDefaultTheme](https://wails.io/docs/next/reference/runtime/window#windowsetsystemdefaulttheme)
// *Windows only*
// Sets window theme to system default (dark/light).
@@ -161,10 +171,18 @@ export function WindowUnminimise(): void;
// Sets the background colour of the window to the given RGBA colour definition. This colour will show through for all transparent pixels.
export function WindowSetRGBA(R: number, G: number, B: number, A: number): void;
// Navigates back to the application after navigating away
export function NavigateBackToApp(): void;
// [BrowserOpenURL](https://wails.io/docs/next/reference/runtime/browser#browseropenurl)
// Opens the given URL in the system browser.
export function BrowserOpenURL(url: string): void;
// []()
//
export function Environment(): EnvironmentInfo;
// [Quit](https://wails.io/docs/next/reference/runtime/intro#quit)
// Quits the application.
export function Quit(): void;
@@ -61,6 +61,10 @@ export function WindowReload() {
window.runtime.WindowReload();
}
export function WindowReloadApp() {
window.runtime.WindowReloadApp();
}
export function WindowSetSystemDefaultTheme() {
window.runtime.WindowSetSystemDefaultTheme();
}
@@ -90,7 +94,7 @@ export function WindowUnfullscreen() {
}
export function WindowGetSize() {
window.runtime.WindowGetSize();
return window.runtime.WindowGetSize();
}
export function WindowSetSize(width, height) {
@@ -110,7 +114,7 @@ export function WindowSetPosition(x, y) {
}
export function WindowGetPosition() {
window.runtime.WindowGetPosition();
return window.runtime.WindowGetPosition();
}
export function WindowHide() {
@@ -149,6 +153,10 @@ export function BrowserOpenURL(url) {
window.runtime.BrowserOpenURL(url);
}
export function Environment() {
return window.runtime.Environment();
}
export function Quit() {
window.runtime.Quit();
}
@@ -18,6 +18,12 @@ export interface Size {
h: number;
}
// Environment information such as platform, buildtype, ...
export interface EnvironmentInfo {
buildType: string;
platform: string;
arch: string;
}
// [EventsEmit](https://wails.io/docs/reference/runtime/events#eventsemit)
// emits the given event. Optional data may be passed with the event.
@@ -72,6 +78,10 @@ export function LogWarning(message: string): void;
// Forces a reload by the main application as well as connected browsers.
export function WindowReload(): void;
// [WindowReloadApp](https://wails.io/docs/reference/runtime/window#windowreloadapp)
// Reloads the application frontend.
export function WindowReloadApp(): void;
// [WindowSetSystemDefaultTheme](https://wails.io/docs/next/reference/runtime/window#windowsetsystemdefaulttheme)
// *Windows only*
// Sets window theme to system default (dark/light).
@@ -161,10 +171,18 @@ export function WindowUnminimise(): void;
// Sets the background colour of the window to the given RGBA colour definition. This colour will show through for all transparent pixels.
export function WindowSetRGBA(R: number, G: number, B: number, A: number): void;
// Navigates back to the application after navigating away
export function NavigateBackToApp(): void;
// [BrowserOpenURL](https://wails.io/docs/next/reference/runtime/browser#browseropenurl)
// Opens the given URL in the system browser.
export function BrowserOpenURL(url: string): void;
// []()
//
export function Environment(): EnvironmentInfo;
// [Quit](https://wails.io/docs/next/reference/runtime/intro#quit)
// Quits the application.
export function Quit(): void;
@@ -61,6 +61,10 @@ export function WindowReload() {
window.runtime.WindowReload();
}
export function WindowReloadApp() {
window.runtime.WindowReloadApp();
}
export function WindowSetSystemDefaultTheme() {
window.runtime.WindowSetSystemDefaultTheme();
}
@@ -90,7 +94,7 @@ export function WindowUnfullscreen() {
}
export function WindowGetSize() {
window.runtime.WindowGetSize();
return window.runtime.WindowGetSize();
}
export function WindowSetSize(width, height) {
@@ -110,7 +114,7 @@ export function WindowSetPosition(x, y) {
}
export function WindowGetPosition() {
window.runtime.WindowGetPosition();
return window.runtime.WindowGetPosition();
}
export function WindowHide() {
@@ -149,6 +153,10 @@ export function BrowserOpenURL(url) {
window.runtime.BrowserOpenURL(url);
}
export function Environment() {
return window.runtime.Environment();
}
export function Quit() {
window.runtime.Quit();
}
@@ -18,6 +18,12 @@ export interface Size {
h: number;
}
// Environment information such as platform, buildtype, ...
export interface EnvironmentInfo {
buildType: string;
platform: string;
arch: string;
}
// [EventsEmit](https://wails.io/docs/reference/runtime/events#eventsemit)
// emits the given event. Optional data may be passed with the event.
@@ -72,6 +78,10 @@ export function LogWarning(message: string): void;
// Forces a reload by the main application as well as connected browsers.
export function WindowReload(): void;
// [WindowReloadApp](https://wails.io/docs/reference/runtime/window#windowreloadapp)
// Reloads the application frontend.
export function WindowReloadApp(): void;
// [WindowSetSystemDefaultTheme](https://wails.io/docs/next/reference/runtime/window#windowsetsystemdefaulttheme)
// *Windows only*
// Sets window theme to system default (dark/light).
@@ -161,10 +171,18 @@ export function WindowUnminimise(): void;
// Sets the background colour of the window to the given RGBA colour definition. This colour will show through for all transparent pixels.
export function WindowSetRGBA(R: number, G: number, B: number, A: number): void;
// Navigates back to the application after navigating away
export function NavigateBackToApp(): void;
// [BrowserOpenURL](https://wails.io/docs/next/reference/runtime/browser#browseropenurl)
// Opens the given URL in the system browser.
export function BrowserOpenURL(url: string): void;
// []()
//
export function Environment(): EnvironmentInfo;
// [Quit](https://wails.io/docs/next/reference/runtime/intro#quit)
// Quits the application.
export function Quit(): void;
@@ -61,6 +61,10 @@ export function WindowReload() {
window.runtime.WindowReload();
}
export function WindowReloadApp() {
window.runtime.WindowReloadApp();
}
export function WindowSetSystemDefaultTheme() {
window.runtime.WindowSetSystemDefaultTheme();
}
@@ -90,7 +94,7 @@ export function WindowUnfullscreen() {
}
export function WindowGetSize() {
window.runtime.WindowGetSize();
return window.runtime.WindowGetSize();
}
export function WindowSetSize(width, height) {
@@ -110,7 +114,7 @@ export function WindowSetPosition(x, y) {
}
export function WindowGetPosition() {
window.runtime.WindowGetPosition();
return window.runtime.WindowGetPosition();
}
export function WindowHide() {
@@ -149,6 +153,10 @@ export function BrowserOpenURL(url) {
window.runtime.BrowserOpenURL(url);
}
export function Environment() {
return window.runtime.Environment();
}
export function Quit() {
window.runtime.Quit();
}
@@ -18,6 +18,12 @@ export interface Size {
h: number;
}
// Environment information such as platform, buildtype, ...
export interface EnvironmentInfo {
buildType: string;
platform: string;
arch: string;
}
// [EventsEmit](https://wails.io/docs/reference/runtime/events#eventsemit)
// emits the given event. Optional data may be passed with the event.
@@ -72,6 +78,10 @@ export function LogWarning(message: string): void;
// Forces a reload by the main application as well as connected browsers.
export function WindowReload(): void;
// [WindowReloadApp](https://wails.io/docs/reference/runtime/window#windowreloadapp)
// Reloads the application frontend.
export function WindowReloadApp(): void;
// [WindowSetSystemDefaultTheme](https://wails.io/docs/next/reference/runtime/window#windowsetsystemdefaulttheme)
// *Windows only*
// Sets window theme to system default (dark/light).
@@ -161,10 +171,18 @@ export function WindowUnminimise(): void;
// Sets the background colour of the window to the given RGBA colour definition. This colour will show through for all transparent pixels.
export function WindowSetRGBA(R: number, G: number, B: number, A: number): void;
// Navigates back to the application after navigating away
export function NavigateBackToApp(): void;
// [BrowserOpenURL](https://wails.io/docs/next/reference/runtime/browser#browseropenurl)
// Opens the given URL in the system browser.
export function BrowserOpenURL(url: string): void;
// []()
//
export function Environment(): EnvironmentInfo;
// [Quit](https://wails.io/docs/next/reference/runtime/intro#quit)
// Quits the application.
export function Quit(): void;
@@ -61,6 +61,10 @@ export function WindowReload() {
window.runtime.WindowReload();
}
export function WindowReloadApp() {
window.runtime.WindowReloadApp();
}
export function WindowSetSystemDefaultTheme() {
window.runtime.WindowSetSystemDefaultTheme();
}
@@ -90,7 +94,7 @@ export function WindowUnfullscreen() {
}
export function WindowGetSize() {
window.runtime.WindowGetSize();
return window.runtime.WindowGetSize();
}
export function WindowSetSize(width, height) {
@@ -110,7 +114,7 @@ export function WindowSetPosition(x, y) {
}
export function WindowGetPosition() {
window.runtime.WindowGetPosition();
return window.runtime.WindowGetPosition();
}
export function WindowHide() {
@@ -149,6 +153,10 @@ export function BrowserOpenURL(url) {
window.runtime.BrowserOpenURL(url);
}
export function Environment() {
return window.runtime.Environment();
}
export function Quit() {
window.runtime.Quit();
}
@@ -18,6 +18,12 @@ export interface Size {
h: number;
}
// Environment information such as platform, buildtype, ...
export interface EnvironmentInfo {
buildType: string;
platform: string;
arch: string;
}
// [EventsEmit](https://wails.io/docs/reference/runtime/events#eventsemit)
// emits the given event. Optional data may be passed with the event.
@@ -72,6 +78,10 @@ export function LogWarning(message: string): void;
// Forces a reload by the main application as well as connected browsers.
export function WindowReload(): void;
// [WindowReloadApp](https://wails.io/docs/reference/runtime/window#windowreloadapp)
// Reloads the application frontend.
export function WindowReloadApp(): void;
// [WindowSetSystemDefaultTheme](https://wails.io/docs/next/reference/runtime/window#windowsetsystemdefaulttheme)
// *Windows only*
// Sets window theme to system default (dark/light).
@@ -161,10 +171,18 @@ export function WindowUnminimise(): void;
// Sets the background colour of the window to the given RGBA colour definition. This colour will show through for all transparent pixels.
export function WindowSetRGBA(R: number, G: number, B: number, A: number): void;
// Navigates back to the application after navigating away
export function NavigateBackToApp(): void;
// [BrowserOpenURL](https://wails.io/docs/next/reference/runtime/browser#browseropenurl)
// Opens the given URL in the system browser.
export function BrowserOpenURL(url: string): void;
// []()
//
export function Environment(): EnvironmentInfo;
// [Quit](https://wails.io/docs/next/reference/runtime/intro#quit)
// Quits the application.
export function Quit(): void;
@@ -61,6 +61,10 @@ export function WindowReload() {
window.runtime.WindowReload();
}
export function WindowReloadApp() {
window.runtime.WindowReloadApp();
}
export function WindowSetSystemDefaultTheme() {
window.runtime.WindowSetSystemDefaultTheme();
}
@@ -90,7 +94,7 @@ export function WindowUnfullscreen() {
}
export function WindowGetSize() {
window.runtime.WindowGetSize();
return window.runtime.WindowGetSize();
}
export function WindowSetSize(width, height) {
@@ -110,7 +114,7 @@ export function WindowSetPosition(x, y) {
}
export function WindowGetPosition() {
window.runtime.WindowGetPosition();
return window.runtime.WindowGetPosition();
}
export function WindowHide() {
@@ -149,6 +153,10 @@ export function BrowserOpenURL(url) {
window.runtime.BrowserOpenURL(url);
}
export function Environment() {
return window.runtime.Environment();
}
export function Quit() {
window.runtime.Quit();
}
@@ -18,6 +18,12 @@ export interface Size {
h: number;
}
// Environment information such as platform, buildtype, ...
export interface EnvironmentInfo {
buildType: string;
platform: string;
arch: string;
}
// [EventsEmit](https://wails.io/docs/reference/runtime/events#eventsemit)
// emits the given event. Optional data may be passed with the event.
@@ -72,6 +78,10 @@ export function LogWarning(message: string): void;
// Forces a reload by the main application as well as connected browsers.
export function WindowReload(): void;
// [WindowReloadApp](https://wails.io/docs/reference/runtime/window#windowreloadapp)
// Reloads the application frontend.
export function WindowReloadApp(): void;
// [WindowSetSystemDefaultTheme](https://wails.io/docs/next/reference/runtime/window#windowsetsystemdefaulttheme)
// *Windows only*
// Sets window theme to system default (dark/light).
@@ -161,10 +171,18 @@ export function WindowUnminimise(): void;
// Sets the background colour of the window to the given RGBA colour definition. This colour will show through for all transparent pixels.
export function WindowSetRGBA(R: number, G: number, B: number, A: number): void;
// Navigates back to the application after navigating away
export function NavigateBackToApp(): void;
// [BrowserOpenURL](https://wails.io/docs/next/reference/runtime/browser#browseropenurl)
// Opens the given URL in the system browser.
export function BrowserOpenURL(url: string): void;
// []()
//
export function Environment(): EnvironmentInfo;
// [Quit](https://wails.io/docs/next/reference/runtime/intro#quit)
// Quits the application.
export function Quit(): void;
@@ -61,6 +61,10 @@ export function WindowReload() {
window.runtime.WindowReload();
}
export function WindowReloadApp() {
window.runtime.WindowReloadApp();
}
export function WindowSetSystemDefaultTheme() {
window.runtime.WindowSetSystemDefaultTheme();
}
@@ -90,7 +94,7 @@ export function WindowUnfullscreen() {
}
export function WindowGetSize() {
window.runtime.WindowGetSize();
return window.runtime.WindowGetSize();
}
export function WindowSetSize(width, height) {
@@ -110,7 +114,7 @@ export function WindowSetPosition(x, y) {
}
export function WindowGetPosition() {
window.runtime.WindowGetPosition();
return window.runtime.WindowGetPosition();
}
export function WindowHide() {
@@ -149,6 +153,10 @@ export function BrowserOpenURL(url) {
window.runtime.BrowserOpenURL(url);
}
export function Environment() {
return window.runtime.Environment();
}
export function Quit() {
window.runtime.Quit();
}
@@ -18,6 +18,12 @@ export interface Size {
h: number;
}
// Environment information such as platform, buildtype, ...
export interface EnvironmentInfo {
buildType: string;
platform: string;
arch: string;
}
// [EventsEmit](https://wails.io/docs/reference/runtime/events#eventsemit)
// emits the given event. Optional data may be passed with the event.
@@ -72,6 +78,10 @@ export function LogWarning(message: string): void;
// Forces a reload by the main application as well as connected browsers.
export function WindowReload(): void;
// [WindowReloadApp](https://wails.io/docs/reference/runtime/window#windowreloadapp)
// Reloads the application frontend.
export function WindowReloadApp(): void;
// [WindowSetSystemDefaultTheme](https://wails.io/docs/next/reference/runtime/window#windowsetsystemdefaulttheme)
// *Windows only*
// Sets window theme to system default (dark/light).
@@ -161,10 +171,18 @@ export function WindowUnminimise(): void;
// Sets the background colour of the window to the given RGBA colour definition. This colour will show through for all transparent pixels.
export function WindowSetRGBA(R: number, G: number, B: number, A: number): void;
// Navigates back to the application after navigating away
export function NavigateBackToApp(): void;
// [BrowserOpenURL](https://wails.io/docs/next/reference/runtime/browser#browseropenurl)
// Opens the given URL in the system browser.
export function BrowserOpenURL(url: string): void;
// []()
//
export function Environment(): EnvironmentInfo;
// [Quit](https://wails.io/docs/next/reference/runtime/intro#quit)
// Quits the application.
export function Quit(): void;
@@ -61,6 +61,10 @@ export function WindowReload() {
window.runtime.WindowReload();
}
export function WindowReloadApp() {
window.runtime.WindowReloadApp();
}
export function WindowSetSystemDefaultTheme() {
window.runtime.WindowSetSystemDefaultTheme();
}
@@ -90,7 +94,7 @@ export function WindowUnfullscreen() {
}
export function WindowGetSize() {
window.runtime.WindowGetSize();
return window.runtime.WindowGetSize();
}
export function WindowSetSize(width, height) {
@@ -110,7 +114,7 @@ export function WindowSetPosition(x, y) {
}
export function WindowGetPosition() {
window.runtime.WindowGetPosition();
return window.runtime.WindowGetPosition();
}
export function WindowHide() {
@@ -149,6 +153,10 @@ export function BrowserOpenURL(url) {
window.runtime.BrowserOpenURL(url);
}
export function Environment() {
return window.runtime.Environment();
}
export function Quit() {
window.runtime.Quit();
}
@@ -18,6 +18,12 @@ export interface Size {
h: number;
}
// Environment information such as platform, buildtype, ...
export interface EnvironmentInfo {
buildType: string;
platform: string;
arch: string;
}
// [EventsEmit](https://wails.io/docs/reference/runtime/events#eventsemit)
// emits the given event. Optional data may be passed with the event.
@@ -72,6 +78,10 @@ export function LogWarning(message: string): void;
// Forces a reload by the main application as well as connected browsers.
export function WindowReload(): void;
// [WindowReloadApp](https://wails.io/docs/reference/runtime/window#windowreloadapp)
// Reloads the application frontend.
export function WindowReloadApp(): void;
// [WindowSetSystemDefaultTheme](https://wails.io/docs/next/reference/runtime/window#windowsetsystemdefaulttheme)
// *Windows only*
// Sets window theme to system default (dark/light).
@@ -161,10 +171,18 @@ export function WindowUnminimise(): void;
// Sets the background colour of the window to the given RGBA colour definition. This colour will show through for all transparent pixels.
export function WindowSetRGBA(R: number, G: number, B: number, A: number): void;
// Navigates back to the application after navigating away
export function NavigateBackToApp(): void;
// [BrowserOpenURL](https://wails.io/docs/next/reference/runtime/browser#browseropenurl)
// Opens the given URL in the system browser.
export function BrowserOpenURL(url: string): void;
// []()
//
export function Environment(): EnvironmentInfo;
// [Quit](https://wails.io/docs/next/reference/runtime/intro#quit)
// Quits the application.
export function Quit(): void;
@@ -61,6 +61,10 @@ export function WindowReload() {
window.runtime.WindowReload();
}
export function WindowReloadApp() {
window.runtime.WindowReloadApp();
}
export function WindowSetSystemDefaultTheme() {
window.runtime.WindowSetSystemDefaultTheme();
}
@@ -90,7 +94,7 @@ export function WindowUnfullscreen() {
}
export function WindowGetSize() {
window.runtime.WindowGetSize();
return window.runtime.WindowGetSize();
}
export function WindowSetSize(width, height) {
@@ -110,7 +114,7 @@ export function WindowSetPosition(x, y) {
}
export function WindowGetPosition() {
window.runtime.WindowGetPosition();
return window.runtime.WindowGetPosition();
}
export function WindowHide() {
@@ -149,6 +153,10 @@ export function BrowserOpenURL(url) {
window.runtime.BrowserOpenURL(url);
}
export function Environment() {
return window.runtime.Environment();
}
export function Quit() {
window.runtime.Quit();
}
@@ -18,6 +18,12 @@ export interface Size {
h: number;
}
// Environment information such as platform, buildtype, ...
export interface EnvironmentInfo {
buildType: string;
platform: string;
arch: string;
}
// [EventsEmit](https://wails.io/docs/reference/runtime/events#eventsemit)
// emits the given event. Optional data may be passed with the event.
@@ -72,6 +78,10 @@ export function LogWarning(message: string): void;
// Forces a reload by the main application as well as connected browsers.
export function WindowReload(): void;
// [WindowReloadApp](https://wails.io/docs/reference/runtime/window#windowreloadapp)
// Reloads the application frontend.
export function WindowReloadApp(): void;
// [WindowSetSystemDefaultTheme](https://wails.io/docs/next/reference/runtime/window#windowsetsystemdefaulttheme)
// *Windows only*
// Sets window theme to system default (dark/light).
@@ -161,10 +171,18 @@ export function WindowUnminimise(): void;
// Sets the background colour of the window to the given RGBA colour definition. This colour will show through for all transparent pixels.
export function WindowSetRGBA(R: number, G: number, B: number, A: number): void;
// Navigates back to the application after navigating away
export function NavigateBackToApp(): void;
// [BrowserOpenURL](https://wails.io/docs/next/reference/runtime/browser#browseropenurl)
// Opens the given URL in the system browser.
export function BrowserOpenURL(url: string): void;
// []()
//
export function Environment(): EnvironmentInfo;
// [Quit](https://wails.io/docs/next/reference/runtime/intro#quit)
// Quits the application.
export function Quit(): void;
@@ -61,6 +61,10 @@ export function WindowReload() {
window.runtime.WindowReload();
}
export function WindowReloadApp() {
window.runtime.WindowReloadApp();
}
export function WindowSetSystemDefaultTheme() {
window.runtime.WindowSetSystemDefaultTheme();
}
@@ -90,7 +94,7 @@ export function WindowUnfullscreen() {
}
export function WindowGetSize() {
window.runtime.WindowGetSize();
return window.runtime.WindowGetSize();
}
export function WindowSetSize(width, height) {
@@ -110,7 +114,7 @@ export function WindowSetPosition(x, y) {
}
export function WindowGetPosition() {
window.runtime.WindowGetPosition();
return window.runtime.WindowGetPosition();
}
export function WindowHide() {
@@ -149,6 +153,10 @@ export function BrowserOpenURL(url) {
window.runtime.BrowserOpenURL(url);
}
export function Environment() {
return window.runtime.Environment();
}
export function Quit() {
window.runtime.Quit();
}

Some files were not shown because too many files have changed in this diff Show More