Fix
This commit is contained in:
parent
11846a9356
commit
a7bee9d397
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
|
@ -61,8 +61,8 @@ namespace Timelapse
|
|||
endpoints.MapBlazorHub();
|
||||
endpoints.MapFallbackToPage("/_Host");
|
||||
});
|
||||
|
||||
// Electron.Menu.SetApplicationMenu(new ElectronNET.API.Entities.MenuItem[]{});
|
||||
Electron.Tray.Show("/Assets/desktop.png");
|
||||
Electron.Menu.SetApplicationMenu(new ElectronNET.API.Entities.MenuItem[]{});
|
||||
Task.Run(async () =>{
|
||||
|
||||
await Electron.WindowManager.CreateWindowAsync(); });
|
||||
|
|
|
@ -18,4 +18,9 @@
|
|||
<PropertyGroup>
|
||||
<PublishReadyToRun>false</PublishReadyToRun>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Update="Assets\Stock-Person.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
11
create.sh
11
create.sh
|
@ -1,5 +1,16 @@
|
|||
#!/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 /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
|
|
@ -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 |
|
@ -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
|
Loading…
Reference in New Issue