Skip to content

Commit 978ccd3

Browse files
committed
build: fixed _internal path
1 parent d84b179 commit 978ccd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/package/package-deb.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jdupes -L -r -S -Xsize-:1K $PKGDIR/opt/
4646
sudo chown -R root:root $PKGDIR
4747

4848
# Prepare the .desktop file
49-
sudo sed -i 's!Exec=aw-qt!Exec=/opt/activitywatch/aw-qt!' $PKGDIR/opt/activitywatch/aw-qt.desktop
50-
sudo cp $PKGDIR/opt/activitywatch/aw-qt.desktop $PKGDIR/etc/xdg/autostart/
51-
sudo cp $PKGDIR/opt/activitywatch/aw-qt.desktop $PKGDIR/usr/share/applications/
49+
sudo sed -i 's!Exec=aw-qt!Exec=/opt/activitywatch/aw-qt!' $PKGDIR/opt/activitywatch/_internal/aw-qt.desktop
50+
sudo cp $PKGDIR/opt/activitywatch/_internal/aw-qt.desktop $PKGDIR/etc/xdg/autostart/
51+
sudo cp $PKGDIR/opt/activitywatch/_internal/aw-qt.desktop $PKGDIR/usr/share/applications/
5252

5353
dpkg-deb --build $PKGDIR
5454
sudo mv activitywatch_${VERSION_NUM}.deb dist/activitywatch-${VERSION}-linux-x86_64.deb

0 commit comments

Comments
 (0)