mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
10 lines
215 B
TypeScript
10 lines
215 B
TypeScript
import { app } from 'electron';
|
|
import path from 'path';
|
|
|
|
export const appContext = {
|
|
appName: app.name,
|
|
appDataPath: path.join(app.getPath('appData'), app.name),
|
|
};
|
|
|
|
export type AppContext = typeof appContext;
|