This commit is contained in:
Kenny 2022-08-07 16:58:48 -04:00
parent a51f67dbf7
commit 73bb193398
4 changed files with 4 additions and 15 deletions

View File

@ -21,6 +21,7 @@ export default {
{ src: "~/plugins/ryd", mode: "client" },
{ src: "~/plugins/thirdPartyPluginLoader", mode: "client" },
{ src: "~/plugins/language", mode: "client" },
{ src: "~/plugins/update", mode: "client" },
],
generate: {
dir: "../dist",

View File

@ -129,7 +129,7 @@ export default {
async install() {
this.downloading = true;
await this.$vuetube.update(this.update.browser_download_url).catch(() => { this.downloading = false; });
await this.$update(this.update.browser_download_url).catch(() => { this.downloading = false; });
//window.open(this.update.browser_download_url, '_blank');
}

View File

@ -140,20 +140,6 @@ const module = {
},
//--- End Convert Time To Human Readable String ---//
update(url) {
return new Promise(async (resolve, reject) => {
const data = await Http.request({
method: "GET",
url: url
}).catch((err) => { reject(err); })
console.log(data)
})
}
};
//--- Start ---//

View File

@ -74,5 +74,7 @@
<!-- Permissions -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</manifest>