chore: open app data should lead user to jan root (#749)
This commit is contained in:
parent
d6807f50c4
commit
9a52135b1f
@ -29,7 +29,8 @@ export function handleAppIPCs() {
|
|||||||
* @param _event - The IPC event object.
|
* @param _event - The IPC event object.
|
||||||
*/
|
*/
|
||||||
ipcMain.handle("openAppDirectory", async (_event) => {
|
ipcMain.handle("openAppDirectory", async (_event) => {
|
||||||
shell.openPath(app.getPath("userData"));
|
const userSpacePath = join(app.getPath('home'), 'jan')
|
||||||
|
shell.openPath(userSpacePath);
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user