From ce8a07a2ff8031b47e6a34aa87bccdb11944b73a Mon Sep 17 00:00:00 2001 From: Aaron Tan Date: Tue, 26 May 2020 04:05:18 -0400 Subject: [PATCH] Fix deb build for Ubuntu by adding userfile to .pro - Accidentally forgot to add user.db to the Qt project, which led to search and view history not being saved when installing with deb. --- src/jyut-dict/jyut-dict.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jyut-dict/jyut-dict.pro b/src/jyut-dict/jyut-dict.pro index 21743e52..b78e5ef9 100644 --- a/src/jyut-dict/jyut-dict.pro +++ b/src/jyut-dict/jyut-dict.pro @@ -278,12 +278,15 @@ unix:!macx { binfile.CONFIG += no_check_exist dictfile.files += resources/db/dict.db dictfile.path = /usr/share/jyut-dict/dictionaries/ + userfile.files += resources/db/user.db + userfile.path = /usr/share/jyut-dict/dictionaries/ shortcutfiles.files += platform/linux/jyut-dict.desktop shortcutfiles.path = /usr/share/applications/ icon.files += resources/icon/jyut-dict.svg icon.path = /usr/share/icons/hicolor/scalable/apps/ INSTALLS += binfile INSTALLS += dictfile + INSTALLS += userfile INSTALLS += shortcutfiles INSTALLS += icon }