Commit graph

99 commits

Author SHA1 Message Date
Pierce
5e004db47c extract library download logic into its own function
Enforcing the DRY principle here.
2023-06-18 17:37:33 -07:00
HerozDotExe
6ca014dbba Fix no artifact property when downloading a library 2023-06-17 19:23:19 +02:00
Pierce
6eefbcdf6f quickPlay support, opts.server removed
to use the old server launch arg format, use the legacy option.
2023-06-16 17:35:25 -07:00
Pierce
08d49deb49 Add assetIndex override, npm bump 2023-06-16 15:47:20 -07:00
Miate
acdaac526d
Added checksum for library download operation (#110) 2023-05-22 14:52:30 -07:00
TehMartinXz
1fa4668de9
Cache manifest json files (#104)
* Add cache code

* Fix typo and add cache option to documentation

* Match logging style

* Add return

* Follow ESLint style guide

* Support older Node Versions
2023-03-10 13:36:33 -08:00
Pierce
63ef1da31e Hotfix for Quilt, updating clientPackage usage & docs 2023-02-01 13:36:30 -08:00
Tomate 06 13
7a4221c5e9
Add support for Quilt (#97) 2023-01-29 17:16:27 -08:00
Pierce
8d59a34afe Fix JSON parse error
Closes #94
2022-09-13 09:10:05 -07:00
Pierce
639474ba92 Fix typo & remove console.log 2022-08-29 15:23:05 -07:00
Pierce
74c3b69a41 Properly parse object based launch args
Closes #90
2022-08-28 21:59:32 -07:00
Pierce
61e4c666db Fix assets from not loading 2022-08-28 19:40:57 -07:00
Kuzey Kurtuluş
0f28669e08
Custom version name was not appearing on F3 screen (#93)
When launching custom versions from vanilla launcher like Fabric, OptiFine you'll notice it'll show up as Minecraft 1.8.9 (OptFine_FOO_BARR/vanilla) at top of the debug menu. MCLC was using options.number instead of options.custom and it was causing that problem.
2022-08-22 15:30:34 -07:00
Pierce
b59a4b74df HOTFIX 1.19 support 2022-06-12 16:03:22 -07:00
Pierce
86d42246f1 OptiFine & UUID fix
Allows OptiFine properly install and for forge clients to launch in offline mode. Addresses #84
2022-03-01 18:52:06 -08:00
Pierce
dfd8c185d4 3.16.9
- ForgeWrapper update fixes 1.12.2 forge installer errors.
- 1.18 compatibility.
2021-11-29 12:27:40 -08:00
Pierce
da0b61a07d Rule check for custom clients
Closes #78
2021-08-27 11:37:18 -07:00
Pierce
a0fc6712bd ForgeWrapper 1.5.2 2021-08-21 16:06:21 -07:00
Pierce
8afc62e2d2 [NOISSUE] Badge bump 2021-08-08 13:13:01 -07:00
Pierce
6af7b10f86 ForgeWrapper & Auth changes 2021-08-08 13:05:50 -07:00
Hanro
3e276479cd
Added launch hooks needed by Microsoft authentication (#77)
* Added launch hooks needed by Microsoft authentication

Added a meta field to the interface IUser that implements a new interface called IMeta

IMeta contains information about if the account is a mojang or microsoft account. It also contains information stating if a set account is a demo account (I just thought it could be useful)

I also added checks to components/handler.js to use the new field. If the field is absent, a filler value will be used that will make mclc behave as it did before this change.

* Moved the meta field inline

Just a typescript change for better consistency with the rest of the type files.

* Update index.d.ts

Properly managed to debug the vanilla launcher and fixed this oversight

It marks it with xbox as the type in the vanilla launcher's files, but the real arg pushed is msa.
2021-07-14 15:37:30 -07:00
Just a Badly Drawn TABS Dude
9efda4b9f7
fix: download to correct folder if custom is specified (#75)
download the .json and the jar to the custom folder if it is specified

works with and without custom being set
2021-07-08 10:15:25 -07:00
Pierce
8812596cd4 1.12.2 Forge hotfix 2021-01-08 21:07:08 -05:00
Pierce
6efbc5e2c5 3.16.0
Supports new 1.12.2 forge through installer. Simplified Forge related functions
2021-01-08 17:00:30 -05:00
Pierce
f947379727 ForgeWrapper 1.4.2 2020-11-26 19:22:41 -05:00
kaziu687
53403b158e
Handle whitespace in ForgeWrapper (#55)
Fix problem with generating version.json via ForgeWrapper when any path contains whitespace
2020-11-22 15:42:13 -08:00
Pierce
3544dded05 [HOTFIX] Legacy audio fix 2020-10-03 01:16:03 -07:00
Pierce
aff0c29f17 Merge #51 with a few changes 2020-08-23 23:57:28 -04:00
Pierce
6eb2a7eb78 Merged #52 & removed shelljs
The `gameDirectory` option was moved to `overrides` to keep consistancy as it's for devs that go above and beyond with their launchers.
2020-08-23 23:38:15 -04:00
MT224244
5b21305f99 Add a gameDirectory to your options 2020-08-20 03:27:36 +09:00
Kamesuta
7602dedd76 Added library root 2020-07-23 06:19:48 +09:00
Pierce
1866c237b0 HOTFIX assetRoot override didnt change for index. 2020-07-22 15:17:33 -04:00
Pierce
9ee4f3dda2 [NOISSUE] Nitpicks 2020-07-07 23:36:31 -04:00
Pierce
0905b4154d [HOTFIX & Slight Changes] 2020-06-19 12:26:58 -04:00
Pierce
99b7ff2367 ForgeWrapper support, ESLint added 2020-05-28 22:39:13 -04:00
Pierce
9e21e8189c
Merge pull request #41 from grallc/custom-lauch-args-fix
Fixed custom launch args builder - #39
2020-05-01 16:53:49 -04:00
Pierce
6bf22ef3e9 pre-1.6 support. 2020-05-01 12:43:11 -04:00
Corentin Grall
b5d688fd02
Merge branch 'master' into custom-lauch-args-fix 2020-04-30 15:04:41 +02:00
Pierce
4612107b3a minArgs check for legacy & normal. 2020-04-29 10:51:17 -04:00
Corentin Grall
3d2aa75d09 Fixed custom launch args builder - #39 2020-04-07 16:41:04 +02:00
Pierce
487bfa06fc v3.13.1 2020-04-07 09:56:28 -04:00
Corentin Grall
1c6cc01682
Added --customLaunchArgs options (#40)
* Added --customLaunchArgs options - #39

* Fixed Typo

Co-authored-by: Pierce <spammermuch@gmail.com>
2020-04-07 09:36:06 -04:00
James Galbraith
7db0139b58
Fix typeo, utf9 instead of utf8 (#34) 2020-01-28 19:54:50 -05:00
BuildTools
2f6988339b Change require imports to fs 2020-01-19 23:46:31 +13:00
Pierce
e2f7e1088c 3.11.6 - Fabric support
Defaults back to normal MC jar if a custom one doesnt exist.
2020-01-04 18:21:12 -05:00
Victor Korkoshko
30acf07e90 Fix java check when the path contains spaces (#32) 2019-12-10 08:16:12 -05:00
Victor Korkoshko
73bf1fe232 Fix debug event call after resolve (#30) 2019-11-15 17:49:52 -05:00
SVV-team
db19c68fb8 Add fullscreen option (#29)
Add fullscreen option
2019-11-04 13:33:50 -05:00
SVV-team
0144be7b4c
Fix duplicate options on args push
reqiure replaced with fs.readFileSync
2019-11-01 17:19:13 +02:00
Pierce
06337a8914 v3.11.3 2019-10-28 18:03:32 -04:00