Skip to content

Commit 889cd77

Browse files
authored
Merge pull request #11690 from Calinou/compiling-pck-encryption-message
Clarify environment variable behavior in Compiling with PCK encryption key
2 parents 6d3e576 + a4d40f1 commit 889cd77

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

engine_details/development/compiling/compiling_with_script_encryption_key.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,17 @@ Step by step
6161

6262
$env:SCRIPT_AES256_ENCRYPTION_KEY="your_generated_key"
6363

64+
Note that the commands suggested above do **not** persist the variables
65+
across terminal sessions.
66+
6467
3. Compile Godot export templates and set them as custom export templates
65-
in the export preset options.
68+
in the export preset options. If the environment variable is set correctly,
69+
the following message is printed at the beginning of compilation:
70+
71+
::
72+
73+
*** IMPORTANT: Compiling Godot with custom `SCRIPT_AES256_ENCRYPTION_KEY` set as environment variable.
74+
*** Make sure to use templates compiled with this key when exporting a project with encryption.
6675

6776
4. Set the encryption key in the **Encryption** tab of the export preset:
6877

0 commit comments

Comments
 (0)