zemoto / WhatAmIHearing

App that will record system audio and send it off to the Shazam API to be identified. For when your phone's microphone just can't quite capture the song well enough for Shazam to figure it out.
MIT License
33 stars 0 forks source link

bug: opening from windows search #1

Closed hugo9655 closed 1 month ago

hugo9655 commented 2 months ago

At the moment, each time I open the app, settings don't save. Like for example when I uncheck the box thats enabled by default "keep open in system tray", it doesn't save the fact that I unchecked it on next launch.

zemoto commented 2 months ago

The app is made to save those settings, though there is one case I can think of where it would fail.

The settings are saved in the same folder as the app. If you put the app somewhere it does not have write permissions like Program Files then it would fail to save. I can get that case fixed real quick.

hugo9655 commented 2 months ago

Oh hang on I think I know what was happening. I was opening the exe via windows search, but opening it from the folder location works fine. Opening a shortcut to it via windows search also works. Strange.

zemoto commented 2 months ago

Ah, that does tell me that there is another issue. It's looking for the settings file via relative path, but that path is incorrect if you open it from Windows Search. So good find regardless.

hugo9655 commented 2 months ago

Ah ok then. Ig ill reopen for now.

zemoto commented 1 month ago

Fixed and released: https://github.com/zemoto/WhatAmIHearing/releases/tag/2.20