diff options
author | Minteck <nekostarfan@gmail.com> | 2021-06-05 21:03:47 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-06-05 21:03:47 +0200 |
commit | 4ec6f33be6130705b81f19fdc9e2fe01b4a3e7e2 (patch) | |
tree | 5b302015939c129ea7fdffc9560fdd89e2547039 /crash | |
parent | 97ebd65491420363f74ae9e5e6bf77495a37172f (diff) | |
download | kartik-client-4ec6f33be6130705b81f19fdc9e2fe01b4a3e7e2.tar.gz kartik-client-4ec6f33be6130705b81f19fdc9e2fe01b4a3e7e2.tar.bz2 kartik-client-4ec6f33be6130705b81f19fdc9e2fe01b4a3e7e2.zip |
Stats presque fini
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"); } |