From: Brendan Hansen Date: Fri, 26 Nov 2021 19:21:20 +0000 (-0600) Subject: using logo in compiled windows binary X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=93d61d6898ea210d93282aacc90772ca75fe1caf;p=onyx.git using logo in compiled windows binary --- diff --git a/build.bat b/build.bat index dbc4e5b5..33be618f 100644 --- a/build.bat +++ b/build.bat @@ -16,6 +16,8 @@ set FLAGS=%FLAGS% "/I%PWD%\lib\windows_x86_64\include" /DENABLE_RUN_WITH_WASMER= del *.pdb > NUL 2> NUL del *.ilk > NUL 2> NUL -cl.exe %FLAGS% /Iinclude /std:c17 /TC %SOURCE_FILES% /link /IGNORE:4217 %LINK_OPTIONS% /DEBUG /OUT:onyx.exe /incremental:no /opt:ref /subsystem:console +rc.exe misc/icon_resource.rc +cl.exe %FLAGS% /Iinclude /std:c17 /TC %SOURCE_FILES% /link /IGNORE:4217 %LINK_OPTIONS% /DEBUG /OUT:onyx.exe /incremental:no /opt:ref /subsystem:console misc\icon_resource.res del *.obj > NUL 2> NUL +del misc\icon_resource.res \ No newline at end of file diff --git a/misc/icon_resource.rc b/misc/icon_resource.rc new file mode 100644 index 00000000..3c4aa257 --- /dev/null +++ b/misc/icon_resource.rc @@ -0,0 +1 @@ +desk1 ICON "docs/logos/logo.ico" \ No newline at end of file diff --git a/misc/vscode/logo.png b/misc/vscode/logo.png new file mode 100644 index 00000000..21f42e93 Binary files /dev/null and b/misc/vscode/logo.png differ diff --git a/misc/vscode/onyx-0.0.1.vsix b/misc/vscode/onyx-0.0.1.vsix index 0ffa9e88..b6d54696 100644 Binary files a/misc/vscode/onyx-0.0.1.vsix and b/misc/vscode/onyx-0.0.1.vsix differ diff --git a/misc/vscode/package.json b/misc/vscode/package.json index afc5a5be..800cb0dd 100644 --- a/misc/vscode/package.json +++ b/misc/vscode/package.json @@ -13,6 +13,7 @@ "activationEvents": [ "onLanguage:onyx" ], + "icon": "logo.png", "main": "./out/extension.js", "contributes": { "languages": [