mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-12-23 01:05:33 +00:00
views: Stub things that don't work or don't apply to Linux
Icons don't work in Linux. Start menu is not a Linux thing. Automatically scrolls to the verify token button in the Authentication view.
This commit is contained in:
parent
825e9cc1c3
commit
2958c583af
|
@ -97,6 +97,7 @@ pub struct InstallerFramework {
|
||||||
// If we just completed an uninstall, and we should clean up after ourselves.
|
// If we just completed an uninstall, and we should clean up after ourselves.
|
||||||
pub burn_after_exit: bool,
|
pub burn_after_exit: bool,
|
||||||
pub launcher_path: Option<String>,
|
pub launcher_path: Option<String>,
|
||||||
|
pub is_windows: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Contains basic properties on the status of the session. Subset of InstallationFramework.
|
/// Contains basic properties on the status of the session. Subset of InstallationFramework.
|
||||||
|
@ -453,6 +454,10 @@ impl InstallerFramework {
|
||||||
is_launcher: false,
|
is_launcher: false,
|
||||||
burn_after_exit: false,
|
burn_after_exit: false,
|
||||||
launcher_path: None,
|
launcher_path: None,
|
||||||
|
#[cfg(windows)]
|
||||||
|
is_windows: true,
|
||||||
|
#[cfg(not(windows))]
|
||||||
|
is_windows: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -480,6 +485,10 @@ impl InstallerFramework {
|
||||||
is_launcher: false,
|
is_launcher: false,
|
||||||
burn_after_exit: false,
|
burn_after_exit: false,
|
||||||
launcher_path: None,
|
launcher_path: None,
|
||||||
|
#[cfg(windows)]
|
||||||
|
is_windows: true,
|
||||||
|
#[cfg(not(windows))]
|
||||||
|
is_windows: false,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="is-right-floating is-bottom-floating">
|
<div class="is-right-floating is-bottom-floating" v-scroll>
|
||||||
<p class="control">
|
<p class="control">
|
||||||
<a class="button is-dark is-medium" v-on:click="verify_token">Verify Token</a>
|
<a class="button is-dark is-medium" v-on:click="verify_token">Verify Token</a>
|
||||||
</p>
|
</p>
|
||||||
|
@ -166,6 +166,13 @@ export default {
|
||||||
error: function() {
|
error: function() {
|
||||||
this.verification_opened = true;
|
this.verification_opened = true;
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
directives: {
|
||||||
|
scroll: {
|
||||||
|
inserted: function (el) {
|
||||||
|
el.scrollIntoView()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div v-if="was_migrate">
|
<div v-if="was_migrate">
|
||||||
<h4 class="subtitle">You have been moved to the new, single version of {{ $root.$data.attrs.name }}.</h4>
|
<h4 class="subtitle">You have been moved to the new, single version of {{ $root.$data.attrs.name }}.</h4>
|
||||||
|
|
||||||
<p>You can find your installed applications in your start menu - if you were in the middle of something, just reattempt.</p>
|
<p>You can find your installed applications in your applications menu - if you were in the middle of something, just reattempt.</p>
|
||||||
|
|
||||||
<img src="../assets/how-to-open.png" alt="Where yuzu is installed"/>
|
<img src="../assets/how-to-open.png" alt="Where yuzu is installed"/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -11,20 +11,20 @@
|
||||||
<div v-if="has_installed">
|
<div v-if="has_installed">
|
||||||
<h4 class="subtitle">{{ $root.$data.attrs.name }} has been updated.</h4>
|
<h4 class="subtitle">{{ $root.$data.attrs.name }} has been updated.</h4>
|
||||||
|
|
||||||
<p>You can find your installed applications in your start menu.</p>
|
<p>You can find your installed applications in your applications menu.</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<h4 class="subtitle">{{ $root.$data.attrs.name }} is already up to date!</h4>
|
<h4 class="subtitle">{{ $root.$data.attrs.name }} is already up to date!</h4>
|
||||||
|
|
||||||
<p>You can find your installed applications in your start menu.</p>
|
<p>You can find your installed applications in your applications menu.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="was_install">
|
<div v-else-if="was_install">
|
||||||
<h4 class="subtitle">Thanks for installing {{ $root.$data.attrs.name }}!</h4>
|
<h4 class="subtitle">Thanks for installing {{ $root.$data.attrs.name }}!</h4>
|
||||||
|
|
||||||
<p>You can find your installed applications in your start menu.</p>
|
<p>You can find your installed applications in your applications menu.</p>
|
||||||
<br>
|
<br>
|
||||||
<img src="../assets/how-to-open.png" alt="Where yuzu is installed"/>
|
<img src="../assets/how-to-open.png" alt="Where yuzu is installed" v-if="$root.$data.metadata.is_windows"/>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<h4 class="subtitle">{{ $root.$data.attrs.name }} has been uninstalled.</h4>
|
<h4 class="subtitle">{{ $root.$data.attrs.name }} has been uninstalled.</h4>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<span v-if="Lpackage.installed"><i>(installed)</i></span>
|
<span v-if="Lpackage.installed"><i>(installed)</i></span>
|
||||||
</label>
|
</label>
|
||||||
<div>
|
<div>
|
||||||
<img class="package-icon" :src="`${publicPath + Lpackage.icon}`"/>
|
<img class="package-icon" :src="`${publicPath + Lpackage.icon}`" v-if="$root.$data.metadata.is_windows"/>
|
||||||
<p style="padding-top: 4px;" class="package-description">
|
<p style="padding-top: 4px;" class="package-description">
|
||||||
{{ Lpackage.description }}
|
{{ Lpackage.description }}
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue