Commit graph

64 commits

Author SHA1 Message Date
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
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
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
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
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
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
Pierce
06337a8914 v3.11.3 2019-10-28 18:03:32 -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
61f8af7a20 Progress bar, java checker, changes to how things are downloaded 2019-08-26 16:32:32 -04:00
Pierce
eec04746e6 Simplified overrides. added more keywords 2019-08-22 11:40:38 -04:00
Pierce
77532e2166 parse the buffers instead of leaving them. Print MCLC version. allow events to register 2019-08-20 14:28:56 -04:00
Pierce
7ef41de7cc Added and fixed some overrides. URL overrides 2019-08-12 21:06:54 -04:00
Pierce
779f828cde added cwd 2019-08-05 12:54:57 -04:00
Pierce
22baef8735 moved error to data. Read DESC
before you go "wait what the f*ck", in older versions, the minecraft process emits data to `error` instead of normal `data`. In newer versions, errors and data are all processed through `data`, making `error` pointless.
2019-08-05 10:30:06 -04:00
Pierce
001f52e150 fix the download of client packages 2019-07-28 12:52:53 -04:00
Pierce
b850909f5a fix MC lockup for OSX 2019-07-23 16:27:33 -04:00
Pierce
4a30dd96d5 Added ability to override paths. Fixed docs and typos 2019-07-22 19:29:36 -04:00
Pierce
a21fe5036b added support for forge installer. "Merged" #15 and #13. arg length set to 11 2019-07-19 06:30:34 -04:00
Pierce
fafd82856f Fix clean up, remove options.forge.path 2019-06-25 11:01:35 -04:00
Pierce
e5e1d68883 Small changes, non breaking this time
Removed getPid in favor of returning the child process instead. Added OS detection as well!
2019-06-08 14:21:15 -04:00
Pierce
62d02dccba small but major changes again. Pretty much done now
Removed: close restart. setting options in constructor.
Added: getPid and new gif
Reformatted: options now go back into the launch function. `authorization` still accepts either an json object or a promise. Better docs v2
2019-06-06 14:49:18 -04:00
Pierce
3f0ceae5b6 Change how authentication gets passed
I was making a launcher of my own, and I found it very hard to juggle with having the auth in the options since I needed to set the client events before I actaully had the users login. This will fix the issue i was running into!
2019-05-23 20:40:44 -04:00
Pierce
69ec61f56e Fixed dev bugs and old docs. Added restart and close functions 2019-05-23 19:40:34 -04:00
Pierce
0d4bcfd6f6 rewrite 2019-05-22 18:28:48 -04:00
Pierce
736c554c69 forgot a separator here 2019-05-16 19:02:27 -04:00
Pierce
efac3cfe53 Download custom resources if url is provided. Mainly made for Fabric 2019-05-10 22:10:38 -04:00
Pierce
50cc5678fc fixed wording. Sorry, I'm tired and s t r e s s e d 2019-05-04 22:03:53 -04:00
Pierce
5748b386e3 clean up classpaths, deprecating options.forge.path to options.forge 2019-05-04 21:57:12 -04:00
Pierce
25f889f091 Fix EPERM error, debug event 2019-04-28 17:52:37 -04:00
Pierce
a535ddb890 Fix linux issues, thanks class paths! Closes #8 2019-04-26 20:18:18 -04:00
Ian Murray
7717e8c388
Fix issues with paths on different OSes 2019-04-26 20:13:38 -04:00
Pierce
fd534159c8 OS path friendly, should address #8.
Also refactored code! Thanks Melon!
2019-04-26 18:04:32 -04:00
Pierce
e207529dac Change required args from 9 to 5. New event
Event allows you to see the launch arguments for debugging.
2019-04-26 13:03:39 -04:00
Pierce
4b2393544b Revert "Fix duplicate launch arguments causing a crash in older versions"
This reverts commit 2ca80ba612.
2019-04-26 12:47:39 -04:00
Pierce
2ca80ba612 Fix duplicate launch arguments causing a crash in older versions 2019-04-26 10:30:09 -04:00
Pierce
f90c2b89af Deprecated start, fixed download hanging 2019-04-25 08:57:46 -04:00
Pierce
cd698c9f1b Update License and reformat some things
Not a major change

also removed the forced `-Xincgc` .
2019-04-18 17:35:39 -04:00