better linux launcher description

This commit is contained in:
j 2016-01-09 16:25:49 +05:30
commit 5c6d39952b
2 changed files with 7 additions and 1 deletions

View file

@ -202,6 +202,11 @@ def upgrade_db(old, new=None):
with db.session():
import item.models
item.models.Find.query.filter_by(key='list').delete()
if old <= '20160109-573-094097b' and new > '20160109-573-094097b':
import sys
if sys.platform.startswith('linux'):
import integration
integration.install_xdg()
if old <= '20140527-120-3cb9819':
run_sql('CREATE INDEX ix_find_findvalue ON find (findvalue)')