-
Notifications
You must be signed in to change notification settings - Fork 766
Development FAQ
- Node.js:
6.3.X
- NPM:
3.X.X
Windows
- MSVC 2015 C++ Compilers (Easiest way to get these working is to install Visual C++ Build Tools. Some packages in this project do not play nice with anything newer than 2015.)
- Python 2.7
- Bonjour SDK for Windows
- Windows 10 SDK version 10.0.10586.212 (Only required if system media transport controls or other UWP and Windows SDK features are being used.)
You can easily set up the dependencies on windows by running this powershell script.
Additionally, if you are building with support for the system media transport controls or other UWP/WinSDK features, it is recommended to update npm to a newer version, such as 6.14.4
, which properly builds these features.
OS X
- NVM Not a requirement per se but it is very useful for getting
node
Linux
NOTE: Lots come standard and these are the dependency names for Ubuntu
- g++-multilib
- lib32z1
- lib32ncurses5
- lib32bz2-1.0
- rpm
- fakeroot
- dpkg
- libdbus-1-dev
- libx11-dev
- g++
- libavahi-compat-libdnssd-dev
- gcc-4.8-multilib
- g++-4.8-multilib
- libnotify4
- libexpat1-dev
Or for lazy people
sudo apt-get install g++-multilib lib32z1 lib32ncurses5 lib32bz2-1.0 rpm fakeroot dpkg libdbus-1-dev libx11-dev g++ libavahi-compat-libdnssd-dev gcc-4.8-multilib g++-4.8-multilib libnotify4 libexpat1-dev
git clone https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-.git gpmdp
cd gpmdp
npm install
npm run build
npm start
That sequence of commands should get the app running. If they don't head over to Gitter and someone will try to help you out.
We have a watch
task that will constantly recompile certain parts of the app as you change the files. To get this going you will need 2 command prompts / terminal windows.
Terminal 1
npm run watch
Terminal 2
npm start
Then change whatever files you want and restart npm start
in Terminal 2 whenever you want to see your changes