mirror of
https://github.com/LinoSchmidt/StickExporterTX.git
synced 2026-03-23 02:26:11 +01:00
Fixed icon paths after build
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { blenderPath, blenderScriptPath, dataPath, templatePath } from "./paths";
|
||||
import { blenderPath, blenderScriptPath, dataPath, templatePath, finsishedIconPath } from "./paths";
|
||||
import {spawn} from "child_process";
|
||||
import logger from "./logger";
|
||||
import { setBlenderLoading, setBlenderStatus } from "./ui/menu";
|
||||
@@ -120,7 +120,7 @@ function startBlender() {
|
||||
// TODO: only show notification if not in do not disturb mode, currently not working. Details: https://github.com/felixrieseberg/macos-notification-state/issues/30
|
||||
new Notification("Render Finished", {
|
||||
body: "Rendering finished successfully!",
|
||||
icon: "../assets/render_finished_icon.png"
|
||||
icon: finsishedIconPath
|
||||
}).onclick = function() {
|
||||
ipcRenderer.send("openApp");
|
||||
}
|
||||
|
||||
@@ -18,4 +18,6 @@ export function platformCharacter() {
|
||||
|
||||
export const blenderPath = path.join(appPath, "dependencies", platformFolder, "blender", "blender");
|
||||
export const templatePath = path.join(appPath, "dependencies", "template.blend");
|
||||
export const blenderScriptPath = path.join(appPath, "dependencies", "blenderScript.py");
|
||||
export const blenderScriptPath = path.join(appPath, "dependencies", "blenderScript.py");
|
||||
|
||||
export const finsishedIconPath = path.join(appPath, "assets", "render_finished_icon.png");
|
||||
Reference in New Issue
Block a user