Commit graph

149 commits

Author SHA1 Message Date
870830d58f fix: full axios migration 2023-06-21 17:30:27 +03:00
523ea1e7ce fix: full axios migration in handler 2023-06-21 17:12:39 +03:00
6cce71b998 fix: 1/2 axios migration 2023-06-21 16:52:41 +03:00
b856fb0f7f Update handler.js 2023-06-19 17:25:17 +03:00
4a6c340180 Merge branch 'master' of https://github.com/artegoser/pimi-launcher-core 2023-06-19 17:13:23 +03:00
Pierce
5e004db47c extract library download logic into its own function
Enforcing the DRY principle here.
2023-06-18 17:37:33 -07:00
4a5b47e054 feat: get versions 2023-06-18 18:52:39 +03:00
dfa54d3f65 doc: rename, formatting 2023-06-18 15:07:15 +03:00
a6cfdd3c8e doc: rename functions 2023-06-18 14:41:41 +03: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
2e56e2041b ForgeWrapper 1.5.5 2021-12-22 10:13:52 -05:00
Pierce
4b26d6cfa2 ForgeWrapper 1.5.4 & Log4j Fix 2021-12-13 12:44:09 -05: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
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