aboutsummaryrefslogtreecommitdiff
path: root/views/script/credits_music.js
diff options
context:
space:
mode:
Diffstat (limited to 'views/script/credits_music.js')
-rw-r--r--views/script/credits_music.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/script/credits_music.js b/views/script/credits_music.js
new file mode 100644
index 0000000..7a4883b
--- /dev/null
+++ b/views/script/credits_music.js
@@ -0,0 +1,4 @@
+if (require('@electron/remote').getCurrentWindow().music) {
+ info("MusicMgr", "Playing settings.mp3");
+ require('electron').ipcRenderer.send('newmusic', kresources.music['credits'].file);
+} \ No newline at end of file