Skip to content

Commit

Permalink
Clean up file type associations
Browse files Browse the repository at this point in the history
Including proper type for CSL
  • Loading branch information
dstillman committed Dec 19, 2021
1 parent 698bc87 commit 6e16f2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions mac/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@
<key>CFBundleTypeMIMETypes</key>
<array>
<string>application/x-research-info-systems</string>
<string>application/x-endnote-refer</string>
<string>text/x-research-info-systems</string>
<string>text/x-bibtex</string>
<string>application/x-bibtex</string>
<string>text/application/x-research-info-systems</string>
<string>text/ris</string>
<string>ris</string>
<string>application/x-endnote-refer</string>
</array>
<key>CFBundleTypeName</key>
<string>Research Information Systems Document</string>
Expand Down Expand Up @@ -126,7 +123,7 @@
<string>document.icns</string>-->
<key>CFBundleTypeMIMETypes</key>
<array>
<string>text/x-csl</string>
<string>application/vnd.citationstyles.style+xml</string>
</array>
<key>CFBundleTypeName</key>
<string>CSL Citation Style</string>
Expand Down
2 changes: 1 addition & 1 deletion win/installer/shared.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
ReadRegStr $6 SHCTX "Software\Classes\.csl" ""
${If} "$6" != "ZoteroCSL"
WriteRegStr SHCTX "Software\Classes\.csl" "" "ZoteroCSL"
WriteRegStr SHCTX "Software\Classes\.csl" "Content Type" "text/x-csl"
WriteRegStr SHCTX "Software\Classes\.csl" "Content Type" "application/vnd.citationstyles.style+xml"
${EndIf}
!macroend
!define SetHandlers "!insertmacro SetHandlers"
Expand Down

0 comments on commit 6e16f2e

Please sign in to comment.