Skip to content

Bootstrap SPC

Write a wrapper which extracts ServerPackCreator from the JAR-file and runs it in a separate process.

Said wrapper should also run the update checks and notify in case of available updates.

If the wrapper can start and kill the process, then I may be able to write a system where SPC downloads the updates and restarts itself.

  1. Wrapper starts
  2. Checks for updates
    1. Prompt user Update? Yes/No
    2. If Yes, download, extract and run
  3. Run ServerPackCreator

A wrapper like that would also allow me to always run ServerPackCreator in the same directory, no matter if the user uses a link of some kind. Though how that would reliably be implemented is still a mystery to me. The wrapper would then have the problem which ServerPackCreator currently has: When a user uses a link to SPC of any kind, the directory in which the link resides in is used as the working directory by the JVM...

However, the wrapper itself would be a huge step in the right direction. Auto-Updates, opt-out.

Edited by Griefed