this.handleMountLocationChanged(provider, e.target.value)}
clicked={this.handleMountUnMount}
@@ -375,7 +372,7 @@ class MountItems extends IPCContainer {
} else {
items.splice(items.length - 1, 1)
}
-
+
return (
{retryDisplay}
@@ -413,4 +410,4 @@ const mapDispatchToProps = dispatch => {
}
};
-export default connect(mapStateToProps, mapDispatchToProps)(MountItems);
\ No newline at end of file
+export default connect(mapStateToProps, mapDispatchToProps)(MountItems);
diff --git a/src/helpers.js b/src/helpers.js
index e9d18bd..922edc1 100644
--- a/src/helpers.js
+++ b/src/helpers.js
@@ -408,7 +408,7 @@ module.exports.executeScript = script => {
});
};
-module.exports.executeMount = (version, provider, remote, location, noConsoleSupported, exitCallback) => {
+module.exports.executeMount = (version, provider, remote, location, exitCallback) => {
return new Promise((resolve) => {
const repertoryExec = _getRepertoryExec(version);
const processOptions = {
@@ -424,9 +424,7 @@ module.exports.executeMount = (version, provider, remote, location, noConsoleSup
args.push('-o');
args.push('big_writes');
args.push('-f');
- if (noConsoleSupported) {
- args.push('-nc');
- }
+ args.push('-nc');
} else if (os.platform() === 'win32') {
args.push('-hidden');
}
diff --git a/src/renderer/ipc/MountsIPC.js b/src/renderer/ipc/MountsIPC.js
index 9c789cc..4b6cfe8 100644
--- a/src/renderer/ipc/MountsIPC.js
+++ b/src/renderer/ipc/MountsIPC.js
@@ -222,7 +222,7 @@ const addListeners = (ipcMain, setTrayImage, standardIPCReply) => {
}, error || Error(data.Provider + ' Unmounted'));
};
helpers
- .executeMount(data.Version, data.Provider, data.Remote, data.Location, data.NoConsoleSupported, (error, pid) => {
+ .executeMount(data.Version, data.Provider, data.Remote, data.Location, (error, pid) => {
errorHandler(pid, error);
})
.then(() => {
@@ -272,4 +272,4 @@ const addListeners = (ipcMain, setTrayImage, standardIPCReply) => {
module.exports = {
addListeners,
unmountAllDrives
-};
\ No newline at end of file
+};