Commit Graph

316 Commits

Author SHA1 Message Date
Daniel Scalzi
f8131d9322
First phase of moving Java validation code to assetguard.js
Static utility functions have been moved. Functions which handle Java downloads will be moved next. AssetGuard is becoming a lengthy file, to cope with this I've added region comments so that specific sections can be collapsed and expanded when needed.
2018-03-30 08:31:54 -04:00
Daniel Scalzi
aacf15efc5
Using object for JavaGuard. May move java downloading processes to AssetGuard as a non-default category. Very much a WIP. 2018-03-29 19:45:05 -04:00
Daniel Scalzi
2062865e7f
Got Java download working, just need to integrate it into the program and add some safeguards to the code. 2018-03-28 21:19:56 -04:00
Daniel Scalzi
4b2cac1eff
Completed Java validation for windows.
Possible paths are pulled from the registry and JAVA_HOME. These are sorted by version and whether they point to a JRE or JDK. Each path will be validated using an experimental option which yields the arch of the binary. The first one to  be validated will be selected and returned.
2018-03-28 17:13:11 -04:00
Daniel Scalzi
4fd202d180
Cleaning up jsdocs to be more aligned with the standard. 2018-03-28 16:42:10 -04:00
Daniel Scalzi
d3c5997baa
Initial work on Java detection/validation system. 2018-03-28 16:13:57 -04:00
Daniel Scalzi
454964ce0b Initial work on welcome view, upgraded dependencies. 2018-02-19 20:27:42 -05:00
Daniel Scalzi
8ea4ae8ec2 Adding login functionality to login view (connection with authmanager). 2018-01-29 01:23:20 -05:00
Daniel Scalzi
52aea274a7 Adding UI functionality to the login view. 2018-01-28 22:33:18 -05:00
Daniel Scalzi
d50b3d2d41 Improving styles for error spans. 2018-01-27 22:51:12 -05:00
Daniel Scalzi
1284c54525 Continuing work on login view, still a ways off from completion. 2018-01-27 22:29:15 -05:00
Daniel Scalzi
a3e7dfc570 Added styles for active elements on the login view. Made the frame buttons unfocusable by tabbing. Changed the login form from a form to a div, the form element is not what we want to use. 2018-01-24 17:35:06 -05:00
Daniel Scalzi
69f9d297d0 Begining to transition over to electron-builder for building the app. Currently in a testing phase for this, gradually refining the build options. Once electron-builder has been fully implemented, the electron-packager scripts will be removed. Also updated electron to address a security issue. 2018-01-24 01:08:29 -05:00
Daniel Scalzi
d7aa79f7d3 Unpacked Avenir.ttc to its several ttf components due to compatibility issues on older operating systems. 2018-01-23 21:16:10 -05:00
Daniel Scalzi
2e4a2be8b4 Adding focus and hover elements to the login view, minor change to svg style locations. 2018-01-23 18:07:18 -05:00
Daniel Scalzi
45997c17f5 Fixed transition error with login arrow button. 2018-01-23 15:41:01 -05:00
Daniel Scalzi
e236a38757 Cleaning up login code a bit, next stage is completing login responsiveness. 2018-01-23 02:41:46 -05:00
Daniel Scalzi
e555dd747f Initial work on login UI. Will continue to experiment with the layout and tweak colors and sizing. 2018-01-22 19:51:14 -05:00
Daniel Scalzi
965b56c6bd Switched to correct news icon. 2018-01-22 15:30:51 -05:00
Daniel Scalzi
d96766528e Added an edit overlay to the user avatar. 2018-01-22 01:17:56 -05:00
Daniel Scalzi
aee8f016bf Updated instagram logo, removed incorrect news logo (the one on the UI is temporary until the correct one is obtained), add responsiveness to the social media icons. 2018-01-21 23:26:51 -05:00
Daniel Scalzi
a6184c81d5 Added social media icons (tweaking/changes still needed). Initial work on organization of main css file. 2018-01-21 20:30:55 -05:00
Daniel Scalzi
e7785fa603 Updating dependencies. 2018-01-19 00:33:05 -05:00
Daniel Scalzi
d4d7be7c47 Rewrote frontend download download function to make use of forked processes. This means that the download runs in full async (essentially in a separate thread). Updated the discord wrapper to be more dynamic. Updated auth manager to use async/await. 2018-01-18 23:45:50 -05:00
Daniel Scalzi
1d10b0209a Minor fix to mojang api wrapper, removing default option on client token configuration, updating logo to scaled version. 2018-01-18 23:41:03 -05:00
Daniel Scalzi
6d6d876aa5 Changed devtools keybind from 'wcdev' in sequence to 'ctrl + shift + i'. 2018-01-18 23:37:59 -05:00
Daniel Scalzi
45998a2239 Bug fixes for discord rich presence.. all appears to work now. 2017-12-03 08:54:10 -05:00
Daniel Scalzi
5afd9815a5 Switches to use internal mojang accessors and removed 'mojang' as a dependency. First attempt at authentication storage, system will be refinded as UI is implemented further. All auth interactions should be made throught authmanager.js 2017-12-03 08:12:55 -05:00
Daniel Scalzi
3c7d7d79af Added mojang functions, most of which are pending testing. Once testing is complete, the external 'mojang' module will be removed. The 'Mojang Status' are on the landing page is now displaying the actual statuses of mojang's services. This will be refreshed once every 5 minutes. Enhancements will be made to the UI of this down the line. 2017-12-03 07:05:13 -05:00
Daniel Scalzi
a4012458be Further work on discord rich presence. Current implementation is untested. 2017-12-03 02:13:42 -05:00
Daniel Scalzi
98684a9c1f Removed enumerator, converting to static Config Manager (fixes so many issues), constants will now be stored by config manager in an internal object. 2017-12-03 00:38:22 -05:00
Daniel Scalzi
0dde4bce42 Changes to prevent cyclic dependencies. 2017-12-02 22:41:47 -05:00
Daniel Scalzi
086bfc8593 Added dynamic detection of default server. 2017-12-02 02:59:25 -05:00
Daniel Scalzi
52ab270ce3 Large update to AssetGuard to make the module purely object based. This fixed several issues which were present with the static implementation and seems to have increased performance. Several other bugs related to the front-end scripts have been fixed. 2017-11-30 03:00:06 -05:00
Daniel Scalzi
4c2c46f535 Beginning work on configuration management, updates to UI to prevent unresponsive behavior, bug fixes.. 2017-11-30 01:40:56 -05:00
Daniel Scalzi
aac789bf2c Added new progress bar UI, massive improvement. 2017-11-27 20:49:50 -05:00
Daniel Scalzi
dd9e1418c8 Added progress tracking to landing page. Fixed exclusions when extracting native files, fixed minor issue with config manager, optimizations and improvements to assetguard. 2017-11-27 04:31:54 -05:00
Daniel Scalzi
5352239f91 Minor fixes, beginning work on configuration system. 2017-11-22 05:48:40 -05:00
Daniel Scalzi
2c7dc16247 Optimizations for dynamic background, pinned background to image 0 for development of the UI, tweaked menu button css. 2017-11-19 15:08:52 -05:00
Daniel Scalzi
0ec64e6ded Added dynamic background, fixing menu button css 2017-11-19 14:16:07 -05:00
Daniel Scalzi
c74006357e Minor modification to allow for base module library detection. 2017-11-19 04:12:41 -05:00
Daniel Scalzi
dd7ae6bf56 Massive progress on implementing the new forge modlist format. I have been able to rewrite much of the launch process code to use this new method, and was able to successfully log into the game. Several bugs need to be worked on, however everything is in a good state so far. 2017-11-19 03:48:21 -05:00
Daniel Scalzi
abbfb52c1b Fixed bug with hashless assets, updating distro index. 2017-11-19 00:41:36 -05:00
Daniel Scalzi
246def86d8 Upgrading Node.js Engine to v8.9.0 2017-11-07 14:51:43 -05:00
Daniel Scalzi
5ed660d3ab Added all icons, working on implementing them into UI 2017-09-12 16:52:20 -04:00
Daniel Scalzi
6eb6177d4b Beginning work on new UI for landing page and the modlist resolver/process builder. 2017-09-12 00:50:41 -04:00
Daniel Scalzi
02758b27b2 Added more UI elements. 2017-08-30 01:27:16 -04:00
Daniel Scalzi
0d013f7d6f Added home page structure 2017-08-29 16:40:42 -04:00
Daniel Scalzi
8bb6df921c Disable selection on the frame. 2017-08-28 21:14:05 -04:00
Daniel Scalzi
455f199457 Updating paths broken by refactoring, added temp debug button, updated production file index. 2017-08-27 03:49:03 -04:00
Daniel Scalzi
700a5c50cf Added handlers to the frame buttons. 2017-08-27 02:24:04 -04:00
Daniel Scalzi
582ea96dfe Updated dependencies (delete node_modules, npm install), included windows page script, changed to ejs (for now), initial work on the new design. 2017-08-27 01:13:48 -04:00
Daniel Scalzi
6a44694a32 Removing old and deprecated assets in preparation for the new design. 2017-08-26 14:43:24 -04:00
Matan Rak
caccf8db37 working on the new login concept. 2017-06-21 19:57:38 +03:00
Daniel Scalzi
f8a0805c8c Working on concepts for login UI. 2017-05-23 01:45:20 -04:00
Daniel Scalzi
bb566471b8 Working on launch process code with forge. Pending cleanup and optimizations. 2017-05-21 18:06:48 -04:00
Daniel Scalzi
d00f09aaf0 Added hash validation for distro index, updated hashes. 2017-05-21 16:27:11 -04:00
Daniel Scalzi
daa5abd5bd More progress on forge downloads. Added check for missing resources in the download stream. 2017-05-21 04:56:39 -04:00
Daniel Scalzi
247f63d64d Starting work on forge downloads 2017-05-21 01:06:01 -04:00
Daniel Scalzi
bd503f71c8 Filled in version.json, added utility function. 2017-05-18 13:03:25 -04:00
Daniel Scalzi
a3c9130d7a Added functionality to extract .pack.xz files. The npm modules available to do this were a mess, being either outdated or refusing to build on windows. In order to achieve this, I wrote up a small java library which will extract these files. We simply pass the files we want to extract to the command line using a corresponding argument and it does the rest. This should be no issue as we will always have a JRE present on this launcher, whether that be bundled or already installed. 2017-05-18 01:49:28 -04:00
Daniel Scalzi
cc25f2c2e0 Beginning work on launcher. 2017-05-17 17:44:46 -04:00
Daniel Scalzi
771b0984f1 Adding login box 2017-05-17 14:51:49 -04:00
Daniel Scalzi
c83809b0dc Damage control pass 2 2017-05-17 05:03:09 -04:00
Daniel Scalzi
75af2726db Damage control pass 1 2017-05-17 03:31:42 -04:00
Matan Rak
ab74dd39c5 Matan merge 2017-05-17 09:26:46 +03:00