Commit graph

103 commits

Author SHA1 Message Date
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
Pierce
ae5c2149a2 Remove console.log from refreshtoken 2019-05-22 20:28:33 -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
c0cf0aee01 Checksum, fix random version file request, removed node-fetch 2019-05-07 19:12:24 -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
ebefa405a0 ignore that 2019-04-28 17:53:37 -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
Pierce
0e9195e5b1 download assets a tad faster! 2019-04-12 19:26:39 -04:00
Pierce
dd8b80d69d fallback if modification doesnt have the proper arguments 2019-04-06 13:03:01 -04:00
Pierce
c767fb0685 Adds in support for custom jars like optifine 2019-04-05 21:15:12 -04:00
MelonCode
82b441d0f7 Added option to specify JRE executable file 2019-04-02 02:58:47 +03:00
Pierce
b95ef6f9a2 Not sure how this worked when i tested this.. Fixed some dumb mistakes 2019-03-26 22:45:35 -04:00
Pierce
f5e5482c5d Fixed audio for older MC versions not downloading. Made Readme better 2019-03-26 17:20:36 -04:00
Pierce
b21ddf1d63 Adding in support for older MC versions. Looking into sound issue 2019-03-26 12:20:36 -04:00
Pierce
8e3d6751ae woops, change json parse down here to 2019-03-10 21:29:42 -04:00
Pierce
a2e166dfe1 Added Proxy and Server launch options. Reformted stuff 2019-03-10 20:18:49 -04:00
Pierce
2652654c18 Fixed downloads causing crashes. Better Docs 2019-02-10 21:21:14 -05:00
Pierce
9574095696 Clean up launchArguments 2019-02-08 18:37:05 -05:00
Pierce
a1652d2398 object to props, fixed 1.7.3 and up from not launching 2019-02-08 16:59:27 -05:00
Pierce
edaf35dcd8 changes to getLaunchOptions so tweaks arent hard coded 2019-02-08 15:18:07 -05:00
Pierce
f9fc29ee67 Forge Support 2019-02-08 12:19:54 -05:00
Pierce
05daffc033 Prepping for forge support 2019-02-07 08:14:16 -05:00
Pierce
a4a653d8fa Download progress event 2019-01-28 17:26:04 -05:00
Pierce
2f0c3b3c44 Get package from url 2019-01-13 20:31:17 -05:00
Pierce
2b6fa2a973 Events 2019-01-12 21:39:22 -05:00
Pierce
4202eb201c prevents code from continuing to run
No idea why the first resolve doesnt just end it...
2019-01-12 20:51:24 -05:00
Pierce
2b11817bfa Removed a unneeded require 2018-12-09 18:13:20 -05:00
Pierce
3714c6582d Added extractPackage, makePackage, and added more logic 2018-12-01 13:26:15 -05:00
Pierce
0e09106643 added validate and refresh endpoints to logic 2018-11-30 19:33:08 -05:00
Pierce
d4a3f9b90b better way to auth, prepping for client use
github scares me ;-;
2018-11-29 21:41:07 -05:00
Pierce
9362fe25df Revert "better way to auth, prepping for client use"
This reverts commit a1d4bd8d3b.
2018-11-29 21:38:47 -05:00
Pierce
a1d4bd8d3b better way to auth, prepping for client use 2018-11-29 21:37:58 -05:00
Pierce
9f1f972d0e change asset url to https 2018-10-29 20:55:03 -04:00
Pierce
78b80ebc27
woops 2018-10-29 18:22:22 -04:00
Pierce
c117a6707e Init 2018-10-29 18:13:58 -04:00