mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Update packaging docs
This commit is contained in:
15
README.md
15
README.md
@@ -120,17 +120,26 @@ Build and package app and extension for current platform:
|
||||
npm run package
|
||||
````
|
||||
|
||||
Build and package app for linux platforms:
|
||||
Packaging examples:
|
||||
|
||||
````sh
|
||||
# Linux platforms
|
||||
npm run package --prefix ./app -- --platform=linux --packageType=deb
|
||||
npm run package --prefix ./app -- --platform=linux --packageType=rpm
|
||||
|
||||
# Windows
|
||||
npm run package --prefix ./app -- --platform=win32
|
||||
|
||||
# macOS
|
||||
npm run package --prefix ./app -- --platform=darwin
|
||||
````
|
||||
|
||||
##### Package script arguments
|
||||
|
||||
* `--platform` `"win"`,`"mac"`,`"linux"`
|
||||
Select the platform to build for.
|
||||
* `--platform` `"win32"`,`"darwin"`,`"linux"`
|
||||
Select the platform to build for. Defaults to current platform.
|
||||
* `--arch` `"x64"`,`"x86"`
|
||||
Select platform arch to build for. Defaults to current platform arch.
|
||||
* `--packageType` `"deb"`,`"rpm"`
|
||||
Select the package type. Defaults to `deb`. Only relevant when building for Linux.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user