Refactoring

This commit is contained in:
2020-12-12 23:44:53 -06:00
parent 21c17d7080
commit 258080fdcf
3 changed files with 25 additions and 19 deletions

View File

@@ -72,22 +72,7 @@ const addListeners = (ipcMain, {standardIPCReply}) => {
};
if (data.IsWinFSP) {
helpers
.performWindowsUninstall([
'WinFsp 2019',
'WinFsp 2019.0',
'WinFsp 2019.1',
'WinFsp 2019.2',
'WinFsp 2019.3',
'WinFsp 2019.3 B1',
'WinFsp 2019.3 B2',
'WinFsp 2019.3 B3',
'WinFsp 2019.3 B4',
'WinFsp 2019.3 B5',
'WinFsp 2020',
'WinFsp 2020.0',
'WinFsp 2020.1',
'WinFsp 2020.2',
])
.performWindowsUninstall(Constants.WINFSP_VERSION_NAMES)
.then(uninstalled => {
if (uninstalled) {
standardIPCReply(event, Constants.IPC_Install_Dependency_Reply, {