Initial scaffold for Aether Native V3 Electron Launcher
This commit is contained in:
10
dist/preload/index.js
vendored
Normal file
10
dist/preload/index.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const electron_1 = require("electron");
|
||||
electron_1.contextBridge.exposeInMainWorld('aetherNative', {
|
||||
getSeedConfig: () => electron_1.ipcRenderer.invoke('get-seed-config'),
|
||||
getDeviceConfig: () => electron_1.ipcRenderer.invoke('get-device-config'),
|
||||
getJWT: () => electron_1.ipcRenderer.invoke('get-jwt'),
|
||||
log: (message) => console.log('[Native Log]', message),
|
||||
});
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
dist/preload/index.js.map
vendored
Normal file
1
dist/preload/index.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/preload/index.ts"],"names":[],"mappings":";;AAAA,uCAAsD;AAEtD,wBAAa,CAAC,iBAAiB,CAAC,cAAc,EAAE;IAC9C,aAAa,EAAE,GAAG,EAAE,CAAC,sBAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC;IAC1D,eAAe,EAAE,GAAG,EAAE,CAAC,sBAAW,CAAC,MAAM,CAAC,mBAAmB,CAAC;IAC9D,MAAM,EAAE,GAAG,EAAE,CAAC,sBAAW,CAAC,MAAM,CAAC,SAAS,CAAC;IAC3C,GAAG,EAAE,CAAC,OAAe,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC;CAC/D,CAAC,CAAC"}
|
||||
Reference in New Issue
Block a user