Commit graph

120 commits

Author SHA1 Message Date
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
7a7c19af0c Closes #69 2021-05-05 10:48:52 -07:00
Pierce
e6578ac7d9 [NO ISSUE] NPM Bump & Small fix
Allows launchers to launch mordern forge more then once in a single running instance.
2021-02-10 17:10:51 -08:00
Kev
926060e79c Split large MCLCore#launch into multiple methods 2021-01-31 23:12:17 +01:00
Pierce
8812596cd4 1.12.2 Forge hotfix 2021-01-08 21:07:08 -05:00
Pierce
5e5cf5158e Forge -> Custom -> Vanilla 2021-01-08 17:03:32 -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
1f50ad1ff8 Merge branch 'pr/51' 2020-08-23 23:38: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
MT224244
53f20d54d3 Remove the hardcoded "M" in the JVM memory allocation argument. 2020-08-19 12:08:12 +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
1a4983a8b3 [NOISSUE] Travis test, add detached. 2020-06-19 22:21:00 -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
Pierce
c35332a8e5 Added Warnings & changeApiUrl (authenticator.js) 2020-04-04 13:25:14 -04:00
Pierce
4e9c2fbfb3 Incase package.json is removed, skip over version check. 2020-03-24 14:52:30 -04:00
Pierce
cc9396a851 Fixed images, slight refactor 2020-03-17 20:15:32 -04:00
Pierce
2f65a98d9a Optifine fix + NPM push.
should let all custom installations work now since the MC version jar was moved.

Tested on: Optifine, Fabric, Vanilla
2020-02-09 13:08:35 -05: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
Pierce
5619acb711 change default maven repo so typesafe doesnt break. solves #26 and #27 2019-10-26 17:53:04 -04:00
Pierce
d60dcf0209 HOTFIX undefined if checkJava errors 2019-10-12 19:08:35 -04:00
Pierce
3fbea961c8 v3.11
Better handling of Forge when it doesnt have a version.json.

remove package.js and moved it to main handler file.

display whether or not java is 64 or 32 bit.
2019-10-10 13:21:23 -04:00
Pierce
69985e3d04 Added types to download status. changed downloadasyc params 2019-08-28 10:21:48 -04:00
CodingKiwi
4815924279 Changed var to let, updated promise check 2019-08-28 15:50:31 +02:00
CodingKiwi
874ed6eedc Added progress events for 0% 2019-08-28 15:47:04 +02:00
CodingKiwi
ffcfe93482 Fixed wrong total value in downloadAsync 2019-08-28 15:08:59 +02:00
Pierce
d83aadc4c3 Version bump, warnings, code refactor! 2019-08-27 17:30:44 -04:00