mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 08:10:55 +00:00
16 lines
283 B
Go
16 lines
283 B
Go
//go:build !darwin
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/GopeedLab/gopeed/internal/webview/goprovider"
|
|
"github.com/GopeedLab/gopeed/pkg/rest/model"
|
|
)
|
|
|
|
func applyWebViewProvider(config *model.StartConfig) {
|
|
if config == nil {
|
|
return
|
|
}
|
|
config.WebViewProvider = goprovider.New()
|
|
}
|