#36: Add ability to select Linux distribution type if OS is unsupported

This commit is contained in:
2019-08-28 21:20:30 -05:00
parent 0105602a44
commit 083b2192d7
5 changed files with 44 additions and 5 deletions

View File

@@ -139,7 +139,7 @@ export const installDependency = (source, url, isWinFSP) => {
export const installAndTestRelease = (source, version, appPlatform) => {
return (dispatch, getState) => {
if (ipcRenderer && !getState().install.InstallTestActive) {
if (ipcRenderer && getState().install.InstallTestActive) {
const extractReleaseComplete = (event, arg) => {
ipcRenderer.send(Constants.IPC_Delete_File, {
FilePath: source,
@@ -153,6 +153,7 @@ export const installAndTestRelease = (source, version, appPlatform) => {
dispatch(setLinuxAppPlatform(appPlatform));
dispatch(setInstallTestActive(false));
dispatch(displaySelectAppPlatform(false));
dispatch(setAllowDownload(false));
dispatch(loadReleases());
} else {
dispatch(notifyError(arg.data.Error));