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
1db5a9c295
commit
fc6cd710ac
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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue