diff --git a/README.md b/README.md index 0d3791716..448ee30a0 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ _Debian: 8, 9, 10_ _Ubuntu: 16.04, 18.04, 19.04_ -_Also succesfully tested on: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5, Kali, Neon_ +_Also succesfully tested on: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5, Kali, Neon_, Pop!_OS #### Arch Linux / ArchLabs diff --git a/cmd/linux.go b/cmd/linux.go index 42af81a08..00d33e6b5 100644 --- a/cmd/linux.go +++ b/cmd/linux.go @@ -59,6 +59,8 @@ const ( Leap // ArchLabs distribution ArchLabs + // PopOS distribution + PopOS ) // DistroInfo contains all the information relating to a linux distribution @@ -159,6 +161,8 @@ func parseOsRelease(osRelease string) *DistroInfo { result.Distribution = Tumbleweed case "opensuse-leap": result.Distribution = Leap + case "pop": + result.Distribution = PopOS default: result.Distribution = Unknown } @@ -266,5 +270,9 @@ func RequestSupportForDistribution(distroInfo *DistroInfo) error { fmt.Println("Opening browser to file request.") browser.OpenURL(fullURL + url.PathEscape(params)) + result = Prompt("We have a guide for adding support for your distribution. Would you like to view it?", "yes") + if strings.ToLower(result) == "yes" { + browser.OpenURL("https://wails.app/guides/distro/") + } return nil } diff --git a/cmd/linuxdb.yaml b/cmd/linuxdb.yaml index a46c85cfe..1a6446dbd 100644 --- a/cmd/linuxdb.yaml +++ b/cmd/linuxdb.yaml @@ -28,6 +28,15 @@ distributions: gccversioncommand: &gccdumpfullversion -dumpfullversion programs: *debiandefaultprograms libraries: *debiandefaultlibraries + popos: + id: popos + releases: + default: + version: default + name: Pop!_OS + gccversioncommand: &gccdumpfullversion -dumpfullversion + programs: *debiandefaultprograms + libraries: *debiandefaultlibraries kali: id: kali releases: diff --git a/cmd/system.go b/cmd/system.go index d9fb3d8f9..3f8a7a0b4 100644 --- a/cmd/system.go +++ b/cmd/system.go @@ -274,7 +274,7 @@ func CheckDependencies(logger *Logger) (bool, error) { distroInfo := GetLinuxDistroInfo() switch distroInfo.Distribution { - case Ubuntu, Debian, Zorin, Parrot, Linuxmint, Elementary, Kali, Neon, Deepin, Raspbian: + case Ubuntu, Debian, Zorin, Parrot, Linuxmint, Elementary, Kali, Neon, Deepin, Raspbian, PopOS: libraryChecker = DpkgInstalled case Arch, ArcoLinux, ArchLabs, Manjaro, ManjaroARM: libraryChecker = PacmanInstalled