diff options
| author | Thomas la Cour <tlc@hyrtwol.dk> | 2024-08-20 18:43:40 +0200 |
|---|---|---|
| committer | Thomas la Cour <tlc@hyrtwol.dk> | 2024-08-21 16:26:10 +0200 |
| commit | 171d917b7e4d0c488f5807fd5ae5928f4b7c625c (patch) | |
| tree | 4d3dfd4c72a34e7db85be5c2f9f3115db1da064d /misc | |
| parent | 63cd9a031a76220dc31ef8c009b47ace9fc2b0fd (diff) | |
odin manifest file
Diffstat (limited to 'misc')
| -rw-r--r-- | misc/emblem.ico | bin | 0 -> 3638 bytes | |||
| -rw-r--r-- | misc/odin.manifest | 8 | ||||
| -rw-r--r-- | misc/odin.rc | 75 | ||||
| -rw-r--r-- | misc/sourcefile.ico | bin | 0 -> 3638 bytes |
4 files changed, 83 insertions, 0 deletions
diff --git a/misc/emblem.ico b/misc/emblem.ico Binary files differnew file mode 100644 index 000000000..f5644b417 --- /dev/null +++ b/misc/emblem.ico diff --git a/misc/odin.manifest b/misc/odin.manifest new file mode 100644 index 000000000..d42403b22 --- /dev/null +++ b/misc/odin.manifest @@ -0,0 +1,8 @@ +<?xml version='1.0' encoding='UTF-8' standalone='yes'?> +<assembly xmlns='urn:schemas-microsoft-com:asm.v3' manifestVersion='1.0'> + <application> + <windowsSettings xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings"> + <activeCodePage>UTF-8</activeCodePage> + </windowsSettings> + </application> +</assembly> diff --git a/misc/odin.rc b/misc/odin.rc new file mode 100644 index 000000000..e45d6661b --- /dev/null +++ b/misc/odin.rc @@ -0,0 +1,75 @@ + +#include "winres.h" + +// https://learn.microsoft.com/en-us/windows/win32/menurc/stringfileinfo-block + +LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT +#pragma code_page(65001) // CP_UTF8 + +#define IDI_ICON1 101 +#define IDI_ICON2 102 + +#ifndef V1 +#define V1 1 +#endif +#ifndef V2 +#define V2 0 +#endif +#ifndef V3 +#define V3 0 +#endif +#ifndef V4 +#define V4 0 +#endif +#ifndef VF +#define VF "1.0.0.0" +#endif +#ifndef VP +#define VP "1.0.0.0" +#endif +#ifndef GIT_SHA +#define GIT_SHA 0 +#endif + +#define Q(x) #x +#define QUOTE(x) Q(x) + +VS_VERSION_INFO VERSIONINFO + FILEVERSION V1,V2,V3,V4 + PRODUCTVERSION V1,V2,V3,V4 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x1L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "0409FDE9" + BEGIN + VALUE "CompanyName", "https://odin-lang.org/" + VALUE "FileDescription", "Odin general-purpose programming language." // note this is shown in the task manager + VALUE "FileVersion", QUOTE(VF) + VALUE "InternalName", "odin.exe" + VALUE "LegalCopyright", "Copyright (c) 2016-2024 Ginger Bill. All rights reserved." + VALUE "OriginalFilename", "odin.exe" + VALUE "ProductName", "The Odin Programming Language" + VALUE "ProductVersion", QUOTE(VP) + VALUE "Comments", QUOTE(git-sha: GIT_SHA) + // custom values + VALUE "GitSha", QUOTE(GIT_SHA) + END + END + BLOCK "VarFileInfo" + BEGIN + //0xFDE9=65001=CP_UTF8 + VALUE "Translation", 0x0409, 0xFDE9 + END +END + +IDI_ICON1 ICON "emblem.ico" +IDI_ICON2 ICON "sourcefile.ico" diff --git a/misc/sourcefile.ico b/misc/sourcefile.ico Binary files differnew file mode 100644 index 000000000..5f3772633 --- /dev/null +++ b/misc/sourcefile.ico |