diff --git a/Makefile b/Makefile index 4012956..b05cbd9 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,12 @@ all: package package: target/release/upend ui/dist/index.html rm -fr dist - mkdir dist - cp target/release/upend dist/upend - cp -r ui/dist dist/webui + linuxdeploy-x86_64.AppImage --appdir dist + cp target/release/upend dist/usr/bin/upend + cp -r ui/dist dist/usr/bin/webui + cp upend.png dist/usr/share/icons/upend.png + VERSION="$$(grep '^version' Cargo.toml|grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')" \ + linuxdeploy-x86_64.AppImage --appdir dist -d upend.desktop --output appimage backend: target/release/upend diff --git a/upend.desktop b/upend.desktop new file mode 100644 index 0000000..1594e26 --- /dev/null +++ b/upend.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Categories=Utility +Terminal=false +Exec=upend +Name=UpEnd +Icon=upend