mirror of
https://github.com/taigrr/wails.git
synced 2026-04-14 19:01:09 -07:00
215 support distribution kali (#219)
* test: azure pipeline * fix: azure pipeline yaml * feat: kali linux support * feat: kali linux support
This commit is contained in:
@@ -53,7 +53,7 @@ Make sure you have the xcode command line tools installed. This can be done by r
|
||||
_Debian: 8, 9, 10_
|
||||
_Ubuntu: 16.04, 18.04, 19.04_
|
||||
|
||||
_Also succesfully tested on: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5_
|
||||
_Also succesfully tested on: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5, Kali-Rolling_
|
||||
|
||||
#### Arch Linux
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -39,6 +39,8 @@ const (
|
||||
VoidLinux
|
||||
// Elementary distribution
|
||||
Elementary
|
||||
// Kali distribution
|
||||
Kali
|
||||
)
|
||||
|
||||
// DistroInfo contains all the information relating to a linux distribution
|
||||
|
||||
@@ -28,6 +28,15 @@ distributions:
|
||||
gccversioncommand: &gccdumpfullversion -dumpfullversion
|
||||
programs: *debiandefaultprograms
|
||||
libraries: *debiandefaultlibraries
|
||||
kali:
|
||||
id: kali
|
||||
releases:
|
||||
default:
|
||||
version: default
|
||||
name: Kali GNU/Linux
|
||||
gccversioncommand: *gccdumpfullversion
|
||||
programs: *debiandefaultprograms
|
||||
libraries: *debiandefaultlibraries
|
||||
parrot:
|
||||
id: parrot
|
||||
releases:
|
||||
|
||||
@@ -274,7 +274,7 @@ func CheckDependencies(logger *Logger) (bool, error) {
|
||||
distroInfo := GetLinuxDistroInfo()
|
||||
|
||||
switch distroInfo.Distribution {
|
||||
case Ubuntu, Debian, Zorin, Parrot, Linuxmint, Elementary:
|
||||
case Ubuntu, Debian, Zorin, Parrot, Linuxmint, Elementary, Kali:
|
||||
libraryChecker = DpkgInstalled
|
||||
case Arch:
|
||||
libraryChecker = PacmanInstalled
|
||||
|
||||
Reference in New Issue
Block a user