5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 10:02:55 +08:00

Elementary support + readme update (#210)

* test: azure pipeline

* fix: azure pipeline yaml

* feat: elementary support+readme udpate
This commit is contained in:
Byron 2019-08-27 23:19:48 +03:00 committed by Lea Anthony
parent cf249ba836
commit 4a61584827
5 changed files with 33 additions and 8 deletions

View File

@ -46,24 +46,37 @@ Make sure you have the xcode command line tools installed. This can be done by r
### Linux
#### Debian 9, Ubuntu 18.04
#### Debian/Ubuntu
`sudo apt install libgtk-3-dev libwebkit2gtk-4.0-dev`
_Also Zorin 15, Parrot 4.7, Linuxmint 19_
_Debian: 8, 9, 10_
_Ubuntu: 16.04, 18.04, 19.04_
_Also succesfully tested on: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5_
#### Arch Linux
`sudo pacman -S webkit2gtk gtk3`
#### Centos 7
_Also succesfully test on: ArcoLinuxB_
#### Centos
`sudo yum install webkitgtk3-devel gtk3-devel`
#### Fedora 30
_CentOS 6, 7_
#### Fedora
`sudo yum install webkit2gtk3-devel gtk3-devel`
_Fedora 29, 30_
#### VoidLinux & VoidLinux-musl
`xbps-install gtk+3-devel webkit2gtk-devel`
#### Gentoo
`sudo emerge gtk+:3 webkit-gtk`

File diff suppressed because one or more lines are too long

View File

@ -37,6 +37,8 @@ const (
Linuxmint
// VoidLinux distribution
VoidLinux
// Elementary distribution
Elementary
)
// DistroInfo contains all the information relating to a linux distribution
@ -114,6 +116,8 @@ func parseOsRelease(osRelease string) *DistroInfo {
result.Distribution = Linuxmint
case "void":
result.Distribution = VoidLinux
case "elementary":
result.Distribution = Elementary
default:
result.Distribution = Unknown
}

View File

@ -55,6 +55,15 @@ distributions:
gccversioncommand: *gccdumpversion
programs: *debiandefaultprograms
libraries: *debiandefaultlibraries
elementary:
id: elementary
releases:
default:
version: default
name: elementary OS
gccversioncommand: *gccdumpfullversion
programs: *debiandefaultprograms
libraries: *debiandefaultlibraries
void:
id: void
releases:
@ -149,5 +158,4 @@ distributions:
- name: gtk+:3
help: Please install with `sudo emerge gtk+:3` and try again
- name: webkit-gtk
help: Please install with `sudo emerge webkit-gtk` and try again
help: Please install with `sudo emerge webkit-gtk` and try again

View File

@ -274,7 +274,7 @@ func CheckDependencies(logger *Logger) (bool, error) {
distroInfo := GetLinuxDistroInfo()
switch distroInfo.Distribution {
case Ubuntu, Debian, Zorin, Parrot, Linuxmint:
case Ubuntu, Debian, Zorin, Parrot, Linuxmint, Elementary:
libraryChecker = DpkgInstalled
case Arch:
libraryChecker = PacmanInstalled