diff options
Diffstat (limited to 'crash')
-rw-r--r-- | crash/client.js | 2 | ||||
-rw-r--r-- | crash/crash.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crash/client.js b/crash/client.js index d5ea355..e70467f 100644 --- a/crash/client.js +++ b/crash/client.js @@ -3,7 +3,7 @@ if (native) { try { require('@electron/remote').getCurrentWindow().hide(); } catch (e) {} - id = new Date().toISOString(); + id = new Date().toISOString().replaceAll(":", "-"); try { global.pkg = require('./package.json'); diff --git a/crash/crash.html b/crash/crash.html index 5b922aa..ec4e5ca 100644 --- a/crash/crash.html +++ b/crash/crash.html @@ -46,7 +46,7 @@ <p><script> document.write(lang.crash.report[0]); if (require('os').platform() === "win32") { - document.write(require('os').userInfo().homedir + "\\.kartik\\pilot\\crashes"); + document.write(require('os').userInfo().homedir + "\\.kartik\\crashes"); } else { document.write(require('os').userInfo().homedir + "/.kartik/crashes"); } |