bazzite

package
v2.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Platform

type Platform struct {
	*linuxbase.Base
	// contains filtered or unexported fields
}

Platform implements the Bazzite gaming platform. Bazzite is a Fedora Atomic distro with extensive gaming optimizations, pre-installed Steam and Lutris, and Heroic available via Flatpak.

func NewPlatform added in v2.8.0

func NewPlatform() *Platform

NewPlatform creates a new Bazzite platform instance.

func (*Platform) LaunchMedia

func (p *Platform) LaunchMedia(
	cfg *config.Instance,
	path string,
	launcher *platforms.Launcher,
	db *database.Database,
	opts *platforms.LaunchOptions,
) error

LaunchMedia launches media using the appropriate launcher.

func (*Platform) Launchers

func (p *Platform) Launchers(cfg *config.Instance) []platforms.Launcher

Launchers returns the available launchers for Bazzite. Bazzite supports Steam (native/Flatpak), Lutris (pre-installed), Heroic (Flatpak via Bazaar), WebBrowser, and Generic scripts.

func (*Platform) Settings

func (*Platform) Settings() platforms.Settings

Settings returns XDG-based settings for Bazzite.

func (*Platform) StartPost

func (p *Platform) StartPost(
	cfg *config.Instance,
	launcherManager platforms.LauncherContextManager,
	activeMedia func() *models.ActiveMedia,
	setActiveMedia func(*models.ActiveMedia),
	db *database.Database,
) error

StartPost initializes the platform after service startup. Starts the game tracker to monitor Steam game lifecycle.

func (*Platform) Stop

func (p *Platform) Stop() error

Stop stops the platform and cleans up resources.

func (*Platform) SupportedReaders

func (p *Platform) SupportedReaders(cfg *config.Instance) []readers.Reader

SupportedReaders returns the list of enabled readers for Bazzite.

Jump to

Keyboard shortcuts

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