mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 00:07:14 +03:00
22 lines
725 B
Markdown
22 lines
725 B
Markdown
# 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 `build.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`.
|