Skip to content

Commit

Permalink
fix(clipshot): hopefully fix platform detection
Browse files Browse the repository at this point in the history
  • Loading branch information
ObserverOfTime committed Jul 27, 2023
1 parent 6ea90d7 commit 258fd63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clipshot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if lib == 'so' then -- Linux/BSD
local type = o.type ~= '' and o.type or 'image/jpeg'
cmd = {'xclip', '-sel', 'c', '-t', type, '-i', file}
end
elseif lib == 'dll' then -- Windows
elseif lib ~= 'dylib' then -- Windows
file = os.getenv('TEMP')..'\\'..o.name
cmd = {
'powershell', '-NoProfile', '-Command', ([[& {
Expand Down

0 comments on commit 258fd63

Please sign in to comment.