Improved mount state detection

This commit is contained in:
2019-11-25 13:14:34 -06:00
parent 2a541c8a9a
commit af68d20d42
3 changed files with 19 additions and 13 deletions

View File

@@ -177,8 +177,10 @@ const addListeners = (ipcMain, setTrayImage, standardIPCReply) => {
firstMountCheck = false;
}
standardIPCReply(event, Constants.IPC_Detect_Mount_Reply, {
Active: storageData[provider].Active,
DriveLetters: driveLetters[provider],
Location: locations[provider],
PID: storageData[provider].PID,
Provider: provider,
});
})