Application wrapper for Mixcloud
Mixcloud Play is the missing desktop experience for Mixcloud.com with support for media controls and showing current track in menu bar. Enjoy listening to hours of new music...
To allow the media key events to be passed through to the app on macOS:
+
or drag&drop in the Mixcloud Play.appOpen the app and try using the media keys.
npm install
npm run build
OR
npm run start
Use the compile macOS .app with Chromium Dev Tools and some extra debugging enabled:
npm run build:debug
docker-compose build
docker-compose run --rm mixcloud-play {any command here}
Built app will output to ./dist/mac/Mixcloud Play.app
Publish app updates is set-up as per the GithubOptions for Electron Builds Auto Update.
package*.json
files.export GH_TOKEN={token_with_repo_scope}
npm run publish
A release in the specified GitHub repo should be drafted and ready for release.
Linking/locating files inside the build can be hard to know what's going on inside the app.asar
(inside Electron). Us the following commands to extract the contents of the .asar.
docker-compose run --rm mixcloud-play
docker run --rm -it -v $(pwd):/project electronuserland/builder:14-05.21
to enter bash inside the containernpm install -g asar
asar extract dist/mac/Mixcloud\ Play.app/Contents/Resources/app.asar app_contents
will extract the MacOS "dist" contents to /app_contents/