first commit

This commit is contained in:
编码猿
2024-09-27 01:23:51 +08:00
commit 72ab70b6fd
212 changed files with 30296 additions and 0 deletions

13
dist/core/ipc/module/openBrowser.ipc.js vendored Normal file
View File

@@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.openBrowserIpc = void 0;
const electron_1 = require("electron");
class openBrowserIpc {
openDefaultBrowser() {
electron_1.ipcMain.on('openBrowser', async (event, arg) => {
electron_1.shell.openExternal(arg.url);
});
}
}
exports.openBrowserIpc = openBrowserIpc;
//# sourceMappingURL=openBrowser.ipc.js.map