The launcher for BlueMaxima's Flashpoint (aka the Flashpoint Project).
- Flashpoint - Download Flashpoint here
- Trello - Upcoming features, known bugs etc.
- Download the project (and extract it, if it was downloaded as an archive).
- Open a command prompt and navigate it to the projects root folder.
- Run
npm install
- Open a command prompt and run
npm run watch
and wait for it to finish building - Open another command prompt and wait for
build
to complete, then runnpm run start
build
- Build the launcher (build main & renderer and copy static files to./build/
)watch
- Build the launcher and incrementally rebuild it when the source or static files changepack
- Pack the latest build (and put the packaged file with the executable electron app in./dist/
)release
- Build then pack the launcher (same as runningbuild
thenpack
)start
- Run the latest build of the launcher
pack
and release
will by default pack for the OS and architecture of the machine that runs it.
To pack for a specific OS / architecture use the handy package scripts (such as pack:linux
or release:win32
) or set the environment variables PACK_PLATFORM
/ PACK_ARCH
.
If this error appears in the electron applications console, it is probably because the file it is looking for does not exist. To solve this, run npm run build
Example: Not allowed to load local resource: file:///<ProjectPath>/build/renderer/index.html