Commit graph

197 commits

Author SHA1 Message Date
Pierce
aacccf389c NPM Bump 2021-08-21 16:07:01 -07:00
Pierce
a0fc6712bd ForgeWrapper 1.5.2 2021-08-21 16:06:21 -07:00
Pierce
0ad9cd7d53 NPM Bump 2021-08-08 13:14:02 -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
Pierce
335c5df755 [NOISSUE] NPM & Stable # Bump 2021-07-08 10:17:22 -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
5c29c67ee5
Merge pull request #73 from Pierce01/dependabot/npm_and_yarn/glob-parent-5.1.2
Bump glob-parent from 5.1.1 to 5.1.2
2021-06-15 18:38:20 -07:00
dependabot[bot]
86368da9f2
Bump glob-parent from 5.1.1 to 5.1.2
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 18:37:19 +00:00
Pierce
ed8ce1fd55
Merge pull request #72 from Pierce01/dependabot/npm_and_yarn/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9
2021-05-11 11:18:05 -07:00
dependabot[bot]
829b3b48fc
Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 17:58:30 +00:00
Pierce
28b2a5e172
Merge pull request #71 from Pierce01/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21
2021-05-11 10:54:00 -07:00
dependabot[bot]
9f3618b218
Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 15:48:16 +00:00
Pierce
7a7c19af0c Closes #69 2021-05-05 10:48:52 -07:00
Pierce
c5a0a6c72c
Merge pull request #67 from RynerNO/master
fix async modifier cannot be used in an ambient context error
2021-04-02 18:09:25 -07:00
RynerNO
b5f790f4e7 fix async modifier cannot be used in an ambient context. error 2021-03-30 20:45:33 +03: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
Pierce
449e15e867 Update index.d.ts 2021-02-10 17:00:34 -08:00
Pierce
5ebe15c7e9
Merge pull request #63 from KevSlashNull/Split-large-MCLCore-launch-into-multiple-methods
Split large MCLCore#launch into multiple methods
2021-02-10 16:58:39 -08:00
Pierce
cc6d1f5dc1
Merge branch 'master' into Split-large-MCLCore-launch-into-multiple-methods 2021-02-10 16:57:23 -08:00
Pierce
4e327ec68d
Merge pull request #61 from Suyashtnt/better-ts
Update index.d.ts
2021-02-10 16:52:04 -08:00
Kev
afe4c4d7a4 Add launcher methods to index.d.ts 2021-02-10 15:04:25 +01:00
Kev
926060e79c Split large MCLCore#launch into multiple methods 2021-01-31 23:12:17 +01:00
Just a Badly Drawn TABS Dude
da1b77a585
Update index.d.ts 2021-01-19 12:59:04 +02:00
Pierce
63e810a685
Merge pull request #60 from Suyashtnt/better-ts
Added docs for types. Thanks, Tabs!
2021-01-18 14:05:19 -05:00
Just a Badly Drawn TABS Dude
74411441d6
Update index.d.ts 2021-01-18 21:03:07 +02:00
Suyashtnt
b9647a91ba
add docs for types and edit a few types 2021-01-18 16:13:47 +02: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
00fbb5a4af
Merge pull request #50 from Bricklou/ts-typing
Created a declaration file for typescript
2020-09-14 21:59:48 -07:00
Louis Bailleau
bd2250df90 Fixed typing error, and update memory and window types in index.d.ts. 2020-09-12 23:15:13 +02:00
Louis Bailleau
98d780f338 Merge branch 'ts-typing' of github.com:Bricklou/MinecraftLauncher-core into ts-typing 2020-09-12 22:51:10 +02:00
Louis Bailleau
f7ee07e43f Fixed a typing in the declaration file 2020-09-12 22:50:07 +02:00
Louis Bailleau
192f9a18ef Created typescript typings for the library
- Created module declaration file
- Added `@types/node` to dev dependancies
2020-09-12 22:50:06 +02: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
Louis Bailleau
c1d37b4bb7 Fixed a typing in the declaration file 2020-07-30 03:08:31 +02:00
Louis Bailleau
715de3fb57 Created typescript typings for the library
- Created module declaration file
- Added `@types/node` to dev dependancies
2020-07-30 02:47:30 +02:00
Pierce
ef45a1d741 NPM Bump for PR 2020-07-23 12:03:31 -04:00
Pierce
634d74124d
Merge pull request #48 from Team-Fruit/master
Add library root overrides
2020-07-23 12:02:23 -04:00
Kamesuta
7602dedd76 Added library root 2020-07-23 06:19:48 +09:00
Pierce
691634ca12 [NOISSUE] Bumping badge # 2020-07-22 15:25:41 -04:00