Skip to content

Commit

Permalink
build on ubuntu 18.04
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Schwartz committed May 7, 2021
1 parent dbd1912 commit 69a1566
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/AppDir
/appimage-builder-cache
*.AppImage
/lotus
/lotus-miner
/lotus-worker
Expand Down
11 changes: 4 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,10 @@ api-gen:
.PHONY: api-gen

appimage: lotus
command -v appimage-builder || echo you must install appimage-builder && exit 1
command -v appimagetool || echo you must install appimagetool && exit 1
grep "Ubuntu 18.04" /etc/lsb-release || echo you are not running ubuntu 18.04, so this might not work. Try `appimage-builder --generate` if you run into problems.
rm -rf appimage-builder-cache
rm AppDir/io.filecoin.lotus.desktop
rm AppDir/icon.svg
rm Appdir/AppRun
rm -rf appimage-builder-cache || true
rm AppDir/io.filecoin.lotus.desktop || true
rm AppDir/icon.svg || true
rm Appdir/AppRun || true
mkdir -p AppDir/usr/bin
cp ./lotus AppDir/usr/bin/
appimage-builder
Expand Down

0 comments on commit 69a1566

Please sign in to comment.