You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/ts/node/getRootPath.ts

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, '..', '..');
}