Commit Graph

39 Commits

Author SHA1 Message Date
CakeLancelot
19e036ddf9 Change version text to button, move config button to opposing corner 2024-09-23 18:12:42 -05:00
Hichem Fantar
451cb4a2af
Improve DX and update package.json dependencies (#24)
* chore: Update package.json dependencies and description

* chore: format files and enable format on save

* chore: Update package.json name to "OpenFusionClient"

* chore: Update package.json description to "OpenFusionClient"

* chore: Update package name and lockfile for OpenFusionClient
2024-07-14 20:54:29 -05:00
FinnHornhoover
7f9c5d90a1 fixed offline cache enabled condition 2024-04-06 02:31:59 +03:00
FinnHornhoover
17f194810c added comments 2024-04-06 02:31:59 +03:00
FinnHornhoover
e933bc52fe fixed added versions not showing up immediately 2024-04-06 02:31:59 +03:00
FinnHornhoover
5dca39a17e fixed config json read, limited hash check 2024-04-06 02:31:59 +03:00
FinnHornhoover
fa0bdd7b1a fixed hash check timing on config change 2024-04-06 02:31:59 +03:00
FinnHornhoover
feafd8d17f added hash check when cache location is changed 2024-04-06 02:31:59 +03:00
FinnHornhoover
6a7b029539 added config modal, bumped version 2024-04-06 02:31:59 +03:00
FinnHornhoover
171177b606 added more proper initial check handling 2024-04-06 02:31:59 +03:00
FinnHornhoover
1c2cf41e97 added default ip, regex for version names 2024-04-06 02:31:59 +03:00
FinnHornhoover
0201f11333 added fixes for validation 2024-04-06 02:31:59 +03:00
FinnHornhoover
a859590ef9 fixed version url and path bugs, added validation 2024-04-06 02:31:59 +03:00
FinnHornhoover
356e811bac WIP custom build adjustments 2024-04-06 02:31:57 +03:00
FinnHornhoover
cdabb36639 added build management, WIP custom cache checks 2024-04-06 02:31:56 +03:00
FinnHornhoover
6bae0d1ff6 removed async, adjusted load logic, and hash check 2024-04-06 02:31:56 +03:00
FinnHornhoover
1d78bc2d9b removed redundant function 2024-04-06 02:31:56 +03:00
FinnHornhoover
c78a3e5ada do not immediately start checking hashes 2024-04-06 02:31:56 +03:00
FinnHornhoover
e1ef76744a added script itself and migration logic 2024-04-06 02:31:56 +03:00
FinnHornhoover
04aea6059e added measure against half-flushed objects 2024-04-06 02:31:55 +03:00
FinnHornhoover
600b33a230 switched to ipc through localhost 2024-04-06 02:31:55 +03:00
FinnHornhoover
48efd00a4a use python child process to handle cache ops 2024-04-06 02:31:55 +03:00
FinnHornhoover
f28c9c0bb8 WIP added offline cache pointing logic 2024-04-06 02:31:54 +03:00
FinnHornhoover
e3f16d8fc9 delegated downloads to wget exe due to memory leak 2024-04-06 02:31:54 +03:00
FinnHornhoover
6f7f1655b9 implemented delete as ipc, adjusted for cache swap 2024-04-06 02:31:54 +03:00
FinnHornhoover
597e80b112 adjusted download and hash check logic and data 2024-04-06 02:31:54 +03:00
FinnHornhoover
79bdba74a5 integrated download and hash functionality 2024-04-06 02:31:54 +03:00
FinnHornhoover
16a99f86c7 added async hash checking 2024-04-06 02:31:54 +03:00
FinnHornhoover
05af8a3f9e WIP ipc downloads 2024-04-06 02:31:54 +03:00
FinnHornhoover
27f0992b52 WIP download bugfix 2024-04-06 02:31:54 +03:00
FinnHornhoover
132b725922 WIP button functionality (download, delete) 2024-04-06 02:31:54 +03:00
CakeLancelot
cef8c1de93 Revert readJsonSync() change for modifying servers
readJsonSync() apparently produces an immutable JSON, which made it to where you couldn't add or remove servers
2023-10-18 12:47:41 -05:00
CakeLancelot
2e7dc51aa1
Fix issue where cache swapping wouldn't work if record wasn't already present
Not sure why I re-ordered this before
2023-09-27 05:01:22 -05:00
CakeLancelot
3fc6cabe33 Disable telemetry in player dll
Co-authored-by: gsemaj <gsemaj@proton.me>
2023-09-19 08:59:13 -05:00
CakeLancelot
71e4694ff6 Misc comment cleanup, correct holiday date range, simplify JSON loading 2023-09-19 08:57:50 -05:00
CakeLancelot
76f4a05287 Move server-selector over to path.join(), fix issues with cache swapping
Before, swapping would continually fail if a cache tried to be stored at a directory that already existed. The skipping mechanism likely also didn't work as intended. Both have been fixed now.
Additionally:
* Added .editorconfig file 
* Ran prettier format
* Misc. refactoring
2023-09-19 08:57:29 -05:00
CakeLancelot
43f0c8c684 Revise loader DLL to work under Wine, loading screen beta text, cleanup 2023-09-16 20:57:13 -05:00
CakeLancelot
ab5de9488d Fix DNS resolution
not sure why this works but resolve4 doesn't
2023-09-14 06:44:11 -05:00
CakeLancelot
043bf219e7 Consistency pass and small tweaks
**Formatting going forward**
Variables: camelCase (capitalization of two letter abbreviations is OK, e.g. playerID)
Classes: PascalCase
CSS: kebab-case
Files: kebab-case

**Other miscellaneous changes**
* The WebPlayer crashing as well as failing to load the config file are now fatal  errors and will quit the app
* Moved some style attributes from index.html into openfusion.css
2023-09-03 05:12:30 -05:00