Initial Debian package for PostIt.Desktop (yavsc)

This commit is contained in:
Paul Schneider 2026-06-28 00:10:15 +01:00
commit 9703ebf4dd
13 changed files with 421 additions and 0 deletions

14
debian/postit.wrapper vendored Normal file
View file

@ -0,0 +1,14 @@
#!/bin/sh
# Wrapper installed at /usr/bin/postit.
#
# PostIt.Desktop publishes to a directory of managed .NET
# assemblies (PostIt.Desktop.dll + runtimeconfig.json +
# Avalonia*.dll + dependencies). The dotnet host resolves
# the runtime config relative to the assembly path, so we
# can call PostIt.Desktop.dll directly from any cwd.
#
# /usr/lib/postit/ is owned by the postit package (see
# debian/postit.install) and is not user-writable, so the
# wrapper does not need to defensively check its location.
exec dotnet /usr/lib/postit/PostIt.Desktop.dll "$@"