Skip to content

Commit

Permalink
hs.spaces now explicitly finds the com.apple.dock bundle, rather than…
Browse files Browse the repository at this point in the history
… searching for 'Dock' which can match 'Docker'. Closes #3170
  • Loading branch information
cmsj committed Mar 29, 2022
1 parent 019d376 commit c6855da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/spaces/spaces.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ local getDockExitTemplates = function()
-- make a copy since preferredLanguages uses ls.makeConstantsTable for "friendly" display in console
localesToSearch = table.move(localesToSearch, 1, #localesToSearch, 1, {})
table.insert(localesToSearch, host.locale.current())
local path = application("Dock"):path() .. "/Contents/Resources"
local path = application.applicationsForBundleID("com.apple.dock")[1]:path() .. "/Contents/Resources"

local locale = ""
while #localesToSearch > 0 do
Expand Down

0 comments on commit c6855da

Please sign in to comment.