mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
- 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>
11 lines
237 B
Go
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
|
|
}
|