Skip to content

Commit ce8a07a

Browse files
committed
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.
1 parent 6f42e7f commit ce8a07a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/jyut-dict/jyut-dict.pro

+3
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,15 @@ unix:!macx {
278278
binfile.CONFIG += no_check_exist
279279
dictfile.files += resources/db/dict.db
280280
dictfile.path = /usr/share/jyut-dict/dictionaries/
281+
userfile.files += resources/db/user.db
282+
userfile.path = /usr/share/jyut-dict/dictionaries/
281283
shortcutfiles.files += platform/linux/jyut-dict.desktop
282284
shortcutfiles.path = /usr/share/applications/
283285
icon.files += resources/icon/jyut-dict.svg
284286
icon.path = /usr/share/icons/hicolor/scalable/apps/
285287
INSTALLS += binfile
286288
INSTALLS += dictfile
289+
INSTALLS += userfile
287290
INSTALLS += shortcutfiles
288291
INSTALLS += icon
289292
}

0 commit comments

Comments
 (0)