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
CakeLancelot
e19098a13e
README update
2023-07-11 19:40:51 -05:00
CakeLancelot
48e2052748
Fix call to nonexistent function in URL redirection
...
Gotta love runtime errors
2023-04-23 15:37:44 -05:00
CakeLancelot
7b3de1fe52
Bump fs-extra version to 2.0.0
...
This is the latest version that supports ES5
2023-02-17 20:07:52 -06:00
CakeLancelot
675a5fce50
Update repo URL in package.json
2023-02-11 16:08:25 +00:00
CakeLancelot
2bf916ea58
Fix bug in WebPlayer installation logic
...
Also run prettier
2023-02-09 12:52:57 -06:00
CakeLancelot
d554b6b968
Get version number from package.json on app start
...
This is easy to miss when prepping a new release so I figured we might as well automate it
2023-02-09 11:56:53 -06:00
CakeLancelot
5da0da1981
Consolidate afterPack scripts into one file
2023-02-09 04:39:21 -06:00
CakeLancelot
101de9d68b
Added WebPlayer verification/reinstallation logic
2023-02-09 01:05:41 -06:00
CakeLancelot
d0f947c4a5
Add large address aware patch to build process
2023-02-09 03:14:09 +00:00
CakeLancelot
4726a50be7
package.json tweaks, update LICENSE.md date
2023-02-09 01:04:20 +00:00
CakeLancelot
3d9107a7f1
Install Unity Web Player through Electron rather than the bat file
...
This method is a lot more reliable, as the bat file was known to not work in certain configurations of Windows and on Wine
2023-02-08 15:21:35 -06:00
CakeLancelot
c1db7bc047
Refactor cache swapping logic
...
* Hoist everything into a function
* Add error handling
* Rename vars for clarity
* Skip renaming if the current and new version are the same: this along with the error handling should fix the black screen when using multiple clients
2023-02-08 14:06:54 -06:00
CakeLancelot
51f7eaf33d
Minor changes/updates
...
* Change `name` in package.json to PascalCase, as this is what is used for the creation of folders in AppData, etc.
* Regenerate package-lock.json
* Bump dependency versions
* Update copyright year
2023-02-08 12:44:25 -06:00
CakeLancelot
7bc438d76a
Merge pull request #18 from hichemfantar/patch-prettier
...
configure prettier for a prettier project
2022-09-12 16:47:42 -05:00
CakeLancelot
3c0b07e61a
Merge pull request #17 from hichemfantar/patch-1
...
Add missing license file
2022-09-12 15:53:55 -05:00
Hichem Fantar
f9c041edc9
format assets but ignore minified files
2022-07-26 15:48:33 +01:00
Hichem Fantar
fd92f2de5e
switch from tabs to spaces & set indent size to 4
2022-07-26 15:41:07 +01:00
Hichem Fantar
51a876cf2b
set endOfLine to lf
2022-07-26 15:29:20 +01:00
CakeLancelot
2640c8f1a6
LICENSE -> LICENSE.md, Add WebPlayer license file
2022-07-25 11:33:39 -05:00
Hichem Fantar
e2b704a701
Add prettier script to format entire project
2022-07-18 19:40:47 +01:00
Hichem Fantar
9a083d7a04
configure prettier for a prettier project
2022-07-18 19:19:22 +01:00
Hichem Fantar
c964e840e4
Add missing license file
2022-07-18 18:57:07 +01:00
0060f37e6c
Clean up semicolons, whitespace and a typo
2022-06-29 00:57:30 +02:00
9bfe3d6d99
Bump copyright year to 2022
2022-06-28 23:06:05 +02:00
63c4616645
Replace default server IP with domain name
...
Now that the client supports domain resolution in the IP field, it makes
sense to use a domain name for future-proofing.
2022-06-28 23:02:48 +02:00
CakeLancelot
645e5d4279
Merge pull request #16 from OpenFusionProject/qol
...
Improved server address processing
2022-05-05 18:45:24 -05:00
gsemaj
7ce21cdddc
Don't perform lookup for obvious IPs and account for async
...
This old version of Node forces us to use callbacks, so I had to rearrange some code to ensure the client only launches after the resolution is complete
2022-04-27 20:50:23 -04:00
gsemaj
8d6e546628
Add automatic DNS resolution for server addresses
2022-04-27 13:44:08 -04:00
gsemaj
6e881cbfaf
Connect to default port 23000 if port not specified
2022-04-27 13:43:51 -04:00
gsemaj
8d5a8df023
Update package-lock for newer npm versions
2022-04-27 13:00:40 -04:00
CakeLancelot
e02f94604d
Move restore default servers hyperlink to about menu
2021-09-20 14:37:24 -05:00
gsemaj
2fcbb9ba06
Fix stray 1.3 reference
2021-09-19 11:00:41 -04:00
Gent Semaj
a0f2ec90d0
Merge pull request #11 from gsemaj/onedotfour
2021-09-19 10:56:41 -04:00
Gent Semaj
d21b0040fd
Merge pull request #4 from gsemaj/edit
2021-09-19 10:56:29 -04:00
gsemaj
1a9c467758
Add corner button to restore default servers
2021-09-18 20:29:08 -04:00