Exporting for Windows¶
Дивись також
This page describes how to export a Godot project to Windows. If you're looking to compile editor or export template binaries from source instead, read Compiling for Windows.
The simplest way to distribute a game for PC is to copy the executable
(godot.exe
), compress the folder and send it to someone else. However, this
is often not desired.
Godot offers a more elegant approach for PC distribution when using the export
system. When exporting for Windows, the exporter takes all the project files and
creates a data.pck
file. This file is bundled with a specially optimized
binary that is smaller, faster and does not contain the editor and debugger.
Вимоги¶
To enable code signing, you must have the
Windows 10 SDK
(on Windows) or osslsigncode (on any other OS) installed.Download the Godot export templates. Use the Godot menu:
Editor > Manage Export Templates
.
Попередження
Якщо ви експортуєте для Windows із вбудованими файлами PCK, ви не зможете підписати програму, тому що вона перестане працювати.
Вбудовані PCK на Windows можуть спричиняти помилкові спрацювання в антивірусних програмах. Тому рекомендується уникати їх використання, якщо тільки ви не поширюєте свій проєкт через Steam, оскільки він обходить підписання коду та антивірусні перевірки.