import { app } from 'electron';
import path from 'path';
import packageJson from '../../../package.json';
import { isDev } from './dev';

export const appPath = path.resolve(app.getPath('userData'), `${packageJson.version}${isDev() ? '-dev' : ''}`);
