Skip to content

Commit 687df3f

Browse files
committed
Fixed bug when importing profiles due to getEntries not being deserialized
1 parent 22c7357 commit 687df3f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src-electron/preload/zip-preload.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ export function readFile(zip: string | Buffer, file: string): Promise<string> {
99
}
1010

1111
export function getEntries(zip: string): Promise<any> {
12-
return ipcRenderer.invoke('zip:getEntries', zip);
12+
return ipcRenderer.invoke('zip:getEntries', zip)
13+
.then(JSON.parse);
1314
}
1415

1516
export function extractEntryTo(zip: string | Buffer, target: string, outputPath: string): Promise<void> {

0 commit comments

Comments
 (0)