-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Update Setup-a-headless-server.md #5300
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
base: develop
Are you sure you want to change the base?
Conversation
With `./` the command also works on *NIX. As far as I know (at least in WINE's CMD and in PowerShell on Window$ it is like that for sure) `./` works on Window$ too, as it automatically converts the `/` to a `\\`.
This might be a little tricky - traditionally I've leaned toward just showing the Windows variant that just uses the file, then those on Linux et al are likely used to adding those sorts of extras on their own. Just showing an all-compatible version would be nice, but at least on my system the slash in fact does not auto-convert :-(
|
I just checked, PowerShell supports calling commands with |
→ Should still work on Window$ and tell anyone on *NIX that the command is in the working directory (implying `./` for those)
I just tested it by |
Yeah, Powershell tends to be more common now, but is not everywhere. I personally still prefer plain old And since plain |
The |
There is a footnote about this in the contributor quick start guide: https://terasology.org/Terasology/#/Contributor-Quick-Start?id=f4. Under normal circumstances with an active project I would not recommend running a server from source unless you intend to work on the codebase itself. For most users, it would be run from the same prebuilt jar that they use to play the game normally. That ensures the versions remain compatible, since I do not believe we ensure backwards compatibility on the wire protocol at this time. |
Contains
Quick documentation fix to make a shown command platform-independent (by adding
.\
beforegradlew
, to make readers on *NIX aware that the command is found in the local directory and not globally)How to test
Run the command and see if
gradlew
starts up.Outstanding before merging
~