Skip to content
  • Aleix Pol Gonzalez's avatar
    Fix org.telegram.desktop identification · 7ea7aa1e
    Aleix Pol Gonzalez authored
    Summary:
    The code we have that adds .desktop at the end of the resource name did not take
    into account that it might be the case that the application ends with .desktop
    like it happens on telegram's desktop client
    
    This patch looks for the file instead of just checking the name to account for
    it. Otherwise the look up happens in KConfig.
    
    Fixes flathub/org.telegram.desktop#27 on github
    
    Test Plan: Tested locally, works.
    
    Reviewers: #plasma, #kwin, ngraham
    
    Reviewed By: ngraham
    
    Subscribers: kwin
    
    Tags: #kwin
    
    Differential Revision: https://phabricator.kde.org/D29728
    7ea7aa1e