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