Giter Site home page Giter Site logo

Comments (2)

michaelsboost avatar michaelsboost commented on May 19, 2024

So so if you have a Mac you can run Automator and add the code in run.sh into a shell script and create a mac app (hello.app) with automator. After that you can load in your project folder into it (inside "contents" if I recall correctly)

Otherwise no you can't.

from webdgap.

GJRobert avatar GJRobert commented on May 19, 2024

Successful! Here's all what I have done following your instructions, as an example and reference for future inquirers.

  1. Convert, for example, http://wikiwand.com/ as an Mac app (name: Wikiwand for example) via WebDGap, and download the generated zip file. (I've got wikiwand-macsite.zip here)
  2. Unzip the file, and change the filename, icon, bundle name etc. per instructed in the video.
  3. Run Automator, choosing "Applications" as the project type.
  4. Find "Run shell script" item and add it to the workflow.
  5. Copy the code in the run.sh generated by WebDGap, and paste it into the "Run shell script" process.
  6. Save the application in Automator. Here I'm using "Wikiwand". The app name must be the same as what was given to WebDGap, otherwise the script will cause error.
  7. Open the saved Wikiwand.app with Finder "Open bundle"
  8. Copy or just move the /data folder into /Contents of the app bundle
  9. That's it. The Wikiwand.app is now fully fledged.
  10. Optionally change the icon of the app via Finder "Show Info" window or using 3rd party tools like LiteIcon★.

Thanks to Mike for the great work WebDGap!

from webdgap.

Related Issues (15)

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.