Merge branch 'main' into feature/recently-played-games-in-tray-context-menu

This commit is contained in:
mag1yar 2024-05-16 13:49:10 +05:00
commit 3cbbb71768
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "hydra", "name": "hydra",
"version": "1.2.0", "version": "1.2.1",
"description": "Hydra", "description": "Hydra",
"main": "./out/main/index.js", "main": "./out/main/index.js",
"author": "Los Broxas", "author": "Los Broxas",

View File

@ -146,6 +146,8 @@ export const getNewRepacksFromOnlineFix = async (
); );
worker.once("message", (torrent) => { worker.once("message", (torrent) => {
if (!torrent) return;
repacks.push({ repacks.push({
fileSize: formatBytes(torrent.length ?? 0), fileSize: formatBytes(torrent.length ?? 0),
magnet: toMagnetURI(torrent), magnet: toMagnetURI(torrent),