diff --git a/Cargo.toml b/Cargo.toml index 6446b81..2e25f93 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -56,3 +56,15 @@ slug = "0.1.4" [target.'cfg(windows)'.build-dependencies] winres = "0.1" cc = "1.0" + +[profile.release] +#panic = "abort" +lto = true +opt-level = "z" +codegen-units = 1 +incremental = false + +#[profile.release.overrides."*"] # + +#opt-level = "z" +#codegen-units = 1 +#incremental = false diff --git a/bootstrap.windows.toml b/bootstrap.windows.toml index b655f74..1c8d2cf 100644 --- a/bootstrap.windows.toml +++ b/bootstrap.windows.toml @@ -1,2 +1,2 @@ name = "yuzu" -target_url = "https://raw.githubusercontent.com/yuzu-emu/liftinstall/master/config.windows.v7.toml" +target_url = "https://raw.githubusercontent.com/yuzu-emu/liftinstall/master/config.windows.v8.toml" diff --git a/config.windows.v7.toml b/config.windows.v7.toml index b89908f..1f0387d 100644 --- a/config.windows.v7.toml +++ b/config.windows.v7.toml @@ -1,5 +1,6 @@ installing_message = "Reminder: yuzu is an experimental emulator. Stuff will break!" hide_advanced = true +new_tool = "https://github.com/yuzu-emu/liftinstall/releases/download/1.6/yuzu_install.exe" [[packages]] name = "yuzu Nightly" diff --git a/config.windows.v8.toml b/config.windows.v8.toml new file mode 100644 index 0000000..4474fc7 --- /dev/null +++ b/config.windows.v8.toml @@ -0,0 +1,16 @@ +installing_message = "Reminder: yuzu is an experimental emulator. Stuff will break!" +hide_advanced = true + +[[packages]] +name = "yuzu" +description = "Includes frequent updates to yuzu with all the latest reviewed and tested features." +default = true + [packages.source] + name = "github" + match = "^yuzu-windows-msvc-[0-9]*-[0-9a-f]*.zip$" + [packages.source.config] + repo = "yuzu-emu/yuzu-mainline" + [[packages.shortcuts]] + name = "yuzu" + relative_path = "yuzu-windows-msvc/yuzu.exe" + description = "Launch yuzu" diff --git a/src/frontend/rest/assets.rs b/src/frontend/rest/assets.rs index 41ccc0c..51679c4 100644 --- a/src/frontend/rest/assets.rs +++ b/src/frontend/rest/assets.rs @@ -42,7 +42,9 @@ pub fn file_from_string(file_path: &str) -> Option<(String, &'static [u8])> { "/fonts/roboto-v18-latin-regular.woff", "/fonts/roboto-v18-latin-regular.woff2", "/js/chunk-vendors.js", - "/js/app.js" + "/js/chunk-vendors.js.map", + "/js/app.js", + "/js/app.js.map" )?; Some((string_mime, contents)) diff --git a/src/tasks/install.rs b/src/tasks/install.rs index ca5146a..2fcc3fb 100644 --- a/src/tasks/install.rs +++ b/src/tasks/install.rs @@ -47,13 +47,6 @@ impl Task for InstallTask { }), )); - for item in &self.items { - elements.push(TaskDependency::build( - TaskOrdering::Pre, - Box::new(InstallPackageTask { name: item.clone() }), - )); - } - for item in &self.uninstall_items { elements.push(TaskDependency::build( TaskOrdering::Pre, @@ -64,6 +57,13 @@ impl Task for InstallTask { )); } + for item in &self.items { + elements.push(TaskDependency::build( + TaskOrdering::Pre, + Box::new(InstallPackageTask { name: item.clone() }), + )); + } + if self.fresh_install { elements.push(TaskDependency::build( TaskOrdering::Pre, diff --git a/ui/public/favicon.ico b/ui/public/favicon.ico index db10bb8..fcfccd3 100644 Binary files a/ui/public/favicon.ico and b/ui/public/favicon.ico differ diff --git a/ui/src/assets/how-to-open.png b/ui/src/assets/how-to-open.png index fb80b00..9db0922 100644 Binary files a/ui/src/assets/how-to-open.png and b/ui/src/assets/how-to-open.png differ diff --git a/ui/src/router.js b/ui/src/router.js index 17e9bf4..8381ecf 100644 --- a/ui/src/router.js +++ b/ui/src/router.js @@ -1,6 +1,7 @@ import Vue from 'vue' import Router from 'vue-router' import DownloadConfig from './views/DownloadConfig.vue' +import MigrateView from './views/MigrateView.vue' import SelectPackages from './views/SelectPackages.vue' import ErrorView from './views/ErrorView.vue' import InstallPackages from './views/InstallPackages.vue' @@ -16,6 +17,11 @@ export default new Router({ name: 'config', component: DownloadConfig }, + { + path: '/migrate', + name: 'migrate', + component: MigrateView + }, { path: '/packages', name: 'packages', @@ -32,7 +38,7 @@ export default new Router({ component: ErrorView }, { - path: '/complete/:uninstall/:update/:packages_installed', + path: '/complete/:uninstall/:update/:migrate/:packages_installed', name: 'complete', component: CompleteView }, diff --git a/ui/src/views/CompleteView.vue b/ui/src/views/CompleteView.vue index e84591d..9515403 100644 --- a/ui/src/views/CompleteView.vue +++ b/ui/src/views/CompleteView.vue @@ -1,6 +1,13 @@