Fix build

This commit is contained in:
Thomas Nordquist
2020-01-17 09:29:50 +01:00
parent 8645789550
commit 34cc38ab3c
11 changed files with 548 additions and 244 deletions

View File

@@ -65,13 +65,10 @@ async function openCertificate(): Promise<CertificateParameters> {
certificateSizeDoesNotMatch: 'Certificate size larger/smaller then expected.',
}
const openDialogReturnValue = await remote.dialog.showOpenDialog(
remote.getCurrentWindow(),
{
properties: ['openFile'],
securityScopedBookmarks: true,
}
)
const openDialogReturnValue = await remote.dialog.showOpenDialog(remote.getCurrentWindow(), {
properties: ['openFile'],
securityScopedBookmarks: true,
})
const selectedFile = openDialogReturnValue.filePaths && openDialogReturnValue.filePaths[0]
if (!selectedFile) {