Exporting for Universal Windows Platform
See also
Compiling for Universal Windows Platform.
.appx package that can be installed as a Windows App or submitted to the Windows Store. Exporting UWP packages also works from any platform, not only from Windows.
However, if you want to install and run the app, you need to sign it with a trusted signature. Godot supports automatic signing of packages with external tools.
Also, make sure the Publisher Name you set when exporting the package matches the name used on the certificate.
Limitations on Xbox One
UWP documentation:
Submitted as an “App”
available memory is 1GB
- share of 2-4 CPU cores
- shared access of GPU power (45%)
Xbox Live Creators Program)
available memory is 5GB
- 4 exclusive CPU cores and 2 shared CPU cores
- exclusive access to GPU power (100%)
- Exceeding these memory limitations will cause allocation failures and the application will crash.
Creating a signing certificate
MakeCert.exeandPvk2Pfx.exetools, which come with the Windows SDK. If you use Visual Studio, you can open one of its Developer Prompts, since it comes with these tools and they can be located in the path. Microsoft’s documentation.aspx).MakeCertto create a private key:MakeCert /n publisherName /r /h 0 /eku "1.3.6.1.5.5.7.3.3,1.3.6.1.4.1.311.10.3.13" /e expirationDate /sv MyKey.pvk MyKey.cer
publisherNamematches the Publisher Name of your package andexpirationDateis in themm/dd/yyyyformat.Pvk2Pfx.exe:Pvk2Pfx /pvk MyKey.pvk /pi pvkPassword /spc MyKey.cer /pfx MyKey.pfx [/po pfxPassword]
/poargument, the PFX will have the same password as the private key. You will also need to trust this certificate in order to be able to install your app. Open the Command Prompt as Administrator and run the following command:Certutil -addStore TrustedPeople MyKey.cer
Setting up automatic signing
Signtool, and navigate to theSignTool.exefile on your computer.Signingoptions click on the folder next toCertificateand go to the certificate file. Then enter the pfxPassword in the password field. Your project will now be automatically signed on export.SignTool.exeand use the following command.SignTool sign /fd SHA256 /a /f MyKey.pfx /p pfxPassword package.appx
Installing the package
.appxfile from Windows Explorer.Add-AppxPackagePowerShell cmdlet. Note If you want to update your already installed app, you must update the version number on the new package or first uninstall the previous package.
