diff --git a/Timelapse/Assets/desktop.png b/Timelapse/Assets/desktop.png
new file mode 100644
index 0000000..215b933
Binary files /dev/null and b/Timelapse/Assets/desktop.png differ
diff --git a/Timelapse/Startup.cs b/Timelapse/Startup.cs
index 96c6c31..cdd48eb 100644
--- a/Timelapse/Startup.cs
+++ b/Timelapse/Startup.cs
@@ -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(); });
diff --git a/Timelapse/Timelapse.csproj b/Timelapse/Timelapse.csproj
index 7d815b2..24d45a5 100644
--- a/Timelapse/Timelapse.csproj
+++ b/Timelapse/Timelapse.csproj
@@ -18,4 +18,9 @@
false
+
+
+ PreserveNewest
+
+
\ No newline at end of file
diff --git a/create.sh b/create.sh
index 91b4685..a3ad92a 100755
--- a/create.sh
+++ b/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 " >> ../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
\ No newline at end of file
diff --git a/deb.deb b/deb.deb
new file mode 100644
index 0000000..2886aed
Binary files /dev/null and b/deb.deb differ
diff --git a/deb/DEBIAN/control b/deb/DEBIAN/control
new file mode 100644
index 0000000..f9d2694
--- /dev/null
+++ b/deb/DEBIAN/control
@@ -0,0 +1,5 @@
+Package: timelapsenow
+Version: 1.0
+Architecture: amd64
+Maintainer: Michael Nolan
+Description: Record In Steps
diff --git a/deb/usr/share/TimelapseNow/desktop.png b/deb/usr/share/TimelapseNow/desktop.png
new file mode 100644
index 0000000..215b933
Binary files /dev/null and b/deb/usr/share/TimelapseNow/desktop.png differ
diff --git a/deb/usr/share/applications/TimelapseNow.desktop b/deb/usr/share/applications/TimelapseNow.desktop
new file mode 100755
index 0000000..695f9dd
--- /dev/null
+++ b/deb/usr/share/applications/TimelapseNow.desktop
@@ -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