mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Merge branch 'fix/desktop-portal-fallback' of https://github.com/azertyfun/kitty
This commit is contained in:
@@ -359,7 +359,7 @@ func patch_portals_conf(text []byte) []byte {
|
||||
in_preferred = sl == "[preferred]"
|
||||
lines = append(lines, line)
|
||||
for _, iface := range AllPortalInterfaces() {
|
||||
lines = append(lines, iface+"=kitty")
|
||||
lines = append(lines, iface+"=kitty;*")
|
||||
}
|
||||
patched = true
|
||||
} else if in_preferred {
|
||||
@@ -380,7 +380,7 @@ func patch_portals_conf(text []byte) []byte {
|
||||
// the file was empty or did not contain a section
|
||||
lines = append(lines, "[preferred]")
|
||||
for _, iface := range AllPortalInterfaces() {
|
||||
lines = append(lines, iface+"=kitty")
|
||||
lines = append(lines, iface+"=kitty;*")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user