refactor and start adding actual functionality

This commit is contained in:
HikariKnight 2023-11-02 16:45:50 +01:00
parent 9efa0ee226
commit 82fec3ab58
11 changed files with 158 additions and 33 deletions

View file

@ -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