mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2025-07-23 13:58:18 +00:00
ui: bugfix: do not show the overwrite dialog...
... when doing a repair
This commit is contained in:
parent
41918c709c
commit
ca994e49d3
|
@ -93,7 +93,16 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
install: function () {
|
install: function () {
|
||||||
this.repair && this.$router.push('/install/repair')
|
// maintenance + repair
|
||||||
|
if (this.repair) {
|
||||||
|
this.$router.push('/install/repair')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
// maintenance + modify
|
||||||
|
if (this.$root.$data.metadata.preexisting_install) {
|
||||||
|
this.$router.push('/install/regular')
|
||||||
|
return
|
||||||
|
}
|
||||||
var my = this
|
var my = this
|
||||||
this.$http.post('/api/verify-path', `path=${this.$root.$data.install_location}`).then(function (resp) {
|
this.$http.post('/api/verify-path', `path=${this.$root.$data.install_location}`).then(function (resp) {
|
||||||
var data = resp.data || {}
|
var data = resp.data || {}
|
||||||
|
|
Loading…
Reference in a new issue