mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 02:19:43 +08:00
21 lines
583 B
Go
21 lines
583 B
Go
//go:build darwin
|
|
// +build darwin
|
|
|
|
package desktop
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/wailsapp/wails/v2/internal/frontend/desktop/darwin"
|
|
|
|
"github.com/wailsapp/wails/v2/internal/binding"
|
|
"github.com/wailsapp/wails/v2/internal/frontend"
|
|
|
|
"github.com/wailsapp/wails/v2/internal/logger"
|
|
"github.com/wailsapp/wails/v2/pkg/options"
|
|
)
|
|
|
|
func NewFrontend(ctx context.Context, appoptions *options.App, logger *logger.Logger, appBindings *binding.Bindings, dispatcher frontend.Dispatcher) frontend.Frontend {
|
|
return darwin.NewFrontend(ctx, appoptions, logger, appBindings, dispatcher)
|
|
}
|