Closed eugene-babichenko closed 4 years ago
@eugene-babichenko thank you for the PR. @ammgws do you have windows setup handy to test this? would be nice to have at least a 2nd person testing before publishing. thanks!
@franciscolourenco I should be able to get access to a windows machine sometime this week.
OK so it looks like the window state detection is working fine (doesn't notify if window is focused), however notifications aren't working:
I'm guessing it's because the variables to BurntToast aren't being expanded due to the code block being in single quotes.
Can confirm it works when fixed to use double quotes.
Thank you for the awesome contribution!
__done_get_focused_window_id
on WSL as a PowerShell script.command "$powershell_exe"
witheval
because a variable cannot be used as a command path.-Silent
option of BurntToast when__done_notify_sound
is set to zero.