You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.
if err := yaml.NewDecoder(r).Decode(&p); err != nil {
return err
}
if err := SetOEMInfo(p.OEMInformation); err != nil {
return err
}
return nil
}
var (
version = "dev"
)
func main() {
usage := fmt.Sprintf("Usage:\n\t%s [command]\n\nCommands:\n\tget\tGets OEM information from registry and prints it to stdout in YAML\n\tset\tReads OEM information from stdin in YAML and writes it to registry (admin rights required)", os.Args[0])
usage += fmt.Sprintf("\n\nOEMEdit Version %s by ebiiim\n", version)
usage += "CLI tool for editing Windows OEM information\n"