mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
10 lines
269 B
TypeScript
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, '..', '..');
|
|
}
|