Discover Packages
encr.dev
pkg
desktop
package
Version:
v1.58.8
Opens a new window with list of versions in this module.
Published: Oct 20, 2026
License: MPL-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Package desktop opens files and folders through the desktop environment of the
machine the Encore daemon runs on.
It exists for the developer dashboard's "open" and "reveal in file manager"
actions.
View Source
var ErrNoDesktop = errors .New ("this machine has no desktop environment to open files in")
ErrNoDesktop reports that this machine has no desktop environment.
Open launches path with the program the operating system has registered for it.
The program is detached from the daemon, so it outlives it.
Reveal opens the file manager showing the directory holding path, with path
selected. It accepts both files and directories.
Selecting the item isn't possible on every platform; see the platform files.
Supported reports whether Open and Reveal can do anything on this machine.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.