Removed some debug logging

This commit is contained in:
UKDTOM 2021-01-17 23:29:36 +01:00
parent 5f67924f93
commit 7906416a1c
2 changed files with 7 additions and 14 deletions

View file

@ -75,25 +75,19 @@
require('electron').remote.app.relaunch();
require('electron').remote.app.quit();
},
getUpdate: function(){
console.log('Ged GetUpdate')
if (wtconfig.get('Update.Update', true)){
console.log('Ged Update True')
getUpdate: function(){
if (wtconfig.get('Update.Update', true)){
return i18n.t('Modules.GlobalSettings.True')
}
else{
console.log('Ged Update False')
else{
return i18n.t('Modules.GlobalSettings.False')
}
},
getBeta: function(){
console.log('Ged GetBeta')
if (wtconfig.get('Update.Beta', false)){
console.log('Ged Beta True')
getBeta: function(){
if (wtconfig.get('Update.Beta', false)){
return i18n.t('Modules.GlobalSettings.True')
}
else{
console.log('Ged Beta False')
else{
return i18n.t('Modules.GlobalSettings.False')
}
},

View file

@ -120,8 +120,7 @@ export default {
}
else
{
log.debug(`Update present: Github-Version: ${this.ver} Current-Version: ${wtutils.AppVersion}`);
console.log('Ged beta or not', this.beta)
log.debug(`Update present: Github-Version: ${this.ver} Current-Version: ${wtutils.AppVersion}`);
this.GitHubVersion = this.ver;
this.$refs['showUpdate'].show();
}