#36: Add ability to select Linux distribution type if OS is unsupported - partial
This commit is contained in:
@@ -4,6 +4,7 @@ import {getIPCRenderer} from '../../utils';
|
||||
|
||||
const ipcRenderer = getIPCRenderer();
|
||||
|
||||
export const displaySelectAppPlatform = createAction('common/displaySelectAppPlatform');
|
||||
export const notifyRebootRequired = createAction('common/notifyRebootRequired');
|
||||
export const setAllowMount = createAction('common/setAllowMount');
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import {createReducer} from 'redux-starter-kit';
|
||||
import {
|
||||
displaySelectAppPlatform,
|
||||
notifyRebootRequired,
|
||||
setAllowMount,
|
||||
setApplicationReady,
|
||||
@@ -10,10 +11,17 @@ export const createCommonReducer = (platform, appPlatform, version) => {
|
||||
AllowMount: false,
|
||||
AppPlatform: appPlatform,
|
||||
AppReady: false,
|
||||
DisplaySelectAppPlatform: false,
|
||||
Platform: platform,
|
||||
RebootRequired: false,
|
||||
Version: version,
|
||||
}, {
|
||||
[displaySelectAppPlatform]: (state, action) => {
|
||||
return {
|
||||
...state,
|
||||
DisplaySelectAppPlatform: action.payload,
|
||||
}
|
||||
},
|
||||
[setAllowMount]: (state, action) => {
|
||||
return {
|
||||
...state,
|
||||
|
||||
Reference in New Issue
Block a user