Update shortcut to the new folder

Also selects packages that require auth after successful authorization
This commit is contained in:
James Rowe 2019-11-07 10:28:09 -07:00
parent d79fd3e6e1
commit c176658e28
2 changed files with 6 additions and 3 deletions

View file

@ -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"

View file

@ -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;
}
}
}