exporting_for_linux.rst 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. .. _doc_exporting_for_linux:
  2. Exporting for Linux
  3. ===================
  4. .. seealso::
  5. This page describes how to export a Godot project to Linux.
  6. If you're looking to compile editor or export template binaries from source instead,
  7. read :ref:`doc_compiling_for_linuxbsd`.
  8. The simplest way to distribute a game for PC is to copy the executable
  9. (``godot``), compress the folder and send it to someone else. However, this is
  10. often not desired.
  11. Godot offers a more elegant approach for PC distribution when using the export
  12. system. When exporting for Linux, the exporter takes all the project files and
  13. creates a ``data.pck`` file. This file is bundled with a specially optimized
  14. binary that is smaller, faster and does not contain the editor and debugger.
  15. Environment variables
  16. ---------------------
  17. You can use the following environment variables to set export options outside of
  18. the editor. During the export process, these override the values that you set in
  19. the export menu.
  20. .. list-table:: Linux export environment variables
  21. :header-rows: 1
  22. * - Export option
  23. - Environment variable
  24. * - Encryption / Encryption Key
  25. - ``GODOT_SCRIPT_ENCRYPTION_KEY``