mirror of
https://github.com/LinoSchmidt/StickExporterTX.git
synced 2026-03-21 01:51:15 +01:00
Added finish icon
This commit is contained in:
BIN
assets/render_finished_icon.png
Normal file
BIN
assets/render_finished_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
@@ -119,7 +119,8 @@ function startBlender() {
|
|||||||
openPage(Page.RenderFinish);
|
openPage(Page.RenderFinish);
|
||||||
// TODO: only show notification if not in do not disturb mode, currently not working. Details: https://github.com/felixrieseberg/macos-notification-state/issues/30
|
// 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", {
|
new Notification("Render Finished", {
|
||||||
body: "Rendering finished successfully!"
|
body: "Rendering finished successfully!",
|
||||||
|
icon: "../assets/render_finished_icon.png"
|
||||||
}).onclick = function() {
|
}).onclick = function() {
|
||||||
ipcRenderer.send("openApp");
|
ipcRenderer.send("openApp");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user