This commit is contained in:
parent
f7cc47cc6c
commit
561bec4386
|
@ -11,6 +11,7 @@
|
||||||
*.sln.docstates
|
*.sln.docstates
|
||||||
*.deb
|
*.deb
|
||||||
|
|
||||||
|
*.zip
|
||||||
# User-specific files (MonoDevelop/Xamarin Studio)
|
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||||
*.userprefs
|
*.userprefs
|
||||||
|
|
||||||
|
|
13
README.md
13
README.md
|
@ -2,14 +2,19 @@
|
||||||
|
|
||||||
Record webcam in steps
|
Record webcam in steps
|
||||||
|
|
||||||
# Compile for everything
|
# Compile for everything (Windows/Linux)
|
||||||
./create.sh
|
./createAll.sh
|
||||||
|
|
||||||
# Compile for Windows
|
# Compile for Windows
|
||||||
electronize build /target win /p:PublishReadyToRun=false
|
electronize build /target win /p:PublishReadyToRun=false or
|
||||||
|
buildWin.bat or ./createWin.sh
|
||||||
|
|
||||||
# Compile for Mac OS
|
# Compile for Mac OS
|
||||||
electronize build /target osx /p:PublishReadyToRun=false
|
electronize build /target osx /p:PublishReadyToRun=false
|
||||||
|
|
||||||
# Compile for Linux
|
# Compile for Linux
|
||||||
electronize build /target linux /p:PublishReadyToRun=false
|
electronize build /target linux /p:PublishReadyToRun=false or
|
||||||
|
./createLinux.sh
|
||||||
|
|
||||||
|
# The logo
|
||||||
|
![Logo](desktop.ico "timelapse logo")
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
cd Timelapse
|
||||||
|
|
||||||
|
electronize build /target custom "linux-x64;linux" /electron-arch x64
|
||||||
|
electronize build /target custom "linux-arm;linux" /electron-arch armv7l
|
||||||
|
electronize build /target custom "linux-arm64;linux" /electron-arch arm64
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
cd Timelapse
|
||||||
|
electronize build /target win /p:PublishReadyToRun=false
|
||||||
|
electronize build /target osx /p:PublishReadyToRun=false
|
||||||
|
electronize build /target linux
|
|
@ -1,4 +1,5 @@
|
||||||
|
@echo off
|
||||||
|
cd Timelapse
|
||||||
electronize build /target custom "win-x86;win" /electron-arch ia32 /p:PublishReadyToRun=false
|
electronize build /target custom "win-x86;win" /electron-arch ia32 /p:PublishReadyToRun=false
|
||||||
electronize build /target custom "win-x64;win" /electron-arch x64 /p:PublishReadyToRun=false
|
electronize build /target custom "win-x64;win" /electron-arch x64 /p:PublishReadyToRun=false
|
||||||
|
|
||||||
|
@ -6,8 +7,5 @@ electronize build /target custom "win10-x86;win" /electron-arch ia32 /p:PublishR
|
||||||
electronize build /target custom "win10-x64;win" /electron-arch x64 /p:PublishReadyToRun=true
|
electronize build /target custom "win10-x64;win" /electron-arch x64 /p:PublishReadyToRun=true
|
||||||
electronize build /target custom "win-arm;win" /electron-arch armv7l /p:PublishReadyToRun=false
|
electronize build /target custom "win-arm;win" /electron-arch armv7l /p:PublishReadyToRun=false
|
||||||
electronize build /target custom "win10-arm;win" /electron-arch armv7l /p:PublishReadyToRun=false
|
electronize build /target custom "win10-arm;win" /electron-arch armv7l /p:PublishReadyToRun=false
|
||||||
electronize build /target custom "win10-arm64;win" /electron-arch arm64 /p:PublishReadyToRun=true
|
electronize build /target custom "win10-arm64;win" /electron-arch arm64 /p:PublishReadyToRun=false
|
||||||
|
cd ..
|
||||||
electronize build /target custom "linux-x64;linux" /electron-arch x64
|
|
||||||
electronize build /target custom "linux-arm;linux" /electron-arch armv7l
|
|
||||||
electronize build /target custom "linux-arm64;linux" /electron-arch arm64
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
#!/bin/bash
|
||||||
|
cd Timelapse
|
||||||
|
electronize build /target custom "win-x86;win" /electron-arch ia32 /p:PublishReadyToRun=false
|
||||||
|
electronize build /target custom "win-x64;win" /electron-arch x64 /p:PublishReadyToRun=false
|
||||||
|
|
||||||
|
electronize build /target custom "win10-x86;win" /electron-arch ia32 /p:PublishReadyToRun=false
|
||||||
|
electronize build /target custom "win10-x64;win" /electron-arch x64 /p:PublishReadyToRun=true
|
||||||
|
electronize build /target custom "win-arm;win" /electron-arch armv7l /p:PublishReadyToRun=false
|
||||||
|
electronize build /target custom "win10-arm;win" /electron-arch armv7l /p:PublishReadyToRun=false
|
||||||
|
electronize build /target custom "win10-arm64;win" /electron-arch arm64 /p:PublishReadyToRun=false
|
||||||
|
|
||||||
|
#Usage: msi-packager <source> <output> [options]
|
||||||
|
|
||||||
|
#source Directory containing app to package
|
||||||
|
#output write output .msi to this path
|
||||||
|
|
||||||
|
#Options:
|
||||||
|
# -n, --name
|
||||||
|
# -v, --version Specify application version
|
||||||
|
# -m, --manufacturer
|
||||||
|
# -a, --arch Specify the target architecture: x86 or x64 (optional)
|
||||||
|
# -u, --upgrade-code Specify GUID to use for upgrading from other versions
|
||||||
|
# -i, --icon Specify an icon to use on shortcuts and installer
|
||||||
|
# -e, --executable Specify file to create shortcuts for
|
||||||
|
# -l, --local Install per user (no administrator rights required)
|
||||||
|
|
||||||
|
#msi-packager "bin/Desktop/win-unpacked/" "../timelapsenow_1.0.0_setup-win64.msi" --icon ../desktop.ico --executable Timelapse.exe --version 1.0.0.0 --manufacturer Tesses --upgrade-code "{ee77af57-c962-4b61-a211-d4c1f08fe30f}" --arch x64 --name TimelapseNow
|
||||||
|
#msi-packager "bin/Desktop/win-ia32-unpacked/" "../timelapsenow_1.0.0_setup-win32.msi" --icon ../desktop.ico --executable Timelapse.exe --version 1.0.0.0 --manufacturer Tesses --upgrade-code "{ee77af57-c962-4b61-a211-d4c1f08fe30f}" --arch x86 --name TimelapseNow
|
||||||
|
#msi-packager "bin/Desktop/win10-unpacked/" "../timelapsenow_1.0.0_setup-win10-64.msi" --icon ../desktop.ico --executable Timelapse.exe --version 1.0.0.0 --manufacturer Tesses --upgrade-code "{ee77af57-c962-4b61-a211-d4c1f08fe30f}" --arch x64 --name TimelapseNow
|
||||||
|
#si-packager "bin/Desktop/win10-ia32-unpacked/" "../timelapsenow_1.0.0_setup-win10-32.msi" --icon ../desktop.ico --executable Timelapse.exe --version 1.0.0.0 --manufacturer Tesses --upgrade-code "{ee77af57-c962-4b61-a211-d4c1f08fe30f}" --arch x86 --name TimelapseNow
|
16
create.sh
16
create.sh
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
export ARCHITECTURE=amd64
|
|
||||||
cd Timelapse
|
|
||||||
electronize build /target win /p:PublishReadyToRun=false
|
|
||||||
electronize build /target osx /p:PublishReadyToRun=false
|
|
||||||
electronize build /target linux
|
|
||||||
|
|
||||||
rm -rf ../deb/usr/share/TimelapseNow/bin/
|
|
||||||
cp -r bin/Desktop/linux-unpacked/ ../deb/usr/share/TimelapseNow/bin/
|
|
||||||
echo "Package: timelapsenow" > ../deb/DEBIAN/control
|
|
||||||
echo "Version: 1.0.1" >> ../deb/DEBIAN/control
|
|
||||||
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
|
|
||||||
mv ../deb.deb ../timelapsenow_1.0.1_$ARCHITECTURE.deb
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
./createLinux.sh
|
||||||
|
./createWin.sh
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
./buildLinux.sh
|
||||||
|
./packageLinux.sh
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
./buildWin.sh
|
||||||
|
./packageWin.sh
|
|
@ -1,11 +1,7 @@
|
||||||
export ARCHITECTURE=amd64
|
|
||||||
cd Timelapse
|
|
||||||
rm -rf ../deb/usr/share/TimelapseNow/bin/
|
|
||||||
cp -r bin/Desktop/linux-unpacked/ ../deb/usr/share/TimelapseNow/bin/
|
|
||||||
echo "Package: timelapsenow" > ../deb/DEBIAN/control
|
echo "Package: timelapsenow" > ../deb/DEBIAN/control
|
||||||
echo "Version: 1.0.0" >> ../deb/DEBIAN/control
|
echo "Version: 1.0.0" >> ../deb/DEBIAN/control
|
||||||
echo "Architecture: $ARCHITECTURE" >> ../deb/DEBIAN/control
|
echo "Architecture: $1" >> ../deb/DEBIAN/control
|
||||||
echo "Maintainer: Michael Nolan <tesses50@tesses.cf>" >> ../deb/DEBIAN/control
|
echo "Maintainer: Michael Nolan <tesses50@tesses.cf>" >> ../deb/DEBIAN/control
|
||||||
echo "Description: Record In Steps" >> ../deb/DEBIAN/control
|
echo "Description: Record In Steps" >> ../deb/DEBIAN/control
|
||||||
dpkg-deb --build --root-owner-group ../deb
|
dpkg-deb --build --root-owner-group ../deb
|
||||||
mv ../deb.deb ../timelapsenow_1.0.0_$ARCHITECTURE.deb
|
mv ../deb.deb ../timelapsenow_1.0.0_$1.deb
|
|
@ -1,5 +1,5 @@
|
||||||
Package: timelapsenow
|
Package: timelapsenow
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Architecture: amd64
|
Architecture: arm64
|
||||||
Maintainer: Michael Nolan <tesses50@tesses.cf>
|
Maintainer: Michael Nolan <tesses50@tesses.cf>
|
||||||
Description: Record In Steps
|
Description: Record In Steps
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 254 KiB |
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
cd Timelapse
|
||||||
|
rm -rf ../deb/usr/share/TimelapseNow/bin/
|
||||||
|
cp -r bin/Desktop/linux-unpacked/ ../deb/usr/share/TimelapseNow/bin/
|
||||||
|
bash ../deb-arch.sh amd64
|
||||||
|
rm -rf ../deb/usr/share/TimelapseNow/bin/
|
||||||
|
cp -r bin/Desktop/linux-armv7l-unpacked/ ../deb/usr/share/TimelapseNow/bin/
|
||||||
|
bash ../deb-arch.sh armhf
|
||||||
|
rm -rf ../deb/usr/share/TimelapseNow/bin/
|
||||||
|
cp -r bin/Desktop/linux-arm64-unpacked/ ../deb/usr/share/TimelapseNow/bin/
|
||||||
|
bash ../deb-arch.sh arm64
|
|
@ -0,0 +1,5 @@
|
||||||
|
cd Timelapse/bin/Desktop/
|
||||||
|
zip -r ../../../timelapse_1.0.0_woa64.zip win-arm64-unpacked
|
||||||
|
zip -r ../../../timelapse_1.0.0_win32.zip win-ia32-unpacked
|
||||||
|
zip -r ../../../timelapse_1.0.0_win64.zip win-unpacked
|
||||||
|
cd ../../..
|
Loading…
Reference in New Issue