Skip to content

Commit

Permalink
Fix deb build for Ubuntu by adding userfile to .pro
Browse files Browse the repository at this point in the history
- Accidentally forgot to add user.db to the Qt project, which led to search and view history not being saved when installing with deb.
  • Loading branch information
aaronhktan committed May 26, 2020
1 parent 6f42e7f commit ce8a07a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/jyut-dict/jyut-dict.pro
Expand Up @@ -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
}
Expand Down

0 comments on commit ce8a07a

Please sign in to comment.