nativeapps

package
v0.35.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0 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.

Documentation

Overview

Package nativeapps discovers installed applications supported by native launch adapters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BundleID

func BundleID(id string) (string, bool)

BundleID resolves a stable preference to its supported launch adapter.

func Resolve

func Resolve(ctx context.Context, bundleID string) (string, error)

Resolve verifies the registered application's path without generating an icon.

Types

type Application

type Application struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	BundleID    string `json:"bundleID"`
	Path        string `json:"path"`
	IconDataURL string `json:"iconDataURL"`
}

Application contains device-provided metadata for a supported terminal.

func Discover

func Discover(ctx context.Context) ([]Application, error)

Discover returns installed supported applications without sending Apple Events.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL