Skip to content

Commit

Permalink
Merge branch 'master' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk committed Jan 10, 2020
2 parents f372cf3 + 70261d9 commit d097534
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
15 changes: 11 additions & 4 deletions scripts/pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,19 @@ target.linux = (args = ['bz2']) => {

rm('-rf', appdir)
cp('-r', src, appdir)
mkdir('-p', `${appdir}/usr/share`)
mv(`${appdir}/icons`, `${appdir}/usr/share/icons`)
mv(`${appdir}/mime`, `${appdir}/usr/share/mime`)

cd(appdir)

ln('-s', qualified.name, 'AppRun')
cp(`./icons/hicolor/256x256/apps/${qualified.name}.png`, '.DirIcon')
cp(`./icons/hicolor/scalable/apps/${qualified.name}.svg`, '.')
mkdir('-p', 'usr/share')
mv('icons', 'usr/share/icons')
ln('-s',
`usr/share/icons/hicolor/256x256/apps/${qualified.name}.png`,
'.DirIcon')
ln('-s',
`usr/share/icons/hicolor/scalable/apps/${qualified.name}.svg`,
`${qualified.name}.svg`)
cd('-')

const dst = join(dist, `${product}-${version}-x86_64.AppImage`)
Expand Down
2 changes: 1 addition & 1 deletion src/common/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class Database extends EventEmitter {

if (ms < 100)
trace({ msg, query, ms })
if (ms < 200)
else if (ms < 200)
info({ msg, query, ms })
else
warn({ query, ms }, `SLOW: ${msg}`)
Expand Down

0 comments on commit d097534

Please sign in to comment.