Try harder to make transparency for windows icon work

This commit is contained in:
Nicolas Werner 2024-03-25 00:38:45 +01:00
parent 6934c131d9
commit 779d5e9fae
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
4 changed files with 6 additions and 2 deletions

View file

@ -40,6 +40,10 @@ mkdir msix
xcopy .\NhekoRelease\*.* msix\*.* /s /e /c /y xcopy .\NhekoRelease\*.* msix\*.* /s /e /c /y
copy .\resources\nheko.png msix copy .\resources\nheko.png msix
copy .\resources\nheko.png msix\nheko_altform-unplated.png copy .\resources\nheko.png msix\nheko_altform-unplated.png
copy .\resources\nheko-44.png msix\nheko-44.png
copy .\resources\nheko-44.png msix\nheko-44.targetsize-44_altform-unplated.png
copy .\resources\nheko-150.png msix\nheko-150.png
copy .\resources\nheko-150.png msix\nheko-150.targetsize-150_altform-unplated.png
copy .\resources\AppxManifest.xml msix copy .\resources\AppxManifest.xml msix
del msix\vc_redist* del msix\vc_redist*
::sed -i "s/ Version=[^ ]*/ Version=\"%WINVERSION%\"/" msix\AppxManifest.xml ::sed -i "s/ Version=[^ ]*/ Version=\"%WINVERSION%\"/" msix\AppxManifest.xml

View file

@ -25,8 +25,8 @@
<Application Id="im.nheko.nheko" Executable="nheko.exe" EntryPoint="Windows.FullTrustApplication" <Application Id="im.nheko.nheko" Executable="nheko.exe" EntryPoint="Windows.FullTrustApplication"
uap10:RuntimeBehavior="packagedClassicApp" uap10:RuntimeBehavior="packagedClassicApp"
uap10:TrustLevel="mediumIL"> uap10:TrustLevel="mediumIL">
<uap:VisualElements DisplayName="Nheko" Description="Matrix client written in Qt" Square150x150Logo="nheko.png" <uap:VisualElements DisplayName="Nheko" Description="Matrix client written in Qt" Square150x150Logo="nheko-150.png"
Square44x44Logo="nheko.png" BackgroundColor="transparent" /> Square44x44Logo="nheko-44.png" BackgroundColor="transparent" />
<Extensions> <Extensions>
<uap:Extension Category="windows.protocol"> <uap:Extension Category="windows.protocol">
<uap:Protocol Name="matrix"> <uap:Protocol Name="matrix">

BIN
resources/nheko-150.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

BIN
resources/nheko-44.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB