Files
StickExporterTX/src/components/paths.ts

9 lines
392 B
TypeScript

import path from 'path';
import {app} from '@electron/remote';
export const dataPath = app.getPath('userData');
export const SettingPath = path.join(dataPath, "settings.xml");
export const blenderPath = path.join("assets", "blender-win", "blender");
export const templatePath = path.join("assets", "template.blend");
export const blenderScriptPath = path.join("assets", "blenderScript.py");