You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,14 @@ A sample extension that demonstrates how to create a simple extension for Flashp
6
6
7
7
Clone the repository and run `npm install` to install the dependencies.
8
8
9
-
Normal workflow is to first package the extension so you get the required files in `Package` directory. Copy the extension to `Flashpoint\Data\Extensions` and then run `npm run watch` to start the development server. After a build you have copy the file `Dist` directory to `Flashpoint\Data\Extensions` and do a hot-reload in the launcher by pressing `Ctrl+Shift+R` to see the changes.
9
+
Normal workflow is to first package the extension so you get the required files in `package`-directory.
10
+
11
+
After that you can run `npm run watch` to start the development server. The built file `ext.js` will be placed in the `dist`-directory can be copied to `Flashpoint\Data\Extensions\hello-world` directory.
10
12
11
13
## Build
12
14
13
15
Run `npm run build` to build the extension in development mode.
14
16
15
17
## Package
16
18
17
-
Run `npm run package` to build a distributable package of the extension. A new directory will be created in the `package`-directory that can be copied to `Flashpoint\Data\Extensions`. The `extensions.fplx` is just a renamed zip-file that can be used to distribute the extension, but it's not possible to install it directly from the Flashpoint Launcher.
19
+
Run `npm run package` to build a distributable package of the extension. A new directory named `hello-world`will be created in the `package`-directory that can be copied to `Flashpoint\Data\Extensions`. The new file `extensions.fplx` is just a renamed zip-file that can be used to distribute the extension. Note that the launcher it self does not support installing extensions from these file types yet.
0 commit comments