session-desktop/ts/node/getRootPath.ts
2022-04-27 11:27:44 +10:00

10 lines
269 B
TypeScript

import { join } from 'path';
/**
* This always returns the app root path, either packaged or from the source code tree
* If you move this file around, you will need to update those lines
*/
export function getAppRootPath() {
return join(__dirname, '..', '..');
}