Update Auto-Updator (#368)

* Update .gitignore

* Add Update Cider Branch selection

* Add circle-ci API call

* More testing

* Maybe fix 'Update Cider' button

* Another debug log

* remove async in ipc 'check-for-update'

* remove everything except debug log

* semicolon

* revert to async and change ipc name

* more semicolon

* Extract BaseURL from circleci API response

* Fix compile error + rename ipc back to 'check-for-update'

* Remove debug log

* Update i18n files with new 'updateCider' term location

* Update en_OWO.json

* Fixed formatting in i18n files

* Fix formatting elsewhere

* Move 'Update Cider' i18n stuff from 'experimental' to 'general'

* Do that thing @quacksire wanted me to do. 'for vue'

* Fix bad merge

* Revert Formatting. 

DO NOT OPEN IN AN AUTOFORMATTING IDE. USE VSCODE WEB/CODESPACES IF YOU NEED TO ACTUALLY CHANGE SOMETHING IN THE RENDERER

Co-authored-by: Quacksire <19170969+quacksire@users.noreply.github.com>
This commit is contained in:
GamingLiamStudios 2022-02-08 11:38:33 +11:00 committed by GitHub
parent 0c655563e7
commit c0d6481300
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 865 additions and 725 deletions

View file

@ -655,7 +655,7 @@
</div>
<div class="md-option-line">
<div class="md-option-segment">
{{$root.getLz('term.updateCider')}}
{{$root.getLz('settings.option.general.updateCider')}}
</div>
<div class="md-option-segment md-option-segment_auto">
<button class="md-btn" @click="app.checkForUpdate()">
@ -663,6 +663,22 @@
</button>
</div>
</div>
<div class="md-option-line">
<div class="md-option-segment">
{{$root.getLz('settings.option.general.updateCider.branch')}}<br>
<small>({{$root.getLz('settings.option.general.updateCider.branch.description')}})</small>
</div>
<div class="md-option-segment md-option-segment_auto">
<select class="md-select" style="width:180px;" v-model="app.cfg.general.update_branch">
<option value="main">
{{$root.getLz('settings.option.general.updateCider.branch.main')}}
</option>
<option value="develop">
{{$root.getLz('settings.option.general.updateCider.branch.develop')}}
</option>
</select>
</div>
</div>
<div class="md-option-line">
<div class="md-option-segment">
{{$root.getLz('settings.option.experimental.copy_log')}}
@ -807,15 +823,17 @@
ciderPPE: function () {
if (app.cfg.advanced.ciderPPE) {
if (app.cfg.audio.spatial) {
app.cfg.advanced.ciderPPE = false;
notyf.error("CAP is not compatible with Spatialization. Please disable Spatialization to continue.")
}
}},
app.cfg.advanced.ciderPPE = false;
notyf.error("CAP is not compatible with Spatialization. Please disable Spatialization to continue.")
}
}
},
toggleSpatial: function () {
if (app.cfg.audio.spatial) {
if (!app.cfg.advanced.ciderPPE) {
CiderAudio.spatialOn()}
else {
CiderAudio.spatialOn()
}
else {
CiderAudio.spatialOff()
app.cfg.audio.spatial = false;
notyf.error("Spatialization is not compatible with CAP. Please disable CAP to continue.")
@ -823,10 +841,11 @@
} else {
CiderAudio.spatialOff()
}
},
changeAudioQuality: function () {1
app.mk.bitrate = MusicKit.PlaybackBitrate[app.cfg.audio.quality];
changeAudioQuality: function () {
1
app.mk.bitrate = MusicKit.PlaybackBitrate[app.cfg.audio.quality];
},
toggleUserInfo: function () {
app.chrome.hideUserInfo = !app.cfg.visual.showuserinfo