mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-10 09:39:58 +00:00
Update README
This commit is contained in:
21
README.md
21
README.md
@@ -85,7 +85,7 @@ npm run remove-manifest
|
|||||||
This will build the ext and app, outputting to `dist/`:
|
This will build the ext and app, outputting to `dist/`:
|
||||||
|
|
||||||
* #### `dist/app/`
|
* #### `dist/app/`
|
||||||
... contains the built bridge with launcher and manifest with the path pointing that launcher. The `install-manifest` script copies this manifest to the proper location (or adds its current location to the registry on Windows).
|
... contains the built bridge with launcher script and manifest with the path pointing that script. The `install-manifest` script copies this manifest to the proper location (or adds its current location to the registry on Windows).
|
||||||
* #### `dist/ext/`
|
* #### `dist/ext/`
|
||||||
... contains the unpacked extension.
|
... contains the unpacked extension.
|
||||||
|
|
||||||
@@ -95,7 +95,7 @@ Watching ext changes:
|
|||||||
npm run watch --prefix ./ext
|
npm run watch --prefix ./ext
|
||||||
````
|
````
|
||||||
|
|
||||||
Launch Firefox watch for file changes (run in separate terminal):
|
Launch Firefox with built extension (run in separate terminal):
|
||||||
|
|
||||||
````sh
|
````sh
|
||||||
npm run start --prefix ./ext
|
npm run start --prefix ./ext
|
||||||
@@ -112,6 +112,17 @@ npm run start --prefix ./ext
|
|||||||
* `--mode` `"production"`, `"development"`
|
* `--mode` `"production"`, `"development"`
|
||||||
Run webpack in a different mode. Defaults to `"development"` unless combined with `--package`.
|
Run webpack in a different mode. Defaults to `"development"` unless combined with `--package`.
|
||||||
|
|
||||||
|
#### Bridge build script arguments
|
||||||
|
|
||||||
|
* `--usePkg`
|
||||||
|
Creates a single executable instead of a launcher script.
|
||||||
|
* `--package`
|
||||||
|
Builds and creates installer packages for distribution.
|
||||||
|
* `--arch` `"x64"`,`"x86"`
|
||||||
|
Select platform arch to build for. Defaults to current platform arch.
|
||||||
|
* `--skipNativeBuilds`
|
||||||
|
macOS only. Skips native receiver selector build.
|
||||||
|
|
||||||
### Packaging
|
### Packaging
|
||||||
|
|
||||||
Build and package extension and bridge application for current platform:
|
Build and package extension and bridge application for current platform:
|
||||||
@@ -138,12 +149,10 @@ npm run package:app -- -- --packageType=rpm
|
|||||||
|
|
||||||
#### Bridge package script arguments
|
#### Bridge package script arguments
|
||||||
|
|
||||||
* `--arch` `"x64"`,`"x86"`
|
_**Note**: Includes the build script arguments._
|
||||||
Select platform arch to build for. Defaults to current platform arch.
|
|
||||||
* `--packageType` `"deb"`,`"rpm"`
|
* `--packageType` `"deb"`,`"rpm"`
|
||||||
Select the package type. Defaults to `deb`. Only relevant when building for Linux.
|
Select the package type. Defaults to `deb`. Only relevant when building for Linux.
|
||||||
* `--skipNativeBuilds`
|
|
||||||
macOS only. Skips native receiver selector build.
|
|
||||||
|
|
||||||
|
|
||||||
### Testing
|
### Testing
|
||||||
|
|||||||
Reference in New Issue
Block a user