adding krankerl config

This commit is contained in:
Jonas Heinrich 2020-11-21 23:21:44 +01:00
parent d5038611e2
commit a364043f5f
5 changed files with 11 additions and 2 deletions

View File

@ -49,3 +49,6 @@ clean:
clean-dev: clean-dev:
rm -rf node_modules rm -rf node_modules
appstore:
krankerl package

6
krankerl.toml Normal file
View File

@ -0,0 +1,6 @@
[package]
before_cmds = [
"composer install --no-dev -o",
"npm install --deps",
"npm run build",
]

View File

@ -408,7 +408,7 @@ export default {
loadSettings() { loadSettings() {
axios.defaults.headers.common = { axios.defaults.headers.common = {
'User-Agent': 'Nextcloud Radio App/1.0', 'User-Agent': 'Nextcloud Radio App/' + this.$version,
} }
this.$store.dispatch('getVolumeState') this.$store.dispatch('getVolumeState')

View File

@ -105,7 +105,6 @@ export default {
this.$emit('toggleSidebar') this.$emit('toggleSidebar')
}, },
copyLink() { copyLink() {
console.log(this.sidebarStation.favicon)
this.$copyText(this.urlResolved).then( this.$copyText(this.urlResolved).then(
function() { function() {
showSuccess(t('radio', 'Link copied to clipboard')) showSuccess(t('radio', 'Link copied to clipboard'))

View File

@ -38,6 +38,7 @@ Vue.prototype.n = translatePlural
Vue.prototype.OC = window.OC Vue.prototype.OC = window.OC
Vue.prototype.OCA = window.OCA Vue.prototype.OCA = window.OCA
Vue.prototype.$apiUrl = 'https://de1.api.radio-browser.info' Vue.prototype.$apiUrl = 'https://de1.api.radio-browser.info'
Vue.prototype.$version = '1.0'
Vue.use(VueClipboard) Vue.use(VueClipboard)
Vue.use(VueBlurHash) Vue.use(VueBlurHash)