Fix missing providers
This commit is contained in:
@@ -26,6 +26,16 @@ const addListeners = ipcMain => {
|
||||
data.Version = -1;
|
||||
}
|
||||
|
||||
for (const provider of Constants.PROVIDER_LIST) {
|
||||
if (!data[provider]) {
|
||||
data[provider] = {
|
||||
AutoMount: false,
|
||||
AutoRestart: true,
|
||||
MountLocation: '',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
data.RemoteMounts = data.RemoteMounts || [];
|
||||
data.S3Mounts = data.S3Mounts || [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user