mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-11-26 04:15:38 +01:00
Merge pull request #2 from j-selby/add-hidden-advanced
Add hidden advanced option
This commit is contained in:
commit
c721102276
@ -1,2 +1,2 @@
|
|||||||
name = "yuzu"
|
name = "yuzu"
|
||||||
target_url = "https://raw.githubusercontent.com/yuzu-emu/liftinstall/master/config.windows.v1.toml"
|
target_url = "https://raw.githubusercontent.com/yuzu-emu/liftinstall/master/config.windows.v2.toml"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
installing_message = "Reminder: yuzu is an <b>experimental</b> emulator. Stuff will break!"
|
installing_message = "Reminder: yuzu is an <b>experimental</b> emulator. Stuff will break!"
|
||||||
|
hide_advanced = true
|
||||||
|
|
||||||
[[packages]]
|
[[packages]]
|
||||||
name = "yuzu Nightly"
|
name = "yuzu Nightly"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
installing_message = "Reminder: yuzu is an <b>experimental</b> emulator. Stuff will break!"
|
installing_message = "Reminder: yuzu is an <b>experimental</b> emulator. Stuff will break!"
|
||||||
|
hide_advanced = true
|
||||||
|
|
||||||
[[packages]]
|
[[packages]]
|
||||||
name = "yuzu Nightly"
|
name = "yuzu Nightly"
|
@ -64,6 +64,8 @@ pub struct Config {
|
|||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub new_tool: Option<String>,
|
pub new_tool: Option<String>,
|
||||||
pub packages: Vec<PackageDescription>,
|
pub packages: Vec<PackageDescription>,
|
||||||
|
#[serde(default)]
|
||||||
|
pub hide_advanced: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Config {
|
impl Config {
|
||||||
|
@ -132,7 +132,7 @@ const SelectPackages = {
|
|||||||
<div class="is-right-floating is-bottom-floating">
|
<div class="is-right-floating is-bottom-floating">
|
||||||
<div class="field is-grouped">
|
<div class="field is-grouped">
|
||||||
<p class="control">
|
<p class="control">
|
||||||
<a class="button is-medium" v-if="!$root.$data.metadata.preexisting_install && !advanced"
|
<a class="button is-medium" v-if="!$root.$data.config.hide_advanced && !$root.$data.metadata.preexisting_install && !advanced"
|
||||||
v-on:click="advanced = true">Advanced...</a>
|
v-on:click="advanced = true">Advanced...</a>
|
||||||
</p>
|
</p>
|
||||||
<p class="control">
|
<p class="control">
|
||||||
|
Loading…
Reference in New Issue
Block a user