Add launch setting to update to prereleases

Increase version to 3.9.2
This commit is contained in:
JannisX11 2021-07-05 23:07:12 +02:00
parent d221059eab
commit 363a9432a3
3 changed files with 5 additions and 2 deletions

View File

@ -25,7 +25,7 @@
<script>
if (typeof module === 'object') {window.module = module; module = undefined;}//jQuery Fix
const isApp = typeof require !== 'undefined';
const appVersion = '3.9.1';
const appVersion = '3.9.2';
window.onerror = (message, file, line) => {
if (window.Blockbench && window.Blockbench.setup_successful) return;

View File

@ -197,6 +197,9 @@ app.on('ready', () => {
autoUpdater.autoInstallOnAppQuit = true;
autoUpdater.autoDownload = false;
if (LaunchSettings.get('update_to_prereleases') === true) {
autoUpdater.allowPrerelease = true;
}
autoUpdater.on('update-available', (a) => {
console.log('update-available', a)

View File

@ -1,7 +1,7 @@
{
"name": "Blockbench",
"description": "Model editing and animation software",
"version": "3.9.1",
"version": "3.9.2",
"license": "GPL-3.0-or-later",
"author": {
"name": "JannisX11",