Commit Graph

124 Commits

Author SHA1 Message Date
FinnHornhoover
7956f653fb added comments 2023-11-18 01:21:31 +03:00
FinnHornhoover
fe6f42f67c cleaned up and added docstrings to cache handler 2023-11-18 00:48:51 +03:00
FinnHornhoover
c3dc79b42a fixed added versions not showing up immediately 2023-11-18 00:47:23 +03:00
FinnHornhoover
e11023df54 added linguist-vendored 2023-11-15 10:01:36 +03:00
FinnHornhoover
51f0c06092 fixed config json read, limited hash check 2023-11-13 23:06:38 +03:00
FinnHornhoover
695fcaebb6 fixed valdator function name 2023-11-13 22:43:58 +03:00
FinnHornhoover
01a4318db5 fixed hash check timing on config change 2023-11-13 20:05:02 +03:00
FinnHornhoover
4105472d3c added hash check when cache location is changed 2023-11-13 01:46:23 +03:00
FinnHornhoover
8f05ace344 added config modal, bumped version 2023-11-13 00:15:45 +03:00
FinnHornhoover
b51e49d703 added more proper initial check handling 2023-11-12 16:27:11 +03:00
FinnHornhoover
6f3f3290d7 added default ip, regex for version names 2023-11-12 15:38:33 +03:00
FinnHornhoover
f6ae8f0b6c added fixes for validation 2023-11-12 15:00:11 +03:00
FinnHornhoover
3dc1c1ae45 fixed version url and path bugs, added validation 2023-11-11 23:55:07 +03:00
FinnHornhoover
490d335336 WIP custom build adjustments 2023-11-11 23:55:06 +03:00
FinnHornhoover
cf0737cb60 added build management, WIP custom cache checks 2023-11-11 23:55:05 +03:00
FinnHornhoover
ea1715e27c by default, always use cdn 2023-11-11 23:55:04 +03:00
FinnHornhoover
59f0e155dd removed async, adjusted load logic, and hash check 2023-11-11 23:55:04 +03:00
FinnHornhoover
d391faefb7 edited gitignore for extra files 2023-11-11 23:55:04 +03:00
FinnHornhoover
9c3219f203 removed redundant function 2023-11-11 23:55:04 +03:00
FinnHornhoover
e980ca5d65 do not immediately start checking hashes 2023-11-11 23:55:04 +03:00
FinnHornhoover
9183d3338d reverted version sizes 2023-11-11 23:55:04 +03:00
FinnHornhoover
096fcee49f added script itself and migration logic 2023-11-11 23:55:04 +03:00
FinnHornhoover
e74106e137 added measure against half-flushed objects 2023-11-11 23:55:04 +03:00
FinnHornhoover
9ee982b53c switched to ipc through localhost 2023-11-11 23:55:04 +03:00
FinnHornhoover
b2ba0ba1b6 use python child process to handle cache ops 2023-11-11 23:55:03 +03:00
FinnHornhoover
60aba00ad5 WIP added offline cache pointing logic 2023-11-11 23:55:02 +03:00
FinnHornhoover
1c3e3f81b0 delegated downloads to wget exe due to memory leak 2023-11-11 23:55:02 +03:00
FinnHornhoover
f7d1b73806 implemented delete as ipc, adjusted for cache swap 2023-11-11 23:55:02 +03:00
FinnHornhoover
a1678cb1e9 adjusted download and hash check logic and data 2023-11-11 23:55:02 +03:00
FinnHornhoover
3f56895d3b integrated download and hash functionality 2023-11-11 23:55:02 +03:00
FinnHornhoover
2c5337938a added async hash checking 2023-11-11 23:55:02 +03:00
FinnHornhoover
b644edb774 WIP ipc downloads 2023-11-11 23:55:02 +03:00
FinnHornhoover
ee309319c9 WIP download bugfix 2023-11-11 23:55:02 +03:00
FinnHornhoover
01e329e621 WIP button functionality (download, delete) 2023-11-11 23:55:02 +03:00
CakeLancelot
ec0fc87dcd Bump version number to 1.5.1 2023-11-09 13:31:44 -06: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
b73329c6de Update version numbers to 1.5 2023-10-07 18:20:10 -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
97144aad59 Remove initial setup window
Now that we only copy a few json files for the initial setup, the process is so fast the progress window isn't really needed anymore
2023-09-17 13:02:19 -05:00
CakeLancelot
4a465ca689
README: include preleases for release badge 2023-09-17 09:42:41 -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
d4dc403e90 Remove now unnecessary attributes from game-client.js 2023-09-14 15:13:23 -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
dabb8bf484 Use extra-plugin-dirs in Electron to load plugin, add fusion manifest.
This has the advantage of being self contained (doesn't conflict with Unity 3.x - 5.x loader, so we can use the original one) and **disabling auto updates actually works**.

We can also eliminate any code used to install and verify unity, since it's all self contained.

Also added fusion manifest file to set process as DPI aware, and set ACP to UTF-8 on Windows 10 1903 and above.

Bumped version to 1.4.2
2023-09-14 05:29:34 -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
CakeLancelot
7131026b2f Misc tweaks
loadURL() -> loadUrl() in index.js
Move Bootstrap files
2023-09-02 23:03:00 -05:00
7dd018e336 Use local fonts for Bootstrap
bootstrap.min.css was fetching a css snippet for the Roboto font
remotely. Inlined the snippet and modified it to load the font files
locally.
2023-09-03 01:44:09 +02:00