timelapse/create.sh

17 lines
706 B
Bash
Raw Normal View History

2021-12-28 07:58:42 +00:00
#!/bin/bash
2021-12-28 08:50:43 +00:00
export ARCHITECTURE=amd64
2021-12-28 07:58:42 +00:00
cd Timelapse
electronize build /target win /p:PublishReadyToRun=false
electronize build /target osx /p:PublishReadyToRun=false
2021-12-30 04:07:31 +00:00
electronize build /target linux
2021-12-28 08:50:43 +00:00
rm -rf ../deb/usr/share/TimelapseNow/bin/
cp -r bin/Desktop/linux-unpacked/ ../deb/usr/share/TimelapseNow/bin/
echo "Package: timelapsenow" > ../deb/DEBIAN/control
2021-12-30 04:07:31 +00:00
echo "Version: 1.0.1" >> ../deb/DEBIAN/control
2021-12-28 08:50:43 +00:00
echo "Architecture: $ARCHITECTURE" >> ../deb/DEBIAN/control
echo "Maintainer: Michael Nolan <tesses50@tesses.cf>" >> ../deb/DEBIAN/control
echo "Description: Record In Steps" >> ../deb/DEBIAN/control
dpkg-deb --build --root-owner-group ../deb
2021-12-30 04:07:31 +00:00
mv ../deb.deb ../timelapsenow_1.0.1_$ARCHITECTURE.deb