espanso: fix accessibility permissions prompt for macos (#8180)
On macos 26 it seems that one has to run the binary from within the application bundle to get the Accessibility prompt to work as expected fixes https://github.com/nix-community/home-manager/issues/8179
This commit is contained in:
parent
10cfa0099b
commit
d10a9b16b2
2 changed files with 2 additions and 2 deletions
|
|
@ -205,7 +205,7 @@ in
|
|||
enable = true;
|
||||
config = {
|
||||
ProgramArguments = [
|
||||
"${cfg.package}/bin/espanso"
|
||||
"${cfg.package}/Applications/Espanso.app/Contents/MacOS/espanso"
|
||||
"launcher"
|
||||
];
|
||||
EnvironmentVariables.PATH = "${cfg.package}/bin:/usr/bin:/bin:/usr/sbin:/sbin";
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
<string>org.nix-community.home.espanso</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>@espanso@/bin/espanso</string>
|
||||
<string>@espanso@/Applications/Espanso.app/Contents/MacOS/espanso</string>
|
||||
<string>launcher</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue