Bläddra i källkod

explicit the need for code signing when creating an `.app` of the editor (#7527)

Co-authored-by: bruvzg <[email protected]>
Co-authored-by: Max Hilbrunner <[email protected]>
Timothe Bonhoure 2 år sedan
förälder
incheckning
de8ad81412
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      contributing/development/compiling/compiling_for_macos.rst

+ 2 - 1
contributing/development/compiling/compiling_for_macos.rst

@@ -75,8 +75,9 @@ editor binary built with ``target=release_debug``::
 
     cp -r misc/dist/macos_tools.app ./Godot.app
     mkdir -p Godot.app/Contents/MacOS
-    cp bin/godot.macos.opt.tools.universal Godot.app/Contents/MacOS/Godot
+    cp bin/godot.macos.tools.universal Godot.app/Contents/MacOS/Godot
     chmod +x Godot.app/Contents/MacOS/Godot
+    codesign --force --timestamp --options=runtime --entitlements misc/dist/macos/editor.entitlements -s - Godot.app
 
 .. note::