Commit Graph

118 Commits

Author SHA1 Message Date
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
gsemaj
c2cd2d5cd6 Add functionality to restore default servers 2021-09-18 20:28:57 -04:00
gsemaj
53bf47d6da Update version references 2021-09-18 19:10:28 -04:00
gsemaj
c6e3316003 Add missing Unity Web Player files 2021-09-18 19:07:56 -04:00
gsemaj
9c5338da2d Check config before running cache swap logic 2021-09-18 18:21:41 -04:00
gsemaj
c997ab96ec Fix broken calls to copySync 2021-09-18 18:05:33 -04:00
gsemaj
17ca1f3c24 Add routine for migration from pre-1.4 2021-09-18 17:59:15 -04:00
gsemaj
71d3b970fc Update config file properties
- enable cache swapping by default
- replace initial-setup-completed with last-version-initialized
2021-09-18 17:40:30 -04:00
gsemaj
4def3b6028 Switch default version sources to DexLabs CDN 2021-09-18 17:25:31 -04:00
gsemaj
0cdf3df4d4 Implement Edit Modal for Server Entries 2021-09-18 13:47:20 -04:00
gsemaj
65c2914ef9 Add edit button & server deselection on add 2021-09-18 12:54:23 -04:00
CakeLancelot
54f083c22d
Merge pull request #8 from gsemaj/caching
Implement basic rename-based cache switching
2021-09-16 04:56:22 -05:00
CakeLancelot
79bee6f1e4
Update copyright date 2021-09-16 04:56:03 -05:00
gsemaj
24a802facc Adjust terminology in logging 2021-09-15 15:48:01 -04:00
gsemaj
33be67f7e9 Make lastver a dotfile to keep it hidden 2021-09-15 15:46:12 -04:00
gsemaj
d09f06fb26 Implement basic rename-based cache switching 2021-09-15 15:38:16 -04:00
CakeLancelot
812ddeb0b8 Ignore unnecessary files on pack, explicitly enable shortcut creation
I *would* like for shortcuts to be an optional thing (ex. an installer page asking if you would like to create one in start, on desktop, etc.) but it seems that you need to mess with NSIS scripting. Later on, maybe.
2021-05-17 04:12:53 -05:00
CakeLancelot
5cbe30f39f Various package.json tweaks
* On `npm run dist`, build both nsis and zip
* Delete unnecessary default-app folder after pack
* Make sure installers are 32 bit
* Amend `repository` field
2021-05-17 03:09:24 -05:00
CakeLancelot
78b6c86410 Update package-lock 2021-05-16 21:19:24 -05:00
CakeLancelot
bfac6e9250 Use fs-extra for copying files synchronously
Also, sorry about the diff. Turns out some of the files in the repo were CRLF.
2021-05-16 21:06:57 -05:00
CakeLancelot
6f42297102 Enforce LF in repo 2021-05-16 20:59:01 -05:00
CakeLancelot
5d5dce9647 Move to npm for development and packaging
I had to hack the package.json to force `electron-prebuilt` to use a 32-bit binary - everything else should be fairly out of the box
2021-04-28 12:37:22 -05:00