Skip to content

Commit

Permalink
Merge pull request #126259 from liff/teams/rect-overlay-arg
Browse files Browse the repository at this point in the history
teams: add an argument for enabling rect-overlay
  • Loading branch information
SuperSandro2000 committed Jun 14, 2021
2 parents b55bc16 + c878a8a commit 0d81966
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -12,7 +12,8 @@
, coreutils
, gawk
, xdg-utils
, systemd }:
, systemd
, enableRectOverlay ? false }:

stdenv.mkDerivation rec {
pname = "teams";
Expand Down Expand Up @@ -57,9 +58,11 @@ stdenv.mkDerivation rec {
ln -s $out/opt/teams/teams $out/bin/
${lib.optionalString (!enableRectOverlay) ''
# Work-around screen sharing bug
# https://docs.microsoft.com/en-us/answers/questions/42095/sharing-screen-not-working-anymore-bug.html
rm $out/opt/teams/resources/app.asar.unpacked/node_modules/slimcore/bin/rect-overlay
''}
runHook postInstall
'';
Expand Down

0 comments on commit 0d81966

Please sign in to comment.