mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-11-26 00:55:37 +01:00
Update shortcut to the new folder
Also selects packages that require auth after successful authorization
This commit is contained in:
parent
d79fd3e6e1
commit
c176658e28
@ -47,6 +47,6 @@ is_new = true
|
||||
repo = "earlyaccess"
|
||||
[[packages.shortcuts]]
|
||||
name = "yuzu Early Access"
|
||||
relative_path = "yuzu-windows-msvc/yuzu.exe"
|
||||
relative_path = "yuzu-windows-msvc-patreon/yuzu.exe"
|
||||
description = "Launch yuzu Early Access"
|
||||
|
||||
|
@ -102,11 +102,14 @@ export default {
|
||||
name: 'SelectPackages',
|
||||
created: function() {
|
||||
if (this.$root.$data.has_reward_tier) {
|
||||
for (var package_index = 0; package_index < app.config.packages.length; package_index++) {
|
||||
var current_package = app.config.packages[package_index];
|
||||
for (let package_index = 0; package_index < this.$root.config.packages.length; package_index++) {
|
||||
let current_package = this.$root.config.packages[package_index];
|
||||
// If they are authorized, make the packages that require authorization default
|
||||
if (current_package.requires_authorization) {
|
||||
current_package.default = true;
|
||||
} else {
|
||||
// And unselect any other packages
|
||||
current_package.default = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user