Commit 575df002 authored by Kali Kaneko's avatar Kali Kaneko

[bug] temporarily disable polkit check

latest release 0.19.6 included a polkit check.
this check is failing in some setups, leading to an unusable experience.
I'm temporarily disabling the check to be able to have an usable release
until we can debug what's causing the issue.

- Related: #152
parent 38bca5b0
Pipeline #25560 passed with stages
in 11 minutes and 31 seconds
......@@ -54,23 +54,25 @@ func (l *launcher) close() error {
func (l *launcher) check() (helpers bool, priviledge bool, err error) {
isRunning, err := isPolkitRunning()
if err != nil {
return
}
if !isRunning {
polkitPath := getPolkitPath()
if polkitPath == "" {
return true, false, nil
}
cmd := exec.Command("setsid", polkitPath)
err = cmd.Start()
/*
isRunning, err := isPolkitRunning()
if err != nil {
return
}
isRunning, err = isPolkitRunning()
return true, isRunning, err
}
if !isRunning {
polkitPath := getPolkitPath()
if polkitPath == "" {
return true, false, nil
}
cmd := exec.Command("setsid", polkitPath)
err = cmd.Start()
if err != nil {
return
}
isRunning, err = isPolkitRunning()
return true, isRunning, err
}
*/
return true, true, nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment