add contribution actions

This commit is contained in:
MathieuG-P
2022-10-17 01:10:43 +02:00
parent 9fbceb1fe4
commit 513aef87fc
9 changed files with 88 additions and 8 deletions
+4
View File
@@ -48,3 +48,7 @@ ipcMain.on('save-file', async (event, request: IpcRequest<{filename?: string, fi
ipcMain.on("current-version", async (event, request: IpcRequest<void>) => {
UtilsService.getInstance().ipcSend(request.responceChannel, {success: true, data: app.getVersion()});
});
ipcMain.on("open-logs", async (event, request: IpcRequest<void>) => {
shell.openPath(app.getPath("logs"));
});