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

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
Frontesque committed Aug 7, 2022
1 parent a51f67d commit 73bb193
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 15 deletions.
1 change: 1 addition & 0 deletions NUXT/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion NUXT/pages/mods/updates.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down
14 changes: 0 additions & 14 deletions NUXT/plugins/vuetube.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---//
Expand Down
2 changes: 2 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 73bb193

Please sign in to comment.