You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Desktop: Attach log to crash dump when the application crashes
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
// eslint-disable-next-line import/prefer-default-export
|
||||
export const KB = 1024;
|
||||
export const MB = KB * KB;
|
||||
export const GB = KB * MB;
|
||||
|
||||
export const bytesToHuman = (bytes: number) => {
|
||||
const units = ['Bytes', 'KB', 'MB', 'GB'];
|
||||
let unitIndex = 0;
|
||||
|
Reference in New Issue
Block a user