diff --git a/Makefile b/Makefile index 6083b8c..92f2140 100644 --- a/Makefile +++ b/Makefile @@ -49,3 +49,6 @@ clean: clean-dev: rm -rf node_modules + +appstore: + krankerl package diff --git a/krankerl.toml b/krankerl.toml new file mode 100644 index 0000000..6c87aad --- /dev/null +++ b/krankerl.toml @@ -0,0 +1,6 @@ +[package] +before_cmds = [ + "composer install --no-dev -o", + "npm install --deps", + "npm run build", +] diff --git a/src/components/Main.vue b/src/components/Main.vue index 1a03c94..6ae2976 100644 --- a/src/components/Main.vue +++ b/src/components/Main.vue @@ -408,7 +408,7 @@ export default { loadSettings() { axios.defaults.headers.common = { - 'User-Agent': 'Nextcloud Radio App/1.0', + 'User-Agent': 'Nextcloud Radio App/' + this.$version, } this.$store.dispatch('getVolumeState') diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index d99c2f8..0b121f4 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -105,7 +105,6 @@ export default { this.$emit('toggleSidebar') }, copyLink() { - console.log(this.sidebarStation.favicon) this.$copyText(this.urlResolved).then( function() { showSuccess(t('radio', 'Link copied to clipboard')) diff --git a/src/main.js b/src/main.js index 5d81ee7..d45075f 100644 --- a/src/main.js +++ b/src/main.js @@ -38,6 +38,7 @@ Vue.prototype.n = translatePlural Vue.prototype.OC = window.OC Vue.prototype.OCA = window.OCA Vue.prototype.$apiUrl = 'https://de1.api.radio-browser.info' +Vue.prototype.$version = '1.0' Vue.use(VueClipboard) Vue.use(VueBlurHash)