Skip to content

Bundling Dropbox

probonopd edited this page Aug 7, 2014 · 2 revisions
mkdir -p dropbox/dropbox.AppDir

cd dropbox

wget -c "https://d1ilhw0800yew8.cloudfront.net/client/dropbox-lnx.x86_64-2.11.0.tar.gz"

cd dropbox.AppDir

tar xfvz ../dropbox-lnx.*.tar.gz
mv .dropbox-dist/* .
rm -r .dropbox-dist/

wget "https://lh3.googleusercontent.com/-vVaYi2VUaJ0/AAAAAAAAAAI/AAAAAAAABx0/lDvtNjUN4R8/photo.jpg?sz=48" -O dropbox.png

# Convert to png
sudo apt-get install imagemagick
mogrify dropbox.png

mv dropboxd AppRun

cat > dropbox.desktop <<EOF
[Desktop Entry]
Name=Dropbox
Icon=dropbox
Exec=AppRun
Categories=Internet;
EOF

cd ..

./AppImageAssistant* dropbox.AppDir/ dropbox.AppImage