mirror of
https://github.com/LinoSchmidt/StickExporterTX.git
synced 2026-03-21 01:51:15 +01:00
Added download script for blender
This commit is contained in:
@@ -6,6 +6,15 @@ export const SettingPath = path.join(dataPath, "settings.xml");
|
||||
|
||||
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");
|
||||
export const blenderScriptPath = path.join("assets", "blenderScript.py");
|
||||
let platformFolder = "";
|
||||
if(process.platform === "win32"){
|
||||
platformFolder = "windows";
|
||||
} else if(process.platform === "darwin"){
|
||||
platformFolder = "darwin";
|
||||
} else if(process.platform === "linux"){
|
||||
platformFolder = "linux";
|
||||
}
|
||||
|
||||
export const blenderPath = path.join("dependencies", platformFolder, "blender", "blender");
|
||||
export const templatePath = path.join("dependencies", "template.blend");
|
||||
export const blenderScriptPath = path.join("dependencies", "blenderScript.py");
|
||||
Reference in New Issue
Block a user