项目作者: ffflorian

项目描述 :
Create Linux apps with nativefier
高级语言: Shell
项目地址: git://github.com/ffflorian/nativefier-apps.git
创建时间: 2019-08-28T20:26:17Z
项目社区:https://github.com/ffflorian/nativefier-apps

开源协议:GNU General Public License v3.0

下载


nativefier-apps

Create Linux apps with nativefier.

Prerequisites

  • Linux
  • bash
  • a fairly new version of npm (>= v5.2.0)

Usage

  1. Clone this repository or download it
  2. Run nativefier.sh or one of the app scripts

Example

  1. $ ./nativefier.sh --help
  2. Usage: nativefier.sh [options] <switches>
  3. Switches:
  4. --logo (-l) App logo (png file, e.g. "./my-app.png")
  5. --name (-n) App name (e.g. "MyApp")
  6. --short-name (-s) Short app name (e.g. "my-app")
  7. --url (-u) App URL without protocol (e.g. "web.my-app.com")
  8. Options:
  9. --force (-f) Force overwriting existing installations (default is false)
  10. --install-dir (-i) App installation dir (default is "/opt/<my-app>")
  11. Commands:
  12. --help (-h) Display this help message
  13. $ ./nativefier.sh -l "./logos/gmail.png" -s "gmail" -n "Google Mail" -u "mail.google.com"
  14. Building Google Mail for Linux ...
  15. Checking existing Google Mail installations ...
  16. Creating app ...
  17. packaging [============================== ] 60%
  18. Packaging app for platform linux x64 using electron v5.0.10
  19. Copying app to "/opt/gmail" ...
  20. [sudo] password for florian:
  21. Creating desktop entry ...
  22. Done.