feat: adding pycache to gitignore

This commit is contained in:
Hydra
2024-04-24 10:22:12 +01:00
parent 18de7ca671
commit ca1b9b2170
15 changed files with 1084 additions and 1319 deletions

View File

@@ -7,7 +7,7 @@ import { formatName, getSteamAppAsset, repackerFormatter } from "@main/helpers";
import { stateManager } from "@main/state-manager";
const { Index } = flexSearch;
const repacksIndex = new Index();
const repacksIndex = new Index({ tokenize: "strict" });
const steamGamesIndex = new Index({ tokenize: "forward" });
const repacks = stateManager.getValue("repacks");
@@ -21,6 +21,8 @@ for (let i = 0; i < repacks.length; i++) {
repacksIndex.add(i, formatName(formatter(repack.title)));
}
console.log(true);
for (let i = 0; i < steamGames.length; i++) {
const steamGame = steamGames[i];
steamGamesIndex.add(i, formatName(steamGame.name));

View File

@@ -50,7 +50,6 @@ export class TorrentClient {
const binaryName = binaryNameByPlatform[process.platform];
const binaryPath = path.join(
process.resourcesPath,
"dist",
"hydra-download-manager",
binaryName
);