diff --git a/electron.js b/electron.js
index 24c3e51..0d6cd06 100644
--- a/electron.js
+++ b/electron.js
@@ -254,6 +254,13 @@ ipcMain.on(Constants.IPC_Detect_Mounts, (event, data) => {
.then((results) => {
let hsLocation = results.Hyperspace.Location;
let siaLocation = results.Sia.Location;
+ if (!results.SiaPrime) {
+ results.SiaPrime = {
+ Active: false,
+ Location: '',
+ PID: -1,
+ };
+ }
let siaPrimeLocation = results.SiaPrime.Location;
if (os.platform() === 'win32') {
hsLocation = hsLocation.toUpperCase();
diff --git a/helpers.js b/helpers.js
index 7857573..fef1fc3 100644
--- a/helpers.js
+++ b/helpers.js
@@ -175,8 +175,8 @@ module.exports.executeMount = (directory, version, storageType, location, exitCa
args.push('-sp');
}
if (os.platform() === 'linux') {
- args.push("-o");
- args.push("big_writes");
+ args.push('-o');
+ args.push('big_writes');
}
if (os.platform() === 'win32') {
args.push('-hidden');
diff --git a/src/App.js b/src/App.js
index a6aedb5..134aa02 100644
--- a/src/App.js
+++ b/src/App.js
@@ -643,6 +643,9 @@ class App extends Component {
const allowConfig = this.state.LocationsLookup[selectedVersion] &&
this.state.LocationsLookup[selectedVersion].config_support;
+ const allowSiaPrime = this.state.LocationsLookup[selectedVersion] &&
+ this.state.LocationsLookup[selectedVersion].siaprime_support;
+
const showDependencies = missingDependencies &&
!this.state.DownloadActive;
@@ -738,6 +741,7 @@ class App extends Component {
{
rowSpan={6}>
{e.preventDefault();} : props.configClicked}
src={configureImage}
style={{padding: 0, border: 0, margin: 0, cursor: 'pointer'}}
width={'16px'}/>
@@ -32,7 +32,7 @@ export default CSSModules((props) => {
inputColumnSpan = 20;
inputControl = {
-
);
}
- const buttonDisplay = props.allowMount ?
+ const buttonDisplay = props.allowMount || props.disabled ?
(props.mounted ? 'Unmount' : 'Mount') :
{