From a083aea6bb13c2821ecaf6688ba75a342a566f1d Mon Sep 17 00:00:00 2001 From: Lordmau5 Date: Sat, 11 Jan 2020 13:32:45 +0100 Subject: [PATCH] Push files that were in limbo for too long --- src/App.vue | 9 +++-- src/components/Build.vue | 71 +++++++++++++++++++++++++++++++++++++--- 2 files changed, 73 insertions(+), 7 deletions(-) diff --git a/src/App.vue b/src/App.vue index 8b22e6a..ec84f91 100644 --- a/src/App.vue +++ b/src/App.vue @@ -26,7 +26,8 @@ fas fa-code - + + fas fa-gamepad @@ -41,7 +42,8 @@ Blog Download Contribute - Compatibility + + Compatibility fab fa-patreon fab fa-github @@ -98,7 +100,8 @@ - + + fas fa-gamepad diff --git a/src/components/Build.vue b/src/components/Build.vue index f41f1a8..7c4f1e7 100644 --- a/src/components/Build.vue +++ b/src/components/Build.vue @@ -67,6 +67,63 @@ +

+ Profiled builds +
+ (If you're not a developer, these builds aren't for you.) +

+
+ + + fab fa-windows + + {{ this.version }} + + + + fab fa-linux + + {{ this.version }} + + + + fab fa-apple + + {{ this.version }} + +
+
+ + I know what I'm doing + +
@@ -84,8 +141,11 @@ export default { data () { return { downloadURL: '', + downloadURL_profiled: '', isLoading: true, - version: 'Loading ...' + version: 'Loading ...', + showProfiledBuilds: false, + jobId_profiled: '' }; }, @@ -98,11 +158,14 @@ export default { this.version = json.build.version; - let jobId = json.build.jobs[0].jobId; - let _a = await fetch(`https://ci.appveyor.com/api/buildjobs/${jobId}/artifacts`); - json = await _a.json(); + console.log(json); + + const jobId = json.build.jobs[0].jobId; + const jobIdProfiled = json.build.jobs[1].jobId; this.downloadURL = `https://ci.appveyor.com/api/buildjobs/${jobId}/artifacts/ryujinx-${this.version}`; + this.downloadURL_profiled = `https://ci.appveyor.com/api/buildjobs/${jobIdProfiled}/artifacts/ryujinx-profiled-${this.version}`; + this.isLoading = false; } },