Fixed default output path not found

This commit is contained in:
2022-06-13 19:45:10 +02:00
parent 2b0bfb9429
commit 179d7f9d7b
3 changed files with 1 additions and 50 deletions

View File

@@ -1,11 +1,10 @@
import path from 'path';
import {app} from '@electron/remote';
import getPath from 'platform-folders';
export const dataPath = app.getPath('userData');
export const SettingPath = path.join(dataPath, "settings.xml");
export const defaultOutputPath = path.join(getPath('videos') || "", "StickExporterTX");
export const defaultOutputPath = path.join(app.getPath('videos'), "StickExporterTX");
export const blenderPath = path.join("assets", "blender", "blender");
export const templatePath = path.join("assets", "template.blend");