Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Sep 5, 2024
1 parent 6308532 commit c58ed2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
declare const Zotero: any

export const is7 = Zotero.platformMajorVersion >= 102
export const platform = ['Win', 'Mac', 'Linux'].find(n => Zotero[`is${n}`]) || 'Unknown',
export const platform = ['Win', 'Mac', 'Linux'].find(n => Zotero[`is${n}`]) || 'Unknown'
export const client = Zotero.clientName.toLowerCase().replace('-', '')

0 comments on commit c58ed2d

Please sign in to comment.