Compare commits
2 Commits
b5a853b8d4
...
ffc8fb4026
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ffc8fb4026 | ||
|
|
f6c9979ac5 |
4
main.js
4
main.js
@ -1259,6 +1259,10 @@ ipcMain.handle('hide-drop-target', () => {
|
|||||||
|
|
||||||
ipcMain.on('drop-target:files', (_event, paths) => {
|
ipcMain.on('drop-target:files', (_event, paths) => {
|
||||||
if (mainWindow && !mainWindow.isDestroyed()) {
|
if (mainWindow && !mainWindow.isDestroyed()) {
|
||||||
|
if (!mainWindow.isVisible() || mainWindow.isMinimized()) {
|
||||||
|
mainWindow.show();
|
||||||
|
mainWindow.focus();
|
||||||
|
}
|
||||||
mainWindow.webContents.send('drop-target:files', paths);
|
mainWindow.webContents.send('drop-target:files', paths);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "multi-hoster-uploader",
|
"name": "multi-hoster-uploader",
|
||||||
"version": "2.2.9",
|
"version": "2.3.0",
|
||||||
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -408,6 +408,7 @@ function restoreQueueStateFromConfig() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
queueJobs = Array.from(seen.values());
|
queueJobs = Array.from(seen.values());
|
||||||
|
rebuildJobIndex();
|
||||||
}
|
}
|
||||||
|
|
||||||
function buildPersistedQueueState() {
|
function buildPersistedQueueState() {
|
||||||
@ -750,7 +751,7 @@ function buildRowHtml(job) {
|
|||||||
<td class="col-filename" title="${escapeAttr(job.fileName)}">${escapeHtml(job.fileName)}</td>
|
<td class="col-filename" title="${escapeAttr(job.fileName)}">${escapeHtml(job.fileName)}</td>
|
||||||
<td class="col-size">${uploadedSize}</td>
|
<td class="col-size">${uploadedSize}</td>
|
||||||
<td class="col-host">${escapeHtml(job.hoster)}</td>
|
<td class="col-host">${escapeHtml(job.hoster)}</td>
|
||||||
<td class="col-status"><span class="status-badge ${statusClass}">${statusText}</span></td>
|
<td class="col-status"><span class="status-badge ${statusClass}">${escapeHtml(statusText)}</span></td>
|
||||||
<td class="col-elapsed">${elapsed}</td>
|
<td class="col-elapsed">${elapsed}</td>
|
||||||
<td class="col-remaining">${remaining}</td>
|
<td class="col-remaining">${remaining}</td>
|
||||||
<td class="col-speed">${speed}</td>
|
<td class="col-speed">${speed}</td>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user