fix(ui): fixed missing directory browser button in KopiaUI (#2155)

Fixes #2145
This commit is contained in:
Jarek Kowalski
2022-07-06 18:40:51 -07:00
committed by GitHub
parent aec08c84c2
commit 0f680cd24e

View File

@@ -31,7 +31,7 @@ function showRepoWindow(repoID) {
title: 'KopiaUI is Loading...',
autoHideMenuBar: true,
webPreferences: {
preload: path.join(__dirname, 'preload.js'),
preload: path.join(resourcesPath(), 'preload.js'),
},
})