commit
afee62bc3d
3 changed files with 21 additions and 1 deletions
9
.gitignore
vendored
9
.gitignore
vendored
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
# Debian packaging stuff
|
||||
.cargo
|
||||
vendor/
|
||||
vendor.tar
|
||||
*.xz
|
||||
*.deb
|
||||
|
|
@ -19,3 +20,11 @@ vendor.tar
|
|||
*.deb.tar.*
|
||||
*.buildinfo
|
||||
*.build
|
||||
debian/*
|
||||
!debian/*install
|
||||
!debian/*postinst
|
||||
!debian/changelog
|
||||
!debian/control
|
||||
!debian/links
|
||||
!debian/rules
|
||||
!debian/source
|
||||
4
debian/control
vendored
4
debian/control
vendored
|
|
@ -15,6 +15,8 @@ Architecture: amd64 arm64
|
|||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
cosmic-comp,
|
||||
cosmic-panel,
|
||||
cosmic-comp
|
||||
cosmic-applet-host,
|
||||
cosmic-applets,
|
||||
Description: The session for the COSMIC desktop
|
||||
|
|
|
|||
|
|
@ -77,6 +77,15 @@ async fn main() -> Result<()> {
|
|||
env,
|
||||
vec![fd],
|
||||
);
|
||||
let (env, fd) = comp::create_privileged_socket(&mut sockets, &env_vars).wrap_err("failed to create applet host")?;
|
||||
generic::run_executable(
|
||||
token.child_token(),
|
||||
info_span!(parent: None, "cosmic-applet-host"),
|
||||
"cosmic-applet-host",
|
||||
vec![],
|
||||
env,
|
||||
vec![fd]
|
||||
);
|
||||
socket_tx.send(sockets).unwrap();
|
||||
|
||||
let (exit_tx, exit_rx) = oneshot::channel();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue