9a78b3e3f1
Release / build (amd64, darwin, macos-latest) (push) Has been cancelled
Release / build (amd64, linux, ubuntu-latest) (push) Has been cancelled
Release / build (amd64, windows, windows-latest) (push) Has been cancelled
Release / build (arm64, darwin, macos-latest) (push) Has been cancelled
Release / build (arm64, linux, ubuntu-latest) (push) Has been cancelled
Release / release (push) Has been cancelled
Release / update-homebrew (push) Has been cancelled
* feat: support media controller on mac * fix(notifications): publish current playback state when media notifier attaches * fix(darwin): lock startup to the Cocoa main thread * refactor: cleanup and simplify * missed cleanup
10 lines
98 B
Go
10 lines
98 B
Go
//go:build darwin && cgo
|
|
|
|
package main
|
|
|
|
import "runtime"
|
|
|
|
func init() {
|
|
runtime.LockOSThread()
|
|
}
|