fix: drop some merge leftovers

This commit is contained in:
lilezek 2024-04-30 11:07:39 +02:00
parent 483f8223b6
commit c8fe984171

View File

@ -66,25 +66,6 @@ app.whenReady().then(() => {
});
});
const track1337xUsers = async (existingRepacks: Repack[]) => {
for (const repacker of repackers) {
await getNewRepacksFromUser(
repacker,
existingRepacks.filter((repack) => repack.repacker === repacker)
);
}
};
const checkForNewRepacks = async () => {
const userPreferences = await userPreferencesRepository.findOne({
where: { id: 1 },
});
WindowManager.createMainWindow();
WindowManager.createSystemTray(userPreferences?.language || "en");
});
});
app.on("browser-window-created", (_, window) => {
optimizer.watchWindowShortcuts(window);
});
@ -100,7 +81,7 @@ app.on("second-instance", (_event, commandLine) => {
WindowManager.createMainWindow();
}
const [, path] = commandLine.pop().split("://");
const [, path] = commandLine.pop()!.split("://");
if (path) WindowManager.redirect(path);
});
@ -125,4 +106,4 @@ app.on("activate", () => {
});
// In this file you can include the rest of your app's specific main process
// code. You can also put them in separate files and import them here.
// code. You can also put them in separate files and import them here.