1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-22 20:00:29 +03:00

Add docs/Windows-Manifest.md

This commit is contained in:
Athanasius 2020-10-02 15:20:53 +01:00
parent d458034471
commit 82d6aa7839

21
docs/Windows-Manifest.md Normal file
View File

@ -0,0 +1,21 @@
# Introduction
There are some attributes that can be set on a Windows executable via a
manifest. This is a section in the executable. The easiest way to set
this is to include an XML-format .manifest file at build time.
## Build time
We specify .manifest files in setup.py.
## Editing or changing a manifest
You can use the `mt.exe` from your Windows SDK
e.g. "c:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\mt.exe"
to inspect or change an executable's manifest.
To set a whole new manifest:
1. Make a copy of the relevant manifest file, e.g. `EDMarketConnector.manifest`.
1. Edit this file.
1. Run mt.exe thus: `mt.exe -manifest EDMarketConnector-new.manifest -outputresource:EDMarketConnector.exe`.