### Setup Development Environment Source: https://github.com/qier222/yesplaymusic/blob/master/README.md Commands to install dependencies, create environment variables, and run the web or Electron version of the application. ```shell yarn install cp .env.example .env yarn serve yarn electron:serve ``` -------------------------------- ### Build Windows 32-bit Client Source: https://github.com/qier222/yesplaymusic/blob/master/README.md Use this command to build the 32-bit Windows installer for the client. Ensure Node.js and Yarn are installed, and project dependencies are set up. ```shell yarn electron:build --windows nsis:ia32 ``` -------------------------------- ### Build Windows ARM Client Source: https://github.com/qier222/yesplaymusic/blob/master/README.md Use this command to build the ARM version of the Windows installer for the client. Ensure Node.js and Yarn are installed, and project dependencies are set up. ```shell yarn electron:build --windows nsis:arm64 ``` -------------------------------- ### Build macOS ARM Client Source: https://github.com/qier222/yesplaymusic/blob/master/README.md Use this command to build the ARM version of the macOS client package. Ensure Node.js and Yarn are installed, and project dependencies are set up. ```shell yarn electron:build --macos dir:arm64 ``` -------------------------------- ### Remove Quarantine Attribute on macOS Source: https://github.com/qier222/yesplaymusic/wiki/YesPlayMusic-使用中可能遇到的问题-(FAQ) Execute this command in the terminal after installing YesPlayMusic to the /Applications folder on M1 Macs to resolve 'quarantine: corrupted' errors. ```bash xattr -r -d com.apple.quarantine /Applications/YesPlayMusic.app ``` -------------------------------- ### Build Debian ARM Client Source: https://github.com/qier222/yesplaymusic/blob/master/README.md Use this command to build the Debian ARM package for devices like Raspberry Pi. Ensure Node.js and Yarn are installed, and project dependencies are set up. ```shell yarn electron:build --linux deb:armv7l ``` -------------------------------- ### Run NeteaseCloudMusicApi Source: https://github.com/qier222/yesplaymusic/blob/master/README.md Command to run the NeteaseCloudMusicApi locally. This API is used by the project and defaults to port 3000. ```shell yarn netease_api:run ``` -------------------------------- ### Reset YesPlayMusic Client Source: https://github.com/qier222/yesplaymusic/wiki/YesPlayMusic-使用中可能遇到的问题-(FAQ) Open the developer console (F12) and enter this command to reset the client application. This is useful for troubleshooting general application malfunctions. ```javascript resetApp() ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.