mirror of
https://github.com/HugoAura/Seewo-HugoAura.git
synced 2026-06-21 23:54:26 +08:00
[Feat] Bump version to 0.1.0-beta && 1st rel
This commit is contained in:
10
src/aura/init/main/ipcHandler.js
Normal file
10
src/aura/init/main/ipcHandler.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const buildIpcMain = (electron) => {
|
||||
const { app, ipcMain } = electron;
|
||||
|
||||
ipcMain.handle("$aura.base.restartApplication", async () => {
|
||||
app.relaunch();
|
||||
app.exit(0);
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = { buildIpcMain };
|
||||
Reference in New Issue
Block a user