Skip to content
Kytech edited this page Apr 22, 2020 · 13 revisions

Development FAQ

Dependencies

All Platforms

  • Node.js: 6.3.X
  • NPM: 3.X.X

Platform Specific

Windows

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

Getting the project running

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.

Easy development process

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