summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2024-03-25 00:38:45 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2024-03-25 00:38:45 +0100
commit779d5e9fae70a41b45f87d8339a5ae8ed7c807e1 (patch)
treeebf0b313003de827643900fab8b03d2079fe9736
parent6934c131d97c6e0639235750b2ba824d25359e06 (diff)
Try harder to make transparency for windows icon work
-rw-r--r--.ci/windows/build.bat4
-rw-r--r--resources/AppxManifest.xml4
-rw-r--r--resources/nheko-150.pngbin0 -> 6480 bytes
-rw-r--r--resources/nheko-44.pngbin0 -> 1871 bytes
4 files changed, 6 insertions, 2 deletions
diff --git a/.ci/windows/build.bat b/.ci/windows/build.bat
index fcd25bbc..3d4e8702 100644
--- a/.ci/windows/build.bat
+++ b/.ci/windows/build.bat
@@ -40,6 +40,10 @@ mkdir msix
xcopy .\NhekoRelease\*.* msix\*.* /s /e /c /y
copy .\resources\nheko.png msix
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
del msix\vc_redist*
::sed -i "s/ Version=[^ ]*/ Version=\"%WINVERSION%\"/" msix\AppxManifest.xml
diff --git a/resources/AppxManifest.xml b/resources/AppxManifest.xml
index 978fda8c..9f933604 100644
--- a/resources/AppxManifest.xml
+++ b/resources/AppxManifest.xml
@@ -25,8 +25,8 @@
<Application Id="im.nheko.nheko" Executable="nheko.exe" EntryPoint="Windows.FullTrustApplication"
uap10:RuntimeBehavior="packagedClassicApp"
uap10:TrustLevel="mediumIL">
- <uap:VisualElements DisplayName="Nheko" Description="Matrix client written in Qt" Square150x150Logo="nheko.png"
- Square44x44Logo="nheko.png" BackgroundColor="transparent" />
+ <uap:VisualElements DisplayName="Nheko" Description="Matrix client written in Qt" Square150x150Logo="nheko-150.png"
+ Square44x44Logo="nheko-44.png" BackgroundColor="transparent" />
<Extensions>
<uap:Extension Category="windows.protocol">
<uap:Protocol Name="matrix">
diff --git a/resources/nheko-150.png b/resources/nheko-150.png
new file mode 100644
index 00000000..9afbafbc
--- /dev/null
+++ b/resources/nheko-150.png
Binary files differ
diff --git a/resources/nheko-44.png b/resources/nheko-44.png
new file mode 100644
index 00000000..74f7952a
--- /dev/null
+++ b/resources/nheko-44.png
Binary files differ