rubick/src/common/constans/renderer.ts
2023-11-10 14:35:37 +08:00

10 lines
276 B
TypeScript

import { app } from '@electron/remote';
import path from 'path';
const appPath = app.getPath('userData');
const PLUGIN_INSTALL_DIR = path.join(appPath, './rubick-plugins-new');
const PLUGIN_HISTORY = 'rubick-local-start-app';
export { PLUGIN_INSTALL_DIR, PLUGIN_HISTORY };