jabref: disable check update

This commit is contained in:
linsui 2023-09-06 20:05:49 +08:00
parent 0bffda19b8
commit 668ba741fa

@ -93,6 +93,11 @@ stdenv.mkDerivation rec {
'org.jabref:afterburner.fx:${versionReplace.afterburner.pin}' \
--replace 'com.tobiasdiez:easybind:${versionReplace.easybind.snapshot}' \
'com.tobiasdiez:easybind:${versionReplace.easybind.pin}'
# Disable update check
substituteInPlace src/main/java/org/jabref/preferences/JabRefPreferences.java \
--replace 'VERSION_CHECK_ENABLED, Boolean.TRUE' \
'VERSION_CHECK_ENABLED, Boolean.FALSE'
'';
preBuild = ''