mirror of
https://github.com/taigrr/wails.git
synced 2026-04-14 02:48:21 -07:00
fix(linux): fedora & centos support
This commit is contained in:
@@ -79,10 +79,8 @@ func GetLinuxDistroInfo() *DistroInfo {
|
||||
}
|
||||
// Check distro name against list of distros
|
||||
result.Release = version
|
||||
result.DiscoveredBy = "os-release"
|
||||
result.DiscoveredBy = "/etc/os-release"
|
||||
switch osID {
|
||||
case "rhel":
|
||||
result.Distribution = RedHat
|
||||
case "fedora":
|
||||
result.Distribution = Fedora
|
||||
case "centos":
|
||||
|
||||
Reference in New Issue
Block a user