Package upgrades

This commit is contained in:
2020-02-04 12:59:58 -06:00
parent 6095186ffc
commit c7ca05d43c
13 changed files with 41 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
import * as Constants from '../../constants';
import {createAction} from 'redux-starter-kit';
import {createAction} from '@reduxjs/toolkit';
import {getIPCRenderer} from '../../utils';
const ipcRenderer = getIPCRenderer();
@@ -126,4 +126,4 @@ export const shutdownApplication = () => {
ipcRenderer.send(Constants.IPC_Shutdown);
}
};
};
};

View File

@@ -1,5 +1,5 @@
import * as Constants from '../../constants';
import {createAction} from 'redux-starter-kit';
import {createAction} from '@reduxjs/toolkit';
import {getIPCRenderer} from '../../utils';
import {notifyError} from './error_actions';
import {
@@ -96,4 +96,4 @@ export const downloadItem = (name, type, urls, isWinFSP, testVersion, appPlatfor
};
downloadAtIndex(0);
};
};
};

View File

@@ -1,5 +1,5 @@
import * as Constants from '../../constants';
import {createAction} from 'redux-starter-kit';
import {createAction} from '@reduxjs/toolkit';
import {
getIPCRenderer,
getSelectedVersionFromState

View File

@@ -1,5 +1,5 @@
import * as Constants from '../../constants';
import {createAction} from 'redux-starter-kit';
import {createAction} from '@reduxjs/toolkit';
import {getIPCRenderer} from '../../utils';
import {
confirmYesNo,
@@ -156,4 +156,4 @@ export const unmountAll = completedCallback => {
ipcRenderer.once(Constants.IPC_Unmount_All_Drives_Reply, unmountedCallback);
ipcRenderer.send(Constants.IPC_Unmount_All_Drives);
}
};
};

View File

@@ -1,6 +1,6 @@
import axios from 'axios';
import * as Constants from '../../constants';
import {createAction} from 'redux-starter-kit';
import {createAction} from '@reduxjs/toolkit';
import {notifyError} from './error_actions';
import {
saveState,
@@ -181,4 +181,4 @@ export const setUIUpgradeData = (upgradeData, version) => {
version: version,
}
}
};
};