Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generation of a downloadable zip #28

Open
electronicboy opened this issue Oct 20, 2023 · 1 comment
Open

Generation of a downloadable zip #28

electronicboy opened this issue Oct 20, 2023 · 1 comment
Labels
enhancement New feature or request future Will be worked on or released in the future

Comments

@electronicboy
Copy link

If there's one massive headache for macOS, it's the expectation that users will generally understand basic *nix skills in order to get a basic server running, it would kinda be cool if a zip file could be generated that would have a start.command script inside of it, with the executable bit set on the file within.

Contents would also have to marginally be modified for this, mainly, adding a call to cd in order to take us to the directory where the command file is in order to be able to start the server. Doing so would allow mac users to download the zip, extract the command file from within into the server dir, and be able to double click the file to run it;

cd "`dirname $0`"
java -jar server.jar
@encode42
Copy link
Owner

I don't have a mac to test this on, so once implemented, I'll need a little help testing whether I've done it correctly, but I'm all for this!

I've experimented with the idea of bundling the selected server jar as well, but I'm not sure about whether projects would be happy with this - it can be visited in the future.

However, this is such a simple change, and if it'll improve the user's experience, I'm a fan!

@encode42 encode42 added enhancement New feature or request future Will be worked on or released in the future labels Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request future Will be worked on or released in the future
Projects
None yet
Development

No branches or pull requests

2 participants