Layout changes
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user