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

feat: KDE neon support (#234)

This commit is contained in:
Byron 2019-09-13 22:51:29 +03:00 committed by Lea Anthony
parent 0b6f256d55
commit 990f7dd06c
5 changed files with 17 additions and 3 deletions

View File

@ -51,9 +51,10 @@ Make sure you have the xcode command line tools installed. This can be done by r
`sudo apt install libgtk-3-dev libwebkit2gtk-4.0-dev` `sudo apt install libgtk-3-dev libwebkit2gtk-4.0-dev`
_Debian: 8, 9, 10_ _Debian: 8, 9, 10_
_Ubuntu: 16.04, 18.04, 19.04_ _Ubuntu: 16.04, 18.04, 19.04_
_Also succesfully tested on: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5, Kali-Rolling_ _Also succesfully tested on: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5, Kali, Neon_
#### Arch Linux #### Arch Linux

File diff suppressed because one or more lines are too long

View File

@ -41,6 +41,8 @@ const (
Elementary Elementary
// Kali distribution // Kali distribution
Kali Kali
// Neon distribution
Neon
) )
// DistroInfo contains all the information relating to a linux distribution // DistroInfo contains all the information relating to a linux distribution
@ -122,6 +124,8 @@ func parseOsRelease(osRelease string) *DistroInfo {
result.Distribution = Elementary result.Distribution = Elementary
case "kali": case "kali":
result.Distribution = Kali result.Distribution = Kali
case "neon":
result.Distribution = Neon
default: default:
result.Distribution = Unknown result.Distribution = Unknown
} }

View File

@ -73,6 +73,15 @@ distributions:
gccversioncommand: *gccdumpfullversion gccversioncommand: *gccdumpfullversion
programs: *debiandefaultprograms programs: *debiandefaultprograms
libraries: *debiandefaultlibraries libraries: *debiandefaultlibraries
neon:
id: neon
releases:
default:
version: default
name: KDE neon
gccversioncommand: *gccdumpfullversion
programs: *debiandefaultprograms
libraries: *debiandefaultlibraries
void: void:
id: void id: void
releases: releases:

View File

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