mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding pycache to gitignore
This commit is contained in:
parent
18de7ca671
commit
ca1b9b2170
15 changed files with 1084 additions and 1319 deletions
|
|
@ -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));
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ export class TorrentClient {
|
|||
const binaryName = binaryNameByPlatform[process.platform];
|
||||
const binaryPath = path.join(
|
||||
process.resourcesPath,
|
||||
"dist",
|
||||
"hydra-download-manager",
|
||||
binaryName
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue