Commit Graph

415 Commits

Author SHA1 Message Date
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
Daniel Scalzi
86c7245c41
Updated PackXZExtract to v1.0.2. 2018-10-18 01:39:27 -04:00
Daniel Scalzi
23cb2b8164
v1.0.2 2018-10-14 23:16:14 -04:00
Daniel Scalzi
d54a20a002
v1.0.2-pre.4 2018-10-14 19:44:40 -04:00
Daniel Scalzi
e6874b50bb
Rename electron-updater to electron-updater-bin for now. 2018-10-14 19:08:47 -04:00
Daniel Scalzi
b93ecf29e3
v1.0.2-pre.3 2018-10-14 18:42:13 -04:00
Daniel Scalzi
2da80c2047
Upgraded deps. 2018-10-05 22:24:55 -04:00
Daniel Scalzi
5c9b5d9398
v1.0.2 - Updated Electron to v3.0.0, more 2018-09-26 13:04:46 -04:00
Daniel Scalzi
2090021b30
v1.0.2-pre.1 2018-09-23 02:20:51 -04:00
Daniel Scalzi
3acc213544
electron-is-dev is now useless, use our own copy. 2018-09-23 02:19:16 -04:00
Daniel Scalzi
b2e9223b10
Updated to Electron v3.0.0, renderer to node v10.
Fixed deprecation of Buffer constructor in node v10.
Set flag to print the stack trace of node warnings in the renderer.
2018-09-22 05:07:18 -04:00