Thorium-Sim / thorium-nova

Next-generation Spaceship Controls
https://thoriumsim.com
Apache License 2.0
345 stars 14 forks source link

Create a headless server build output #17

Open alexanderson1993 opened 3 years ago

alexanderson1993 commented 3 years ago

This involves a couple of things


Discussed in https://github.com/Thorium-Sim/thorium-nova/discussions/14

Originally posted by **Tsht** October 5, 2021 Idea is to have a possibility to run the server on dedicated headless (command line only) environment. This allows to have a running server, constantly running if needed, without needing any fancy graphical features and should allows easy play over the internet on servers which does not require that much resources.
cwadley commented 3 years ago

I can pick this up this weekend.

alexanderson1993 commented 3 years ago

Holler if you have any questions. We'll be using my Apple Developer account for macOS code signing and notarization, and the appropriate environment variables are set up in the repo secrets, so you should be able to access those in the Github Action that performs the build process. Not sure how all that will work, but it's not impossible. 😅

alexanderson1993 commented 3 years ago

Here are some helpful links that I used for code signing and notarizing the Electron app https://samuelmeuli.com/blog/2019-04-07-packaging-and-publishing-an-electron-app/#code-signing https://samuelmeuli.com/blog/2019-12-28-notarizing-your-electron-app

alexanderson1993 commented 1 year ago

The "Single Executable Apps" feature could be helpful for this https://openjsf.org/blog/2023/04/18/node-js-20-now-available/