Fix install

This commit is contained in:
Scott E. Graves
2019-06-27 02:21:04 -05:00
parent 6df557e4e3
commit 98f48a66c3
2 changed files with 11 additions and 7 deletions

View File

@@ -79,7 +79,7 @@ export const installRelease = (source, version, completedCallback) => {
const extractReleaseComplete = (event, arg) => {
ipcRenderer.removeListener(Constants.IPC_Extract_Release_Complete, extractReleaseComplete);
ipcRenderer.sendSync(Constants.IPC_Delete_File, {
ipcRenderer.send(Constants.IPC_Delete_File, {
FilePath: source,
});
@@ -103,7 +103,7 @@ export const installUpgrade = (source, sha256, signature, skipVerification, comp
const installUpgradeComplete = (event, arg) => {
ipcRenderer.removeListener(Constants.IPC_Install_Upgrade_Reply, installUpgradeComplete);
ipcRenderer.sendSync(Constants.IPC_Delete_File, {
ipcRenderer.send(Constants.IPC_Delete_File, {
FilePath: source,
});