wails/v3/internal/capabilities/capabilities_linux.go
Lea Anthony fe29d1405e Add Linux stubs for badge service and fix capabilities compilation
- Add badge_linux.go with no-op implementation for Linux compatibility
- Fix capabilities_linux.go to not require webkit version detection
- Add missing build tag to webkit_linux.go

Resolves "undefined: badge.NewWithOptions" and "undefined: badge.New" errors
that were causing Linux build failures in GitHub Actions for badge examples.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-11 23:45:34 +10:00

11 lines
237 B
Go

//go:build linux
package capabilities
func NewCapabilities() Capabilities {
c := Capabilities{}
// For now, assume Linux has native drag support
// TODO: Implement proper WebKit version detection
c.HasNativeDrag = true
return c
}