Skip to content

Building desktop applications

Julian Descottes edited this page Jan 24, 2016 · 1 revision

Windows

  • run grunt desktop
  • binaries will be in dest/desktop/win32 and dest/desktop/win64
  • (optional) replacing the icon relies on ResourceHacker + a script (misc/scripts/package-windows-executable.cmd)

MacOS

  • run grunt desktop-mac
  • binaries will be in dest/desktop/osx64
  • (optional) to package as a dmg + change the icon, follow the instructions at misc/script/build-mac-application.txt

Linux

  • run grunt desktop
  • binaries will be in dest/desktop/linux32 and dest/desktop/linux64
  • in piskel executable directory, run sed -i 's/udev\.so\.0/udev.so.1/g' piskel (see "Issues with libudev.so.0 / libudev.so.1")
  • in piskel executable directory, run chmod +x piskel

Issues with libudev.so.0 / libudev.so.1

Latest versions of nw apparently package libudev.so.1 now so next time we update, this shouldn't be necessary.