-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for Camera App not showing up #3842
Conversation
we hit this cause we removed that random unsigned dll? |
No this is not related to that dll. The way the code was adding the string |
I am unable to see camera app in wox as well. This issue was there since we inherited their codebase. We can contribute this change back to wox as well. |
if they haven't fixed the issue, lets prep a PR for them |
if we're going to do a hotfix, this may not be a bad PR for that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
(cherry picked from commit d2dfbff)
* Add resource only when it is not already present (#3842) (cherry picked from commit d2dfbff) * Take space into consideration while calculating the first matched index (#3874) (cherry picked from commit a8d67a1) * Fix for File explorer not showing up and multiple notepads (#3969) * reverted the dedup code, file explorer shows up but so do duplicates * Fixed file explorer and dedup * Formatting * Added tests for all the cases * Formatting * Tests * take name and exe into consideration while calculating hash * unique primes while calculating hash code (cherry picked from commit 8cddd59)
Summary of the Pull Request
This was happening because of the way the
resource
was passed to theSHLoadIndirectString
function.For some apps like Camera, the resource is
LensSDK/Resources/AppTitle
whereas for most other applications it is justAppTitle
orAppDescription
and the code was written such that theresources
keyword would be prefixed. However, this does not work when there is a namespace with Resources already defined like in the case of the Camera app.Due to this the DisplayName and Description were not being retrived and hence the app was not displayed. Another app for which this was happening on my system is
XBox Console companion
.References
PR Checklist
Detailed Description of the Pull Request / Additional comments
resource
is present in theDisplayName
parameter of the Appmanifest.xml file, we do not add an extra resource string.Validation Steps Performed