Commit graph

95 commits

Author SHA1 Message Date
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
CodingKiwi
18ac2852e2 Updated error handling in authenticator 2019-08-27 20:07:33 +02: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
72f6104763 HOTFIX 1.14.4. Native and library rule check 2019-08-22 10:58:30 -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
407d7faef2 Changes to Auth, proper credits 2019-08-12 12:34:28 -04:00
Pierce
388feda287 Fix asset time outs 2019-08-07 16:25:49 -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
45f3c95da1 Fixed a silly error i made 2019-07-21 09:09:18 -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
d521ecee31 refactors and updates 2019-06-22 22:54:27 -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
607ecc9486 remove the console.log... ugh 2019-05-26 16:43:52 -04:00
Pierce
9cf79157d2 Fixed improper version json, added ability to set width and height 2019-05-26 16:42:23 -04:00
Pierce
41d091bbb9 Fixed Forge and assets breaking 2019-05-26 12:23:34 -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
1a5d290cc8 remove event.js 2019-05-22 20:35:45 -04:00