Add launch setting to update to prereleases
Increase version to 3.9.2
This commit is contained in:
parent
d221059eab
commit
363a9432a3
@ -25,7 +25,7 @@
|
|||||||
<script>
|
<script>
|
||||||
if (typeof module === 'object') {window.module = module; module = undefined;}//jQuery Fix
|
if (typeof module === 'object') {window.module = module; module = undefined;}//jQuery Fix
|
||||||
const isApp = typeof require !== 'undefined';
|
const isApp = typeof require !== 'undefined';
|
||||||
const appVersion = '3.9.1';
|
const appVersion = '3.9.2';
|
||||||
|
|
||||||
window.onerror = (message, file, line) => {
|
window.onerror = (message, file, line) => {
|
||||||
if (window.Blockbench && window.Blockbench.setup_successful) return;
|
if (window.Blockbench && window.Blockbench.setup_successful) return;
|
||||||
|
3
main.js
3
main.js
@ -197,6 +197,9 @@ app.on('ready', () => {
|
|||||||
|
|
||||||
autoUpdater.autoInstallOnAppQuit = true;
|
autoUpdater.autoInstallOnAppQuit = true;
|
||||||
autoUpdater.autoDownload = false;
|
autoUpdater.autoDownload = false;
|
||||||
|
if (LaunchSettings.get('update_to_prereleases') === true) {
|
||||||
|
autoUpdater.allowPrerelease = true;
|
||||||
|
}
|
||||||
|
|
||||||
autoUpdater.on('update-available', (a) => {
|
autoUpdater.on('update-available', (a) => {
|
||||||
console.log('update-available', a)
|
console.log('update-available', a)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Blockbench",
|
"name": "Blockbench",
|
||||||
"description": "Model editing and animation software",
|
"description": "Model editing and animation software",
|
||||||
"version": "3.9.1",
|
"version": "3.9.2",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "JannisX11",
|
"name": "JannisX11",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user