This commit is contained in:
2021-08-04 17:17:16 -05:00
parent ce6d96e59b
commit e23c0086c2
75 changed files with 1255 additions and 1246 deletions

View File

@@ -43,7 +43,8 @@ const InfoDetails = (props) => {
<textarea
autoFocus
rows={9}
onChange={() => {}}
onChange={() => {
}}
value={msg}
className={'SkynetImportTextArea'}
onClick={(e) => scrollToTop(e.target)}

View File

@@ -205,7 +205,8 @@ class Configuration extends IPCContainer {
OriginalItemList: itemListCopy,
OriginalObjectLookup: objectLookupCopy,
},
() => {}
() => {
}
);
} else {
this.props.notifyError(arg.data.Error);

View File

@@ -21,7 +21,8 @@ class HostList extends Component {
this.setState({items: this.props.value});
}
componentWillUnmount() {}
componentWillUnmount() {
}
handleAddHost = () => {
this.props.AddHost(this.state.items, (changed, {host_data}) => {

View File

@@ -43,7 +43,8 @@ const addListeners = (ipcMain, { getMainWindow, dialog }) => {
if (fs.existsSync(data.FilePath)) {
fs.unlinkSync(data.FilePath);
}
} catch (e) {}
} catch (e) {
}
});
ipcMain.on(Constants.IPC_Select_File + '_sync', (event, data) => {

View File

@@ -109,7 +109,8 @@ const addListeners = (ipcMain, { setTrayImage, standardIPCReply }) => {
driveLetters[provider].push(drive);
}
}
} catch (e) {}
} catch (e) {
}
}
}

View File

@@ -28,7 +28,8 @@ const addListeners = (ipcMain, { standardIPCReply }) => {
});
});
ipcMain.on(Constants.IPC_Get_Pinned_Files_Status, (event, data) => {});
ipcMain.on(Constants.IPC_Get_Pinned_Files_Status, (event, data) => {
});
ipcMain.on(Constants.IPC_Set_Pinned + '_sync', (event, data) => {
helpers

View File

@@ -14,7 +14,8 @@ const addListeners = (ipcMain, { getCleanupReleases, standardIPCReply }) => {
let exists = false;
try {
exists = fs.existsSync(destination) && fs.lstatSync(destination).isDirectory();
} catch (e) {}
} catch (e) {
}
standardIPCReply(event, Constants.IPC_Check_Installed_Reply, {
Dependencies: dependencies,
Exists: exists,
@@ -53,7 +54,8 @@ const addListeners = (ipcMain, { getCleanupReleases, standardIPCReply }) => {
.on('error', (error) => {
try {
helpers.removeDirectoryRecursively(destination);
} catch (e) {}
} catch (e) {
}
stream.close();
standardIPCReply(
event,

View File

@@ -19,7 +19,8 @@ const addListeners = (ipcMain, { setIsInstalling, unmountAllDrives, standardIPCR
if (tempPub) {
fs.unlinkSync(tempPub);
}
} catch (e) {}
} catch (e) {
}
};
const errorHandler = (err) => {