mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-27 11:53:23 +01:00
Workaround Linux Wayland screenshare bug
This commit is contained in:
@@ -19,9 +19,14 @@ function getLinuxName(): string | undefined {
|
||||
return match[1];
|
||||
}
|
||||
|
||||
function isWaylandEnabled(): boolean {
|
||||
return Boolean(process.env.WAYLAND_DISPLAY);
|
||||
}
|
||||
|
||||
const OS = {
|
||||
...getOSFunctions(os.release()),
|
||||
getLinuxName,
|
||||
isWaylandEnabled,
|
||||
};
|
||||
|
||||
export default OS;
|
||||
|
||||
Reference in New Issue
Block a user