Added test command, tried something else

This commit is contained in:
Core 2022-05-07 07:02:16 +01:00
parent b8fef4f8f7
commit 35438b9d1e
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
2 changed files with 7 additions and 6 deletions

View file

@ -29,6 +29,7 @@
"dist:macarm": "yarn build && electron-builder --mac --arm64", "dist:macarm": "yarn build && electron-builder --mac --arm64",
"dist:universalNotWorking": "yarn build && electron-builder --mac --universal", "dist:universalNotWorking": "yarn build && electron-builder --mac --universal",
"dist:all": "yarn build && electron-builder -mwl", "dist:all": "yarn build && electron-builder -mwl",
"testdist": "yarn build && electron-builder --dir",
"winget": "yarn build && electron-builder --win -c winget.json", "winget": "yarn build && electron-builder --win -c winget.json",
"msft": "yarn build && electron-builder -c msft-package.json", "msft": "yarn build && electron-builder -c msft-package.json",
"mstest": "yarn build && electron-builder -c msft-test.json", "mstest": "yarn build && electron-builder -c msft-test.json",

View file

@ -2543,21 +2543,21 @@ const app = new Vue({
} }
try { try {
this.radio.personal.title = app.getLz('term.personalStations') this.radio.personal.title = app.getLz('term.personalStations')
this.radio.personal.data = await app.mk.api.v3.music(`/v1/catalog/${app.mk.api.v3.storefrontId}/stations`, { this.radio.personal.data = (await app.mk.api.v3.music(`/v1/catalog/${app.mk.api.v3.storefrontId}/stations`, {
"filter[identity]": "personal", "filter[identity]": "personal",
}).data.data })).data.data
this.radio.recent.title = app.getLz('term.recentStations') this.radio.recent.title = app.getLz('term.recentStations')
this.radio.recent.data = await app.mk.api.v3.music(`/v1/me/recent/radio-stations`, { this.radio.recent.data = (await app.mk.api.v3.music(`/v1/me/recent/radio-stations`, {
"platform": "web", "platform": "web",
"art[url]": "f", "art[url]": "f",
l: this.mklang l: this.mklang
}).data.data })).data.data
this.radio.amlive.title = app.getLz('term.amLive') this.radio.amlive.title = app.getLz('term.amLive')
this.radio.amlive.data = await app.mk.api.v3.music(`/v1/catalog/${app.mk.api.v3.storefrontId}/stations`, { this.radio.amlive.data = (await app.mk.api.v3.music(`/v1/catalog/${app.mk.api.v3.storefrontId}/stations`, {
"filter[featured]": "apple-music-live-radio", "filter[featured]": "apple-music-live-radio",
}).data.data })).data.data
this.radio.timestamp = Date.now() this.radio.timestamp = Date.now()
console.debug(this.radio) console.debug(this.radio)