Commit Graph

325 Commits

Author SHA1 Message Date
Daniel Scalzi
e08c3a903a Add support for mod loading on Forge 1.13. 2019-02-18 18:17:31 -05:00
Daniel Scalzi
81367bc619 1.13 Update Phase 1
Mojang has changed its manifest format for 1.13.
Forge is no longer a universal jar, it requires more hosted files, all of which are generated by the installer.
We can no longer extract the version manifest from forge's jar and have to include it in the distribution.
This commit adds support for launching forge only, mods are currently not supported from the distribution.
Handling of 1.13 launches are subject to change as we move forward.
2019-02-18 06:31:01 -05:00
Daniel Scalzi
e8e7f85c64 Updated deps. 2019-02-17 19:21:23 -05:00
Daniel Scalzi
c834ca971a Order the launch arguments better.
Classpath -> JVM -> Main Class -> Liteloader -> Minecraft ->
Client Options -> Mod list
2019-02-14 20:22:12 -05:00
Daniel Scalzi
6b96770c98 Update dependencies (clean install). 2019-02-12 19:20:54 -05:00
Daniel Scalzi
46f8b195d6 v1.5.2 2019-02-05 17:35:31 -05:00
Daniel Scalzi
6d1ecd73ee Show a meaningful message if users try to login without a paid account. 2019-02-05 17:26:00 -05:00
Daniel Scalzi
c74e3f0676 Updated dependencies. 2019-02-05 17:06:45 -05:00
Daniel Scalzi
8bd040aece v1.5.1 2019-01-20 22:32:23 -05:00
Daniel Scalzi
90651d4fbe Reset clientToken if all accounts are removed. 2019-01-20 22:29:05 -05:00
Daniel Scalzi
3e20b1f63a Updated dependencies. 2019-01-20 06:59:56 -05:00
Daniel Scalzi
8c0bf8faac Improve error handling during launch (#21)
If anything happens to the forked process, the main should now pick up on it and alert the user.
Should no longer get 'stuck at 100%' issues when the forked process fails, for whatever reason.
2019-01-20 06:55:13 -05:00
Daniel Scalzi
cb12c0786e Fix element class name for the data directory title. 2019-01-04 14:46:24 -05:00
Daniel Scalzi
de15440e6d Added option to change data folder location. (#17)
Removed commonDirectory.
Removed instanceDirectory.
Added dataDirectory. The common and instance directories are now resolved from this.
The config.json and distribution.json are now stored in Electron's data folder (app.getPath('userData')).
Users can edit the dataDirectory under launcher settings.
2019-01-04 14:25:27 -05:00
Daniel Scalzi
e12197526d Allow users to change install directory on windows. 2019-01-02 18:48:00 -05:00
Daniel Scalzi
d2982ca387 v1.4.1 - Forge 1.12.2 (4/10) + requires absolute: prefix. 2018-12-31 11:27:40 -05:00
Daniel Scalzi
d7fe519923 Preliminary Java 9+ Support (#20).
We will still not allow these versions to be used until they have been fully verified on our far-future 1.13 test server.
2018-12-31 10:39:27 -05:00
Daniel Scalzi
be533af38b v1.4.0 - Added Shader Options, Electron v4. 2018-12-21 16:06:34 -05:00
Daniel Scalzi
b98a4ec21f Shaderpack settings nearly finalized.
Added saving function, add pack button, drag and drop functionality to the button, ability to
refresh the list of packs.
Added height limit to the dropdown with scrolling. Cleaned up some styles.
2018-12-21 08:02:24 -05:00
Daniel Scalzi
a4d4b69791 Initial work on shader options, electron@4. 2018-12-21 06:51:08 -05:00
Daniel Scalzi
f5b1418d18 Reduced size of background 7. Removed some unused images.
7.jpg : 24MB -> 5MB
Updated electron, electron-builder.
2018-12-21 02:29:33 -05:00
Daniel Scalzi
f65793c0fb Previous commit should have been v1.3.0.
A new feature is included in this version, requiring a minor bump.
2018-12-17 00:36:19 -05:00
Daniel Scalzi
001a2cbe81 v1.2.1 - Fixed issue w/ native lib parsing.
In 1.12.2, some natives do not provide a rules
object and instead just omit the classifier
from the natives object. We now check for that.

Updated electron to v3.0.12.
2018-12-17 00:11:23 -05:00
Daniel Scalzi
f613bdba4d Updated dependencies. 2018-12-14 00:27:15 -05:00
Daniel Scalzi
f5ce7734b8 Ensure mods dir exists on file drop. 2018-12-01 10:06:23 -05:00
Daniel Scalzi
d779eacf61 Added drag/drop functionality to the add mods button.
You can now drag one or more files onto the add mods button in order to add them to the mods directory. Only jar, litemod, and zip files will be moved.
Changed eslint to use a single configuration file, with overrides for the UI scripts.
Now using fs-extra, replace usages of rimraf and mkdirp with fs-extra functions.
2018-12-01 08:20:42 -05:00
Daniel Scalzi
d9c9b32446 v1.2.0 2018-11-25 22:48:23 -05:00
Daniel Scalzi
d9858958c9 Oracle now uses https, update body parser accordingly. 2018-11-25 22:18:59 -05:00
Mars Geldard
9d5f708dfc Added Application Menu for macOS (#19) 2018-11-25 22:06:33 -05:00
Daniel Scalzi
684e884d9c Mod config bug fixes, electron upgrade.
If the instance mods directory does not exist when the 'Add Drop-In Mod' button is clicked, it will be created.
The update selected server code has been modified. Previously, the server would be updated before the mod config was saved. This has been fixed so that the mod config is saved before the server is switched.
Updated electron to v3.0.10.
2018-11-20 05:19:59 -05:00
Daniel Scalzi
79d1d59451 v1.1.0 2018-11-18 22:17:18 -05:00
Daniel Scalzi
c6051f9942 v1.1.0-pre.2 2018-11-18 22:03:17 -05:00
Daniel Scalzi
acd6143d30 Modify AutoUpdater behavior on macOS.
The AutoUpdater requires that macOS builds be code signed. That is currently not possible.
As a workaround, the autoupdater on mac will now alert users that an update is available and give the option to download the file directly from GitHub.
Closes #16.
2018-11-18 21:51:48 -05:00
Daniel Scalzi
11cb9e6c28 v1.0.6-pre.2 2018-11-18 17:08:50 -05:00
Daniel Scalzi
bcd8082afe Fix native lib extraction for old MC versions.
#18
2018-11-18 04:33:59 -05:00
Daniel Scalzi
03273232c6 Fix for native lib parsing in old MC versions.
Fixes #18.
2018-11-18 04:19:17 -05:00
Daniel Scalzi
37d35a6938 Updated electron-updater to v4 2018-11-17 23:30:44 -05:00
Daniel Scalzi
affacbf56e Cleanup 2018-11-11 18:28:58 -05:00
Daniel Scalzi
e6b9728fe5 Updated electron-builder, electron-updater. 2018-11-09 01:03:28 -05:00
Daniel Scalzi
ee2a4a9319 v1.0.5 2018-11-06 02:46:36 -05:00
Daniel Scalzi
a9f12ee329 Fixed 'Failed to verify username.'
Send first request without clientToken, store the returned clientToken, use that for subsequent requests. Dont generate random UUID for clientToken, it can sometimes be 'bad'.
Removed dependency 'uuid'.
Updated 'electron-builder'.
2018-11-04 02:03:55 -05:00
Daniel Scalzi
eb946d6a2a v1.0.5-pre.2 - Further work on investigating mac issue.
Upgraded xcode image to v10.
Added proper handler for auto-update errors.
Upgraded dependencies.
2018-11-01 17:37:05 -04:00
Daniel Scalzi
b7f03fa778 v1.0.5-pre.1 - Investigating dmg auto-update issue. 2018-10-31 20:44:35 -04:00
Daniel Scalzi
ce86840a87 v1.0.4 - Logic cleanup, minor bug fixes.
Removed the old workaround logic for queueing archives for extraction.
Removed the old forge callback (this was replaced a while ago).
Fixed a typo in _parseDistroModules (getType).
Use discordrpc straight from the repository. The author has refused to push the bugfix for nearly a month.
Fix timestamp issue on discord rich presence.
Dependency upgrades.
2018-10-31 01:25:38 -04:00
Daniel Scalzi
96d08955a4 v1.0.3 - Moved from deprecated mojang endpoint, dep upgrade. 2018-10-28 17:19:41 -04:00
Daniel Scalzi
2b10133f88 v1.0.3-pre.2 - Updated dependencies. 2018-10-28 16:46:53 -04:00
Daniel Scalzi
92a8b431d6 Electron-updater should be at ^3.1.3 2018-10-25 13:39:36 -04:00
Daniel Scalzi
1a3acec994 v1.0.3-pre.1 2018-10-25 12:53:52 -04:00
Daniel Scalzi
8a7b947500 Move back to electron-updater (fix included), dep upgrade. 2018-10-25 12:51:51 -04:00
Daniel Scalzi
f089993ea4 Use launchermeta.mojang.com instead of S3 (deprecated). (#12)
The deprecated endpoint will be removed by the end of 2018.
2018-10-25 12:45:32 -04:00