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.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 @@ - + + You have been moved to the new, single version of {{ $root.$data.attrs.name }}. + + You can find your installed applications in your start menu - if you were in the middle of something, just reattempt. + + + + {{ $root.$data.attrs.name }} has been updated. @@ -38,6 +45,7 @@ export default { return { was_install: !this.$route.params.uninstall, was_update: this.$route.params.update, + was_migrate: this.$route.params.migrate, has_installed: this.$route.params.packages_installed > 0 } }, diff --git a/ui/src/views/DownloadConfig.vue b/ui/src/views/DownloadConfig.vue index 38b6567..045150b 100644 --- a/ui/src/views/DownloadConfig.vue +++ b/ui/src/views/DownloadConfig.vue @@ -71,11 +71,8 @@ export default { } } - if (app.metadata.is_launcher) { - this.$router.replace('/install/regular') - } else { - this.$router.replace('/modify') - } + this.$router.replace({ name: 'migrate', + params: { next: app.metadata.is_launcher ? '/install/regular' : '/modify' } }) } else { for (var x = 0; x < app.config.packages.length; x++) { app.config.packages[x].installed = false @@ -89,7 +86,8 @@ export default { } }) - this.$router.replace('/packages') + this.$router.replace({ name: 'migrate', + params: { next: '/packages' } }) } } } diff --git a/ui/src/views/InstallPackages.vue b/ui/src/views/InstallPackages.vue index ab936e6..f90032b 100644 --- a/ui/src/views/InstallPackages.vue +++ b/ui/src/views/InstallPackages.vue @@ -98,6 +98,7 @@ export default { params: { uninstall: true, update: that.is_update, + migrate: false, installed: that.packages_installed } }) } else { @@ -105,6 +106,7 @@ export default { params: { uninstall: false, update: that.is_update, + migrate: false, installed: that.packages_installed } }) } diff --git a/ui/src/views/MigrateView.vue b/ui/src/views/MigrateView.vue new file mode 100644 index 0000000..47aeefe --- /dev/null +++ b/ui/src/views/MigrateView.vue @@ -0,0 +1,105 @@ + + + Performing migrations... + + + + + + {{ progress }}% + + + + +
You can find your installed applications in your start menu - if you were in the middle of something, just reattempt.