mirror of
https://github.com/frappe/books.git
synced 2026-09-28 01:46:20 -04:00
fix: period selector issue, version issue
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { dialog, ipcMain } from 'electron';
|
||||
import { app, dialog, ipcMain } from 'electron';
|
||||
import { autoUpdater } from 'electron-updater';
|
||||
import fs from 'fs/promises';
|
||||
import path from 'path';
|
||||
@@ -112,4 +112,8 @@ export default function registerIpcMainActionListeners(main: Main) {
|
||||
ipcMain.handle(IPC_ACTIONS.GET_CREDS, async (event) => {
|
||||
return await getUrlAndTokenString();
|
||||
});
|
||||
|
||||
ipcMain.handle(IPC_ACTIONS.GET_VERSION, (_) => {
|
||||
return app.getVersion();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user