aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-04-30German TranslationPresti
2024-04-30Merge pull request #230 from KenMizz/linux-launch-v20neGal
i18n: Update zh translation for linux-launch-v2
2024-04-29i18n: '参数' instead of '命令'KenMizz
2024-04-29fix error againKenMizz
2024-04-29fix errorKenMizz
2024-04-29update zh translation for linux-launch-v2KenMizz
2024-04-29Merge branch 'main' into linux-launch-v20neGal
2024-04-29fixed some issues with scripts/langs.js0neGal
2024-04-29actual Linux launch support0neGal
The "Steam (Auto)" launch method should ideally work in all scenarios, ideally! Obviously, I can't and haven't tested in every environment, but I've attempted to make sure it functions. Launching Vanilla and Northstar works just fine, custom launch arguments also work just fine, it works with normal Steam, Flatpak Steam, and as a fallback with the Steam Browser Protocol (`steam://`) There's also the option to set your own/custom launch command for both the Vanilla and Northstar launch options. How well they work will of course depend on what the user set them to. "Steam (Auto)" attempts to pick the right Steam launch method depending on what's available, if the Steam executable can be found, it'll use "Steam (Executable)", if it cant and Flatpak is found on top of an install of Steam through Flatpak, then "Steam (Flatpak)" is used, if all of that fails, then we attempt to use "Steam (Protocol)" Some toasts will be shown if you attempt to run the game with either "Steam (Executable)" or "Steam (Flatpak)" and they cant find the game/Steam. This isn't an issue with "Steam (Auto)"
2024-04-29added launch method settings0neGal
2024-04-29fixed app/js/settings.js to for custom <select>'s0neGal
Previously, settings using `<select>`'s for their value only worked on the `forcedlang` setting, now it just works overall, this wasn't an issue before, as we had no need for it. More importantly `forcedlang` is special in that it dynamically loads the list of languages available, so it was and still is handled separately, to support that behavior.
2024-03-18Merge pull request #227 from ↵0neGal
0neGal/dependabot/npm_and_yarn/follow-redirects-1.15.6 Bump follow-redirects from 1.15.4 to 1.15.6
2024-03-16Bump follow-redirects from 1.15.4 to 1.15.6dependabot[bot]
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06Merge pull request #226 from ↵0neGal
0neGal/dependabot/npm_and_yarn/app-builder-lib-and-electron-builder-24.13.3 Bump app-builder-lib and electron-builder
2024-03-04Bump app-builder-lib and electron-builderdependabot[bot]
Bumps [app-builder-lib](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib) to 24.13.3 and updates ancestor dependency [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder). These dependencies need to be updated together. Updates `app-builder-lib` from 24.6.3 to 24.13.3 - [Release notes](https://github.com/electron-userland/electron-builder/releases) - [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/CHANGELOG.md) - [Commits](https://github.com/electron-userland/electron-builder/commits/v24.13.3/packages/app-builder-lib) Updates `electron-builder` from 24.6.3 to 24.13.3 - [Release notes](https://github.com/electron-userland/electron-builder/releases) - [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md) - [Commits](https://github.com/electron-userland/electron-builder/commits/v24.13.3/packages/electron-builder) --- updated-dependencies: - dependency-name: app-builder-lib dependency-type: indirect - dependency-name: electron-builder dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
2024-02-18minor Markdown changes0neGal
2024-02-18fixed incorrect syntax highlighting language0neGal
The example codeblock for JavaScript code was using `javascript` as the syntax highlighting, which is obviously wrong, it should be `js`
2024-02-18added a lot more functionality to scripts/langs.js0neGal
It's not capable of formatting language files, and now has a prompt interface for editing and adding missing localization strings. This removes the need for manually editing localization files beyond `en.json`, it'll still be edited manually. But maintainers will no longer have to open any localization files. I also updated the documentation for contributing to localizations.
2024-02-06rename scripts/downloads_count.js to downloads.js0neGal
2024-02-06added more options to scripts/download_count.js0neGal
2024-02-05switch to unzip-stream over unzipperv1.11.00neGal
unzipper apparently has a bug that causes extracted files to be corrupted, switching to unzip-stream may not be the best long term, but it at least solves this corrupting problem!
2024-02-05bumped version number to 1.11.00neGal
2024-02-05download_count.js now also shows per release0neGal
2024-02-05added far more screenshots0neGal
Keeping the old one for now, dont want to cause issues with the Flathub page, it'll be removed later however.
2024-02-05fixed dependency confirmation message0neGal
2024-02-05fixed trying to remove core mods that dont exist0neGal
Some code relating to removing core mods when updating/installing didn't account for `R2Northstar/mods` not even existing, thought I made checks for that already, managed to mess them up, oopsie whoopsie.
2024-02-04removed use of "vipertmp" folder0neGal
Previously we downloaded the Northstar archive and packages to a folder named "vipertmp" in the system's cache folder, now that's just moved into "Viper/Temp" (still inside the system's cache folder) With this, all Viper cache is stored in the same folder in the system's cache folder... Wait... Why wasn't it always like this? Oh right, my past stupidity and lack of foresight. Oh well. "vipertmp" still gets deleted when clearing install cache, along with the new folder, so doing so will by itself clean up the old folder.
2024-02-04fixed setting cache folder too late0neGal
We set the Electron path `userData` to the system's cache folder, as this is the same path Electron stores cache files in, and its normally set to the system config folder, obviously not ideal. However, when changing, we do as such quite late in the startup process leading to some things (notably the variable used to store where we download the Northstar archive to), using the older value. Now its one of the first things we do on startup, fixing that.
2024-02-04deleting request cache now deletes old cache file0neGal
We previously had a requests cache file just named `viper-requests.json` in the system's cache folder, we now also delete that alongside the current file, simply cleaning up a user's cache folder, as that file will not be used anymore. We also technically had a file named `requests.json`, however the name is too vague and could potentially (unlikely, but oh well) delete something that isn't actually Viper's older requests cache file.
2024-02-04fixed "Northstar is not installed!" when updating0neGal
After Northstar has been downloaded, we start extracting into the gamepath, this causes Viper to think Northstar isn't installed, which is fine, except it'd whine about it when many `src/modules/mods.js` functions we're called, some of which get run on an interval, so it'd often lead you to have multiple "Northstar is not installed!" messages whilst updating Northstar. Which is quite unneccesary and it may also, be able to confuse the user, as to whether something has gone wrong.
2024-02-04merge src/modules/window.js into src/win.js0neGal
I intended to do this when creating src/win.js, but wanted it to be in a different commit, as that commit made pretty large changes as well. So no more `main_win`, `win_show` and confusion between what `win` is.
2024-02-04remove newlines from version.titanfall()0neGal
2024-02-04move IPC events into their respective modules0neGal
I've not been able to find anything that breaks from this, as I've gone through every IPC event that got moved, to ensure it still functions, and all the breakage I found has since been fixed. IPC events that dont fit in any particular module is also now in the new file named `src/app/modules/ipc.js` There's also another module `src/win.js`, which lets you get the `BrowserWindow` outside of `src/index.js` I also took the oppertunity to clean up some of the code when moving it around, and adding a couple comments, as some of it was quite horrid.
2024-02-04added icons to more buttons0neGal
2024-02-03fixed some places using spaces for indentation0neGal
Ew! Bad! No! Bad! Bad!
2024-02-03decreased the opacity of icons for disabled mods0neGal
2024-02-03added back error for fetching release notes0neGal
This time it's inside the GUI and not just random output.
2024-02-03requests.js ignores cache time when no internet0neGal
This means if you dont have any internet, but there's a cached requests, it'll use that, even if it was cached a very long time ago. This just attempts to eliminate errors. This can still be turned off for things where you dont want this to happen, notably the masterserver status.
2024-02-03added "Force quit game" button to Titanfall tab0neGal
2024-02-03fixed "Force quit game" button getting disabled0neGal
Due to this button (specifically the "button"/link below the "Launch" button) serving multiple functions, it incorrectly gets disabled when the game is running. Now its enabled! How did I miss this? I assume it crept up after implementing the force quit button, and not during, but maybe not, was I stupid? Mayhaps.
2024-02-03src/modules/settings.js now provides a function0neGal
This fixes a couple issues where the main process wouldn't actually get changes made to the settings, this fixes that. On top of this, changing settings is now done with `settings.set()` There shouldn't be any breakage from this change, but I suppose it is possible. Especially because the `settings()` function still does contain backup options set, meaning `settings.nsargs` is technically still valid, but dont expect it to actually be updated when that variable is changed, its merely here to avoid any problems.
2024-02-03fixed settings not applying0neGal
This isn't present in the current release and is a bug that crept up with the upcoming release, however of course, it's been fixed now.
2024-01-29bump Electron from 22.3.25 to 28.2.00neGal
Ideally this has no consequences, but I'll still need to do actual testing against this, as it is quite a big version jump. However it'll in turn fix various things and possibly optimize and make many other things better along with it.
2024-01-29many changes to release notes and mods pages0neGal
Scrollbar is globally different, the release notes and mods page now look more alike, having adjusted some padding, added some backgrounds and a few other things.
2024-01-29added artificial delay to checking updates0neGal
When checking for an update whilst the latest release is already cached, it'll resolve near instantaneously, not even letting the user know what action they just performed, now however, a check for updates will visually take at least 500ms.
2024-01-29fixed margin on last paragraph in release notes0neGal
2024-01-29prevent multiple updates running simultaneously0neGal
We're the renderer to request for an update multiple times, then it'd simply start both updates, at the same time, causing all kinds of issues. This was only really realistically possible to happen if you were to manually check for updates whilst an update automatically were to be checked from right before then. As an example, when Viper starts up, it'll by default check for updates for itself, then Northstar, if you within that time frame checked for updates manually, it'll run both. Now however, we check if an existing update is occurring, and do nothing if so, this is both for Viper and Northstar updates.
2024-01-24added search in settings popup0neGal
2024-01-24added release date to release notes0neGal
2024-01-24fixed clicking parts of preview popup closing it0neGal