This commit is contained in:
Mike Nolan 2021-12-28 02:50:43 -06:00
parent 11846a9356
commit a7bee9d397
8 changed files with 31 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -61,8 +61,8 @@ namespace Timelapse
endpoints.MapBlazorHub(); endpoints.MapBlazorHub();
endpoints.MapFallbackToPage("/_Host"); endpoints.MapFallbackToPage("/_Host");
}); });
Electron.Tray.Show("/Assets/desktop.png");
// Electron.Menu.SetApplicationMenu(new ElectronNET.API.Entities.MenuItem[]{}); Electron.Menu.SetApplicationMenu(new ElectronNET.API.Entities.MenuItem[]{});
Task.Run(async () =>{ Task.Run(async () =>{
await Electron.WindowManager.CreateWindowAsync(); }); await Electron.WindowManager.CreateWindowAsync(); });

View File

@ -18,4 +18,9 @@
<PropertyGroup> <PropertyGroup>
<PublishReadyToRun>false</PublishReadyToRun> <PublishReadyToRun>false</PublishReadyToRun>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<None Update="Assets\Stock-Person.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project> </Project>

View File

@ -1,5 +1,16 @@
#!/bin/bash #!/bin/bash
export ARCHITECTURE=amd64
cd Timelapse cd Timelapse
electronize build /target win /p:PublishReadyToRun=false electronize build /target win /p:PublishReadyToRun=false
electronize build /target osx /p:PublishReadyToRun=false electronize build /target osx /p:PublishReadyToRun=false
electronize build /target linux /p:PublishReadyToRun=false electronize build /target linux /p:PublishReadyToRun=false
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" >> ../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

BIN
deb.deb Normal file

Binary file not shown.

5
deb/DEBIAN/control Normal file
View File

@ -0,0 +1,5 @@
Package: timelapsenow
Version: 1.0
Architecture: amd64
Maintainer: Michael Nolan <tesses50@tesses.cf>
Description: Record In Steps

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=/usr/bin/timelapsenow
Name=Timelapse Now
Icon=/usr/share/TimelapseNow/desktop.png