5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 16:21:11 +08:00
wails/v2/internal/runtime/js/core/browser.js
2020-10-20 09:10:09 +11:00

25 lines
459 B
JavaScript

/*
_ __ _ __
| | / /___ _(_) /____
| | /| / / __ `/ / / ___/
| |/ |/ / /_/ / / (__ )
|__/|__/\__,_/_/_/____/
The lightweight framework for web-like apps
(c) Lea Anthony 2019-present
*/
/* jshint esversion: 6 */
import { SendMessage } from 'ipc';
/**
* Opens the given URL / filename in the system browser
*
* @export
* @param {string} target
* @returns
*/
export function Open(target) {
return SendMessage('RBO' + target);
}