mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-04 04:04:17 +01:00
OS: make osFile a global option
`OS` is used by Module `Package`
This commit is contained in:
@@ -96,9 +96,9 @@ static void getUbuntuFlavour(FFOSResult* result)
|
||||
|
||||
static void detectOS(FFOSResult* os, const FFinstance* instance)
|
||||
{
|
||||
if(instance->config.os.file.length > 0)
|
||||
if(instance->config.osFile.length > 0)
|
||||
{
|
||||
parseFile(instance->config.os.file.chars, os);
|
||||
parseFile(instance->config.osFile.chars, os);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user