* First step to use Language .json file in ejs
* i18n for landing.ejs
* i18n for login.ejs
* i18n for loginOptions.ejs
* i18n for overlay.ejs
* i18n for settings.ejs
* i18n for waiting.ejs
* i18n for welcome.ejs
* langloader.js placeholder support
* i18n for landing.js
* i18n for login.js
* i18n for overlay.js
* i18n for settings.js
* i18n for uibinder.js
* i18n for uicore.js
* remove html language replacement
* use toml for i18n
* Fix mojang/microsoft status icon is undefined
* cascadable langloader
* separate lang file for customization
* move some placeholder text to _placeholder.toml
* Update
* Reduce package lock diff.
* Remove another placeholder.
* Checkbox does not require translation.
* Icons don't need translation.
* Leave placeholders inline.
* Fix translation for news pages.
* Remove more unneeded translations.
---------
Co-authored-by: Daniel Scalzi <d_scalzi@yahoo.com>
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.
Added a settings tab to manage updates.
On this tab you can:
* Init auto update check.
* View update information (version, prerelease vs release, etc).
* View update changelog.
* Install updates (when downloaded).
The green glow on the landing page now takes users to the settings tab. Updates can be installed from there.
This UI can be changed in the future if needed.
Linted the entire project. Using different rules for the script files
as there are a lot of undefined variables just because of the way the
DOM's global scope works.
Mostly just code cleanup, however the linter did catch a minor bug with
a settings regex. That has been corrected.
Added option to enable/disable prerelease updates.
Implemented launcher tab on the settings UI, as this is the only current value.
Added semver dependency.
The registry scan function exited early if no Java Development Key was found. This has been corrected by redoing the exit checks.
Social media buttons now lose focus after they are clicked to prevent a sticky appearance.
Changed the load spinner to have the text rotate within the center image.
Added News UI and implemented functionality.
Removed westeroscraft.xml as we don't need to cache it.
Updated westeroscraft.json.
Updated Electron to v2.0.0
The server list is now dynamically generated based on the servers listed in the distribution index. Also, moved to event.key for key bindings as event.keyCode is deprecated.
Added warning message when console is opened, this is in preparation for alpha.
Added a new background image. Restored random backgrounds on launch (for now).
Changed the overlay dismiss/cancel buttons from anchors to buttons.
Moved landing.ejs specific scripts to a dedicated file. General cleanup for other script files. Need to examine the remaining code in actionbinder.js to determine the most logical place for it.