refactor: main code

This commit is contained in:
kangfenmao
2024-11-02 23:29:16 +08:00
parent 2f05435ce6
commit bddedb7759
13 changed files with 81 additions and 63 deletions
@@ -168,7 +168,6 @@ body,
body[os='mac'] {
#content-container {
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
border-left: 0.5px solid var(--color-border);
box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.05);
}
+1 -1
View File
@@ -26,7 +26,7 @@ export async function restore() {
const restoreData = await window.api.backup.restore(file.filePath)
data = JSON.parse(restoreData)
} else {
data = JSON.parse(await window.api.decompress(file.content))
data = JSON.parse(await window.api.zip.decompress(file.content))
}
await handleData(data)