Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readd file associations #5625

Merged
merged 4 commits into from
Nov 19, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,8 @@ jlink {
'--win-dir-chooser',
'--win-shortcut',
'--temp', "$buildDir/installer",
'--resource-dir', "${projectDir}/buildres/windows"
'--resource-dir', "${projectDir}/buildres/windows",
'--file-associations', "${projectDir}/buildres/windows/bibtexAssociations.properties"
]
}

Expand All @@ -635,7 +636,8 @@ jlink {
'--linux-rpm-license-type', 'MIT',
// '--license-file', "${projectDir}/LICENSE.md",
'--description', 'JabRef is an open source bibliography reference manager. The native file format used by JabRef is BibTeX, the standard LaTeX bibliography format.',
'--linux-shortcut'
'--linux-shortcut',
'--file-associations', "${projectDir}/buildres/linux/bibtexAssociations.properties"
]
}

Expand All @@ -645,7 +647,8 @@ jlink {
]
installerOptions = [
'--vendor', 'JabRef',
'--app-version', "${project.version}"
'--app-version', "${project.version}",
'--file-associations', "${projectDir}/buildres/mac/bibtexAssociations.properties"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Exec=APPLICATION_LAUNCHER
Icon=APPLICATION_ICON
Terminal=false
Type=Application
MimeType=text/x-bibtex;
MimeType=DESKTOP_MIMES
tobiasdiez marked this conversation as resolved.
Show resolved Hide resolved
Categories=DEPLOY_BUNDLE_CATEGORY
Keywords=bibtex;biblatex;latex;bibliography
StartupWMClass=org-jabref-JabRefMain
StartupWMClass=org-jabref-JabRefMain
4 changes: 4 additions & 0 deletions buildres/linux/bibtexAssociations.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
extension=bib
mime-type=text/x-bibtex
description=BibTeX File
icon=JabRef-icon-64.png
4 changes: 4 additions & 0 deletions buildres/mac/bibtexAssociations.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
extension=bib
mime-type=text/x-bibtex
description=BibTeX File
icon=jabref.icns
4 changes: 4 additions & 0 deletions buildres/windows/bibtexAssociations.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
extension=bib
mime-type=text/x-bibtex
description=BibTeX File
icon=JabRef.ico