- Problem: I must enable the Flash player setting of the browser everytime when I play Facebook desktop flash game "happyfish".
- Solution: Use nativefier to package the Facebook game page url and build a MacOS application to prevent this problem.
https://blog.user.today/electron-happyfish-flash-blocked/
Type this chrome://components/
in the address bar of Google Chrome.
git clone https://github.com/jiimmysu/happyfish-nativefier.git
npm install
nativefier --name "開心水族箱" "https://apps.facebook.com/happyfishbowl/?fb_source=bookmark_favorites&ref=bookmarks&count=0&fb_bmpos=_0" --flash --flash-path "/Users/XXXX/Library/Application Support/Google/Chrome/PepperFlash/32.0.0.321/PepperFlashPlayer.plugin" --inject ./style.css --icon ./icon.png
- Replace the username(XXXX) and Adobe Flash Player version(32.0.0.321) of your own.
You can find "Application" on the sidebar of Finder.