Move remote deployment to a vendored source bundle built on the target host via Docker so redeploys no longer require local cross-compilation or host Go installation. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
14 lines
313 B
Go
14 lines
313 B
Go
package runtime
|
|
|
|
import "context"
|
|
|
|
func ClipboardGetText(ctx context.Context) (string, error) {
|
|
appFrontend := getFrontend(ctx)
|
|
return appFrontend.ClipboardGetText()
|
|
}
|
|
|
|
func ClipboardSetText(ctx context.Context, text string) error {
|
|
appFrontend := getFrontend(ctx)
|
|
return appFrontend.ClipboardSetText(text)
|
|
}
|