Fix screenshot

main
Micke Nordin 4 years ago
parent 3f2d8850bb
commit 3fcffc636b

@ -12,10 +12,10 @@
<url type="homepage">https://github.com/mickenordin/wireguide</url> <url type="homepage">https://github.com/mickenordin/wireguide</url>
<screenshots> <screenshots>
<screenshot type="default"> <screenshot type="default">
<image>https://github.com/mickenordin/wireguide</image> <image>https://raw.githubusercontent.com/mickenordin/wireguide/main/screenshots/scrot0.png</image>
</screenshot> </screenshot>
</screenshots> </screenshots>
<provides> <provides>
<id>wireguide.desktop</id> <id>wireguide.desktop</id>
</provides> </provides>
</component> </component>

@ -398,7 +398,7 @@ def get_logo_path():
Try to find a logo Try to find a logo
""" """
site_packages = next(p for p in sys.path if 'site-packages' in p) site_packages = next(p for p in sys.path if 'site-packages' in p)
base_path = os.path.dirname(__file__) # base_path = os.path.dirname(__file__)
logo_name = "logo.png" logo_name = "logo.png"
pipimage = site_packages + "/wireguide/" + logo_name pipimage = site_packages + "/wireguide/" + logo_name
appimage = base_path + "/../share/icons/hicolor/256x256/ke.mic.wireguide.png" appimage = base_path + "/../share/icons/hicolor/256x256/ke.mic.wireguide.png"

Loading…
Cancel
Save