Fix screenshot

This commit is contained in:
Micke Nordin 2020-11-29 15:19:28 +01:00
parent 3f2d8850bb
commit 3fcffc636b
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -398,7 +398,7 @@ def get_logo_path():
Try to find a logo
"""
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"
pipimage = site_packages + "/wireguide/" + logo_name
appimage = base_path + "/../share/icons/hicolor/256x256/ke.mic.wireguide.png"