5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 22:00:19 +08:00
* manjaro

* Update go.mod
This commit is contained in:
Byron 2019-10-06 11:14:05 +03:00 committed by Lea Anthony
parent 93942111bc
commit f961659ada
5 changed files with 20 additions and 7 deletions

View File

@ -60,7 +60,7 @@ _Also succesfully tested on: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5, K
`sudo pacman -S webkit2gtk gtk3`
_Also succesfully test on: ArcoLinuxB_
_Also succesfully test on: Manjaro & ArcoLinux_
#### Centos

File diff suppressed because one or more lines are too long

View File

@ -43,6 +43,8 @@ const (
Kali
// Neon distribution
Neon
// Manjaro distribution
Manjaro
)
// DistroInfo contains all the information relating to a linux distribution
@ -126,6 +128,8 @@ func parseOsRelease(osRelease string) *DistroInfo {
result.Distribution = Kali
case "neon":
result.Distribution = Neon
case "manjaro":
result.Distribution = Manjaro
default:
result.Distribution = Unknown
}

View File

@ -146,18 +146,27 @@ distributions:
version: default
name: Arch Linux
gccversioncommand: *gccdumpversion
programs:
programs: &archdefaultprograms
- name: gcc
help: Please install with `sudo pacman -S gcc` and try again
- name: pkgconf
help: Please install with `sudo pacman -S pkgconf` and try again
- name: npm
help: Please install with `sudo pacman -S npm` and try again
libraries:
libraries: &archdefaultlibraries
- name: gtk3
help: Please install with `sudo pacman -S gtk3` and try again
- name: webkit2gtk
help: Please install with `sudo pacman -S webkit2gtk` and try again
manjaro:
id: manjaro
releases:
default:
version: default
name: Manjaro Linux
gccversioncommand: *gccdumpversion
programs: *archdefaultprograms
libraries: *archdefaultlibraries
gentoo:
id: gentoo
releases:

View File

@ -276,7 +276,7 @@ func CheckDependencies(logger *Logger) (bool, error) {
switch distroInfo.Distribution {
case Ubuntu, Debian, Zorin, Parrot, Linuxmint, Elementary, Kali, Neon:
libraryChecker = DpkgInstalled
case Arch:
case Arch, Manjaro:
libraryChecker = PacmanInstalled
case CentOS, Fedora:
libraryChecker = RpmInstalled