#36: Add ability to select Linux distribution type if OS is unsupported - partial
This commit is contained in:
@@ -4,9 +4,17 @@ import {getIPCRenderer} from '../../utils';
|
||||
|
||||
const ipcRenderer = getIPCRenderer();
|
||||
|
||||
export const displaySelectAppPlatform = createAction('common/displaySelectAppPlatform');
|
||||
export const displaySelectAppPlatform = display => {
|
||||
return dispatch => {
|
||||
if (display) {
|
||||
dispatch(showWindow());
|
||||
}
|
||||
|
||||
dispatch(setDisplaySelectAppPlatform(display));
|
||||
};
|
||||
};
|
||||
|
||||
export const notifyRebootRequired = createAction('common/notifyRebootRequired');
|
||||
export const setAllowMount = createAction('common/setAllowMount');
|
||||
|
||||
export const rebootSystem = () => {
|
||||
return dispatch => {
|
||||
@@ -17,7 +25,19 @@ export const rebootSystem = () => {
|
||||
}
|
||||
};
|
||||
|
||||
export const setAllowMount = createAction('common/setAllowMount');
|
||||
export const setApplicationReady = createAction('common/setApplicationReady');
|
||||
|
||||
export const SET_DISPLAY_SELECT_APPPLATFORM = 'common/displaySelectAppPlatform';
|
||||
export const setDisplaySelectAppPlatform = display => {
|
||||
return {
|
||||
type: SET_DISPLAY_SELECT_APPPLATFORM,
|
||||
payload: display,
|
||||
};
|
||||
};
|
||||
|
||||
export const setLinuxAppPlatform = createAction('common/setLinuxAppPlatform');
|
||||
|
||||
export const setRebootRequired = () => {
|
||||
return dispatch => {
|
||||
dispatch(showWindow());
|
||||
|
||||
Reference in New Issue
Block a user