Fix install
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user