0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-25 12:45:17 +00:00
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/ryd", mode: "client" },
{ src: "~/plugins/thirdPartyPluginLoader", mode: "client" }, { src: "~/plugins/thirdPartyPluginLoader", mode: "client" },
{ src: "~/plugins/language", mode: "client" }, { src: "~/plugins/language", mode: "client" },
{ src: "~/plugins/update", mode: "client" },
], ],
generate: { generate: {
dir: "../dist", dir: "../dist",

View file

@ -129,7 +129,7 @@ export default {
async install() { async install() {
this.downloading = true; 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'); //window.open(this.update.browser_download_url, '_blank');
} }

View file

@ -140,20 +140,6 @@ const module = {
}, },
//--- End Convert Time To Human Readable String ---// //--- 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 ---// //--- Start ---//

View file

@ -74,5 +74,7 @@
<!-- Permissions --> <!-- Permissions -->
<uses-permission android:name="android.permission.INTERNET" /> <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> </manifest>