winepak / applications

A collection of flatpak manifest for building Microsoft Windows applications with Wine via flatpak
https://www.winepak.org
416 stars 39 forks source link

[Cemu] CemuLogo2.png prevents both install and build to succeed. #178

Open allan-kg opened 3 years ago

allan-kg commented 3 years ago

Both flatpak install Cemu and flatpak-build ... info.cemu.Cemu are failing because of CemuLogo2.png not being found.

The error message :

Error: While downloading http://compat.cemu.info/w/CemuLogo2.png: Server returned status 404: Not Found
error: Failed to install info.cemu.Cemu: While downloading http://compat.cemu.info/w/CemuLogo2.png: Server returned status 404: Not Found

I've tested with a different URL and it works as a workaround :

diff --git a/info.cemu.Cemu/info.cemu.Cemu.appdata.xml b/info.cemu.Cemu/info.cemu.Cemu.appdata.xml
index 2144fd1..c9b0d61 100644
--- a/info.cemu.Cemu/info.cemu.Cemu.appdata.xml
+++ b/info.cemu.Cemu/info.cemu.Cemu.appdata.xml
@@ -10,7 +10,7 @@
     <description><p>Highly experimental software to emulate Wii U applications on PC</p></description>
     <description xml:lang="pt_BR"><p>Cemu permite jogar jogos de Wii U no seu Computador.</p></description>
     <description xml:lang="es"><p>Cemu le permite jugar juegos de Wii U en su ordenador.</p></description>
-    <icon type="remote" height="200" width="200">http://compat.cemu.info/w/CemuLogo2.png</icon>
+    <icon type="remote" height="200" width="200">https://gbatemp.net/attachments/cemulogo2-png.157415/</icon>

     <screenshots>
         <screenshot type="default">
diff --git a/info.cemu.Cemu/info.cemu.Cemu.yml b/info.cemu.Cemu/info.cemu.Cemu.yml
index 2bcfaca..2007197 100644
--- a/info.cemu.Cemu/info.cemu.Cemu.yml
+++ b/info.cemu.Cemu/info.cemu.Cemu.yml
@@ -91,9 +91,9 @@ modules:
         sha256: 063f13ee69aacc116bc5729064e4b864f591b32befe734fdd6ad706827611692
         filename: cemu.zip
       - type: extra-data
-        url: http://compat.cemu.info/w/CemuLogo2.png
-        sha256: fba479caf82db0fb00cba5bdde7e1bde1847dd555e44475a9b50b2ad4002b7c9
-        size: 21083
+        url: https://gbatemp.net/attachments/cemulogo2-png.157415/
+        sha256: d2aff9f219fadfdd926bda5b01ff5c195b48ac5aafe0b03f8652df9ff0fa5262
+        size: 18970
         filename: info.cemu.Cemu.png
       - type: script
         dest-filename: cemu

Of course I am not the owner of the URL and etc etc etc. It was just for testing, you should replace the URL with something else.

Then it goes back to issue 157 .