GithubHelp home page GithubHelp logo

happyfish-nativefier's Introduction

happyfish-nativefier(for MacOS)

  • 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/

0.Find the newest Adobe Flash Player version number.

Type this chrome://components/ in the address bar of Google Chrome.

1.Copy this Project, and run npm.

  • git clone https://github.com/jiimmysu/happyfish-nativefier.git
  • npm install

2.Use the command below to generate MacOS application.

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.

3.You will get an "APP-darwin-x64" folder in your project folder.

4.Drag APP.app into the "Application" folder.

You can find "Application" on the sidebar of Finder.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.