Pokeclicker-desktop icon indicating copy to clipboard operation
Pokeclicker-desktop copied to clipboard

Desktop app for mac osx?

Open zombi3pinup opened this issue 1 year ago • 2 comments

I would love to be able to download the desktop app to play on my mac. Any way to make a mac installer? I'm running 10.15.7 but I know there are newer OSX versions out there

zombi3pinup avatar Apr 07 '23 14:04 zombi3pinup

Distributing for macOS requires an expensive Apple Developer Program subscription, so unless someone who already shells out for that decides to get involved with the project, it probably won't happen.

That said, it's possible to build a Mac version for personal use. I got it working via the following:

  • Install node.js
  • Install yarn via Terminal: npm install --global yarn
  • Download the desktop app source code .zip and unzip it to a new folder
  • In /Pokeclicker-desktop-1.2.0/src make a copy of icon_512x512.png called simply icon.png — this isn't strictly necessary but until I did this it used a default app icon
  • Navigate in Terminal to /Pokeclicker-desktop-1.2.0
  • Run the following commands:
yarn install
yarn electron-builder --macos dir -c.mac.identity=null
  • If all goes well the app will appear inside /Pokeclicker-desktop-1.2.0/dist/mac (or a similarly named folder).

umbralOptimatum avatar Apr 15 '23 01:04 umbralOptimatum

I've made a PR for this, and created a homebrew tap you can use to install now with homebrew via

brew tap pokeclicker/tap
brew install pokeclicker-desktop

May need to try launching from Finder the first couple of attempts before mac stops complaining

Aegyo avatar May 13 '23 01:05 Aegyo