From 6a0908e4a07d6c480db2ac80c33ffd391cbd068d Mon Sep 17 00:00:00 2001 From: rxi Date: Sat, 1 Oct 2016 16:58:11 +0100 Subject: [PATCH] Added doc/packaging.md --- doc/packaging.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/packaging.md diff --git a/doc/packaging.md b/doc/packaging.md new file mode 100644 index 0000000..7e4c58f --- /dev/null +++ b/doc/packaging.md @@ -0,0 +1,15 @@ +# Packaging +LoveDOS provides a built-in mechanism for packaging your game into an exe for +distribution. Simply pass `--pack` as the first argument to LoveDOS followed by +the your game's directory and the name of the output exe file. + +For example, to package the game in the directory `mygame` to an exe file named +`mygame.exe`, you would run the following: +```batch +love --pack mygame mygame.exe +``` + +This would result in the file `mygame.exe` -- *Make sure to include the `.exe` +at the end of the name so LoveDOS knows to pack the project into an executable.* + +You should also include `cwsdpmi.exe` with your game when distributing.