这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ function download() {
fox.on('connect', () => {
ipcSend('connect', true);
if (autoconnect) {
fox.setDateTime(new Date());
download();
}
});
Expand Down Expand Up @@ -407,6 +408,7 @@ ipc.on('piregchange', (event, data) => {
ipc.on('download', () => {
console.log('ipc download', fox.connected)
if (fox.connected) {
fox.setDateTime(new Date());
download();
} else {
dialog.showErrorBox('No compatible USB Device', _('Message.NoCompatibleUSBDevice'))
Expand Down Expand Up @@ -473,5 +475,3 @@ function _(key) {
return key;
}
}