Commit Graph

104 Commits

Author SHA1 Message Date
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
CakeLancelot
f321ebdf56 Update .gitignore 2021-04-28 12:17:44 -05:00
CakeLancelot
3f6b2e3e58 File/folder restructuring 2021-02-07 18:04:44 -06:00
CakeLancelot
6adf72c608 "Final" changes
* Remove placeholder option for version and let the first available one get selected instead
* Remove git hash in favor of just release version (this should probably be set dynamically at some point)
* Clarify comments
2020-12-23 11:11:16 -06:00
CakeLancelot
1d70e9e3f6
Merge pull request #2 from gsemaj/main
Add default values for server description & IP
2020-12-23 10:53:54 -06:00
Gent S
f7736a07a3 Add default values for server description & IP 2020-12-23 11:12:48 -05:00
CakeLancelot
02f390499c Adding and deleting servers works.
Still need to fix the add server validation
Other changes:
* Convert all files to spaces and fix indentation
* We now write out the images.php and sponsor.php files if an endpoint url is defined for a server
* Added comments
2020-12-23 04:09:45 -06:00
CakeLancelot
3d8cd79a55 Update .gitignore 2020-12-22 20:21:50 -06:00
CakeLancelot
fab7d53150 Check before deleting rankurl.txt 2020-12-22 12:02:30 -06:00
CakeLancelot
a73b3a4b3f Add initial setup splash window
as well as other additions and tweaks
2020-12-22 10:59:02 -06:00
CakeLancelot
b318c9597e Servers are now loaded from file, and you can connect to them
Needs some cleanup
Also did some misc. UX changes and tweaks
2020-12-22 04:45:43 -06:00
CakeLancelot
c1d268ed18 Add game client related files 2020-12-21 20:44:17 -06:00
CakeLancelot
74334add0f
Merge pull request #1 from gsemaj/main
Ignore Electron engine files
2020-12-21 20:41:44 -06:00
Gent S
77354d2407 Ignore Electron engine files 2020-12-21 21:36:01 -05:00
CakeLancelot
b837fbc7df Moved to being a single-page app
This simplifies some logic, and lets us do a sweet transition from server list to in-game.
2020-12-21 20:31:46 -06:00