We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22c7357 commit 687df3fCopy full SHA for 687df3f
1 file changed
src-electron/preload/zip-preload.ts
@@ -9,7 +9,8 @@ export function readFile(zip: string | Buffer, file: string): Promise<string> {
9
}
10
11
export function getEntries(zip: string): Promise<any> {
12
- return ipcRenderer.invoke('zip:getEntries', zip);
+ return ipcRenderer.invoke('zip:getEntries', zip)
13
+ .then(JSON.parse);
14
15
16
export function extractEntryTo(zip: string | Buffer, target: string, outputPath: string): Promise<void> {
0 commit comments