Layout changes

This commit is contained in:
Scott E. Graves
2018-12-12 15:29:38 -06:00
parent 71d329b61b
commit 2e651af8ec
2 changed files with 5 additions and 4 deletions

View File

@@ -386,7 +386,6 @@ ipcMain.on(Constants.IPC_Detect_Mounts, (event, data) => {
});
})
.catch(error => {
console.log(error);
if (os.platform() === 'win32') {
grabDriveLetters({});
}
@@ -502,7 +501,6 @@ ipcMain.on(Constants.IPC_Grab_UI_Releases, (event) => {
});
ipcMain.on(Constants.IPC_Install_Dependency, (event, data) => {
console.log(data);
if (data.Source.toLowerCase().endsWith('.dmg')) {
helpers
.executeAsync('hdiutil', ['attach', data.Source])
@@ -513,7 +511,6 @@ ipcMain.on(Constants.IPC_Install_Dependency, (event, data) => {
});
})
.catch(error=> {
console.log(error);
standardIPCReply(event, Constants.IPC_Install_Dependency_Reply, {
Source: data.Source,
URL: data.URL,
@@ -593,7 +590,6 @@ ipcMain.on(Constants.IPC_Mount_Drive, (event, data) => {
StorageType: data.StorageType,
};
const errorHandler = (pid, error) => {
console.log(pid, error);
if (mountedLocations.indexOf(data.Location) !== -1) {
mountedLocations.splice(mountedLocations.indexOf(data.Location), 1);
delete mountedData[data.Location];