flamenco/pkg/sysinfo/sysinfo_darwin.go
Sybren A. Stüvel 12bc182857 Log more OS info at startup
In addition to logging `GOOS` and `GOARCH`, also log more info about the
system:

- Windows: the Windows version and edition.
- Linux: distribution, distribution version, and kernel version.
- macOS: just "macOS", until we know more about getting info there too.
2023-10-15 14:16:56 +02:00

15 lines
320 B
Go

package sysinfo
// SPDX-License-Identifier: GPL-3.0-or-later
// canSymlink always returns true, as symlinking on non-Windows platforms is not
// hard.
func canSymlink() (bool, error) {
return true, nil
}
func description() (string, error) {
// TODO: figure out how to get more info on macOS.
return "macOS", nil
}