mirror of
https://github.com/taigrr/wails.git
synced 2026-04-17 04:05:12 -07:00
Merge branch 'v2-alpha' into 796-support-browseropenurl
This commit is contained in:
@@ -14,9 +14,15 @@ import * as Events from './events';
|
||||
import * as Window from './window';
|
||||
import * as Browser from './browser';
|
||||
|
||||
export function Quit() {
|
||||
window.runtime.Quit();
|
||||
}
|
||||
|
||||
|
||||
export default {
|
||||
...Log,
|
||||
...Events,
|
||||
...Window,
|
||||
...Browser
|
||||
...Browser,
|
||||
Quit
|
||||
};
|
||||
@@ -71,11 +71,11 @@ interface runtime {
|
||||
|
||||
WindowUnminimise(): void
|
||||
|
||||
WindowSetRGBA(rgba: RGBA): void;
|
||||
|
||||
WindowClose(): void
|
||||
WindowSetRGBA(rgba: RGBA): void
|
||||
|
||||
BrowserOpenURL(): void
|
||||
|
||||
Quit(): void
|
||||
}
|
||||
|
||||
declare global {
|
||||
|
||||
@@ -185,12 +185,3 @@ export function WindowUnminimise() {
|
||||
export function WindowSetRGBA(RGBA) {
|
||||
window.runtime.WindowSetRGBA(RGBA);
|
||||
}
|
||||
|
||||
/**
|
||||
* Close the Window
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
export function WindowClose() {
|
||||
window.runtime.WindowClose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user