mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00

Adds an rc file for windows. An rc file is a source file given to the toolchain that instructs it on what "resources" to embed inside the executable. You can think of "resources" as files or data that get embedded into the executable and can be accessed both by the application at runtime or by the OS. The OS uses resources for things like getting the icon of the executable or extracting the version of an exe for the user. Note that exe resources can also be modified without having to recompile/relink the binary. Thanks to Squeek502 zig has its own "RC Compiler" so this should still be buildable on all platforms. In the RC file I've included some basic info and left in comments for other info to be populated later. I've also included a manifest file which starts out by telling windows that our exe will be DPI aware and to use a slightly more modern look and feel for native controls.
15 lines
764 B
XML
15 lines
764 B
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
|
|
<asmv3:application>
|
|
<asmv3:windowsSettings>
|
|
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware>
|
|
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
|
|
</asmv3:windowsSettings>
|
|
</asmv3:application>
|
|
<dependency>
|
|
<dependentAssembly>
|
|
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" />
|
|
</dependentAssembly>
|
|
</dependency>
|
|
</assembly>
|