Skip to content

Commit

Permalink
getOS IPC call
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasLukasczyk committed Dec 12, 2024
1 parent 535bd01 commit ae19c39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/main/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const initCore = async () => {
}
ipcMain.handle('CORE.getVersion', ()=>app.getVersion());
ipcMain.handle('CORE.getTempPath', ()=>app.getPath('temp'));
ipcMain.handle('CORE.getOS', ()=>os.platform());
ipcMain.handle('CORE.reset', ()=>{
LocalFileSystemService.remove( null, app.getPath('userData') );
initConfig();
Expand Down

0 comments on commit ae19c39

Please sign in to comment.