Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit d759c19

Browse files
committed
feat: 🔖 Canary 0.4.1
1 parent 4a96ec2 commit d759c19

File tree

7 files changed

+30
-50
lines changed

7 files changed

+30
-50
lines changed

NUXT/components/updateChecker.vue

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
<template>
22
<div>
3-
<v-snackbar
4-
v-model="updateSnackbar"
5-
class="updateBar"
6-
:timeout="updateSnackbarTimeout"
7-
>
3+
<v-snackbar v-model="updateSnackbar" class="updateBar" :timeout="updateSnackbarTimeout" rounded>
84
{{ updateSnackbarText }}
95

106
<template #action="{ attrs }">
117
<v-btn
128
color="primary"
139
text
1410
v-bind="attrs"
15-
@click="updateSnackbar = false"
16-
>Close</v-btn
11+
to="/mods/updates?nowait=true"
12+
>Update</v-btn
1713
>
1814
</template>
1915
</v-snackbar>

NUXT/pages/activities/install.vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,25 @@
1616
<language style="width: 80%" />
1717
</center>
1818

19+
<!--
1920
<center class="container hidden" ref="stage2">
2021
<v-autocomplete
2122
label="API"
22-
:items="items"
23+
:items="apis"
2324
style="border-top-right-radius: 1rem !important; border-top-left-radius: 1rem !important; box-shadow: none !important"
2425
solo
2526
filled
2627
class="mx-8"
2728
></v-autocomplete>
2829
</center>
30+
-->
2931

30-
<center class="container hidden" ref="stage3">
32+
<center class="container hidden" ref="stage2">
3133
<h1>{{ lang.featuresetup }}</h1>
3234
<v-checkbox disabled v-model="ryd" :label="lang.enableryd" />
3335
<v-checkbox disabled v-model="sponsorBlock" :label="lang.enablespb" />
3436
</center>
35-
<center class="container hidden" ref="stage4">
37+
<center class="container hidden" ref="stage3">
3638
<h1>{{ lang.thanks }}</h1>
3739
<h3>{{ lang.enjoy }}</h3>
3840
</center>
@@ -78,7 +80,7 @@ export default {
7880
7981
ryd: true,
8082
sponsorBlock: true,
81-
items: ["youtube.com", "twitch.tv", "odysee.com"]
83+
apis: ["youtube.com", "twitch.tv", "odysee.com"]
8284
};
8385
},
8486
mounted() {

NUXT/pages/activities/update.vue

Lines changed: 14 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,24 @@
11
<template>
2-
<div>
3-
<center class="container">
4-
<v-img
5-
src="/icon.svg"
6-
width="10rem"
7-
height="10rem"
8-
:class="$vuetify.theme.dark ? '' : 'invert'"
9-
/>
10-
<h1>{{ lang.updated }}</h1>
11-
<p>
12-
<span class="version">{{ oldVer }}</span>
13-
<v-icon>mdi-arrow-right</v-icon>
14-
<span class="version">{{ newVer }}</span>
15-
</p>
16-
</center>
2+
<div style="padding: 2em;">
3+
4+
5+
<v-icon x-large color="primary" style="padding-bottom: 0.25em;">mdi-cellphone-arrow-down</v-icon>
6+
<h1>{{ lang.updated }}</h1>
7+
<p>{{ oldVer }} <v-icon>mdi-arrow-right</v-icon> {{ newVer }}</p>
8+
<div class="bottom">
9+
<v-btn rounded color="primary" @click="$router.go(-1)">{{ lang.awesome }}</v-btn>
10+
</div>
11+
1712

18-
<v-btn @click="okay()" class="rounded-xl primary nextButton"
19-
>{{ lang.awesome }}
20-
<v-icon style="margin-left: 0.5em">mdi-arrow-right</v-icon></v-btn
21-
>
2213
</div>
2314
</template>
2415

2516
<style scoped>
26-
.nextButton {
17+
.bottom {
2718
position: absolute;
28-
bottom: 1em;
29-
left: 50%;
30-
transform: translate(-50%, 0);
31-
}
32-
33-
.container {
34-
width: 100%;
35-
}
36-
37-
.version {
38-
background: rgba(100, 100, 100, 0.5);
39-
border-radius: 3px;
40-
padding: 3px;
19+
bottom: 0;
20+
right: 0;
21+
padding: 2em;
4122
}
4223
</style>
4324

NUXT/pages/mods/updates.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default {
6565
this.latestVersion = releases[0];
6666
6767
//--- Wait like 2 seconds because if people don't see loading, they think it didn't refresh properly ---//
68-
await require("~/plugins/utils").delay(2000);
68+
if (!this.$route.query.nowait) await require("~/plugins/utils").delay(2000);
6969
7070
//--- Kick Off Update Notice ---//
7171
if (this.latestVersion.tag_name != this.installedVersion) {

NUXT/plugins/languages/english.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ module.exports = {
77
library: "Library",
88
restart: "Restart",
99
later: "Later",
10-
settingRestart: "Modifying this setting requires the app to restart for the changes to be applied."
10+
settingRestart: "Modifying this setting requires the app to restart for the changes to be applied.",
11+
okay: "Okay"
1112
},
1213

1314
index: {
@@ -87,8 +88,8 @@ module.exports = {
8788
welcome: "Welcome to VueTube",
8889
tagline: "The future of video streaming",
8990
next: "Next",
90-
updated: "VueTube Was Updated!",
91-
awesome: "Awesome!",
91+
updated: "VueTube was updated",
92+
awesome: "Awesome",
9293
langsetup: "Let's Pick a Language!",
9394
featuresetup: "Let's Pick Some Features!",
9495
enableryd: "Enable Return YouTube Dislike",

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ android {
77
minSdkVersion rootProject.ext.minSdkVersion
88
targetSdkVersion rootProject.ext.targetSdkVersion
99
versionCode 1
10-
versionName "0.4"
10+
versionName "0.4.1"
1111
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1212
aaptOptions {
1313
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.

android/app/release/output-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"filters": [],
1313
"attributes": [],
1414
"versionCode": 1,
15-
"versionName": "0.4",
15+
"versionName": "0.4.1",
1616
"outputFile": "app-release.apk"
1717
}
1818
],

0 commit comments

Comments
 (0)