Skip to content

Commit 258fd63

Browse files
fix(clipshot): hopefully fix platform detection
1 parent 6ea90d7 commit 258fd63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clipshot.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if lib == 'so' then -- Linux/BSD
1818
local type = o.type ~= '' and o.type or 'image/jpeg'
1919
cmd = {'xclip', '-sel', 'c', '-t', type, '-i', file}
2020
end
21-
elseif lib == 'dll' then -- Windows
21+
elseif lib ~= 'dylib' then -- Windows
2222
file = os.getenv('TEMP')..'\\'..o.name
2323
cmd = {
2424
'powershell', '-NoProfile', '-Command', ([[& {

0 commit comments

Comments
 (0)