Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions AppImage-package/bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@ cd $HOME/$APP/
wget -q https://github.com/probonopd/AppImages/raw/master/functions.sh -O ./functions.sh
. ./functions.sh

URLS=$(apt-get install -qq --reinstall --print-uris python-tk | cut -d "'" -f 2)
wget $URLS

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you downloading the .deb file then extracting it below, why not just copy the already installed files?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently this didn't work. (It was working when I was still using sudo apt-get inside the script.) Now removing python-tk from .travis.yml, let's see if it works then

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not make much sense, why the place of the apt-get calls makes any difference?


cd $APP.AppDir

########################################################################
# Copy desktop and icon file to AppDir for AppRun to pick them up
########################################################################

find ../*.deb -exec dpkg -x {} . \;

get_apprun

find . -name *desktop -exec cp {} $LOWERAPP.desktop \;
Expand Down