refactor and start adding actual functionality
This commit is contained in:
parent
9efa0ee226
commit
82fec3ab58
11 changed files with 158 additions and 33 deletions
|
@ -28,6 +28,8 @@ type Config struct {
|
|||
Bootloader string
|
||||
Cpuvendor string
|
||||
Path *Path
|
||||
Gpu_Group string
|
||||
Gpu_IDs []string
|
||||
}
|
||||
|
||||
// Gets the path to all the config files
|
||||
|
@ -52,6 +54,8 @@ func GetConfig() *Config {
|
|||
Bootloader: "unknown",
|
||||
Cpuvendor: cpuid.CPU.VendorString,
|
||||
Path: GetConfigPaths(),
|
||||
Gpu_Group: "",
|
||||
Gpu_IDs: []string{},
|
||||
}
|
||||
|
||||
// Detect the bootloader we are using
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue