Commit Graph

134 Commits

Author SHA1 Message Date
Daniel Scalzi
8764c52fcc
Use Got instead of Axios.
The lack of maintainers on Axios is worrying. Got seems like a more solid option.
2020-04-17 23:50:18 -04:00
Daniel Scalzi
9097bafb5d
Added Axios + Logging & Testing Frameworks.
Rewrote mojang.ts to use axios. This included creating a more robust error handling
system and response payload structure. Also included unit tests.

Added axios (HTTP Library to replace request)
Added winston (Logging Framework)
Added mocha (Testing Framework)
Added chai (assertion library)
Added nock (mock server)
2020-04-13 22:21:48 -04:00
Daniel Scalzi
3cde9ef75e
Simplify structure.
Now using electron-webpack.
Additional frameworks will be added down the line as this setup becomes
more comfortable.
2020-04-13 05:56:26 -04:00
Daniel Scalzi
b9536ed014
Initial work on react.
Far from done.
Far from working.
Requires rewrite of UI logic using react patterns.
2020-03-08 20:40:37 -04:00
Daniel Scalzi
9cb10b70af
Working on typescript conversion, not functional yet. 2020-01-26 01:12:48 -05:00
Daniel Scalzi
1110119df0
Dep upgrade, minor tweaks. 2020-01-17 04:42:16 -05:00
Daniel Scalzi
4f504cd470
Updated dependencies, deprecated methods. 2020-01-01 15:37:07 -05:00
Daniel Scalzi
19ee187f10
Electron v7, dependency upgrade, lint. 2019-11-16 17:17:55 -05:00
Daniel Scalzi
90cd2c4614 v1.7.0 2019-10-17 19:14:15 -04:00
Daniel Scalzi
da706813ba Dependency Upgrade. 2019-09-23 14:13:36 -04:00
Daniel Scalzi
cbc8b07467 Rebrand to Helios Launcher. 2019-09-05 16:08:47 -04:00
Daniel Scalzi
590cefc5d4 Electron 6, dependency upgrade. 2019-08-26 17:57:27 -04:00
Daniel Scalzi
0194c2b6f1 Node v12, Dependency Upgrade. 2019-07-11 20:51:58 -04:00
Daniel Scalzi
555cb0125c
Electron@5 2019-06-02 16:15:57 -04:00
Daniel Scalzi
68362021f5
Dependency upgrade. 2019-05-28 21:34:19 -04:00
Daniel Scalzi
ef112cef3a
Updated dependencies. 2019-04-23 17:06:05 -04:00
Daniel Scalzi
a0520a9458
Updated dependencies. 2019-03-17 23:11:31 -04:00
Daniel Scalzi
448440a604
VersionJar is not needed. (#26) 2019-03-06 22:47:45 -05:00
Daniel Scalzi
644a32de37
Start removing specific branding. 2019-03-06 00:37:31 -05:00
Daniel Scalzi
1fc118ee8c
Updated forge 1.13 configuration, updated dependencies. 2019-02-28 19:40:38 -05:00
Daniel Scalzi
e08c3a903a
Add support for mod loading on Forge 1.13. 2019-02-18 18:17:31 -05:00
Daniel Scalzi
e8e7f85c64
Updated deps. 2019-02-17 19:21:23 -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
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
3e20b1f63a
Updated dependencies. 2019-01-20 06:59:56 -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
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
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
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