From 5c1696e3a501941ad576afe0b9aa5be91b771b1a Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Mon, 15 May 2023 08:55:38 -0400 Subject: teams-for-linux: 1.0.83 -> 1.0.88 --- .../networking/instant-messengers/teams-for-linux/default.nix | 4 ++-- .../teams-for-linux/screensharing-wayland-hack-fix.patch | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'pkgs/applications') diff --git a/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix b/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix index acd2edbc59b4b..ba89b21638204 100644 --- a/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix +++ b/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix @@ -17,13 +17,13 @@ stdenv.mkDerivation rec { pname = "teams-for-linux"; - version = "1.0.83"; + version = "1.0.88"; src = fetchFromGitHub { owner = "IsmaelMartinez"; repo = pname; rev = "v${version}"; - sha256 = "sha256-2tCBFc4CEgaYJq5fMbHi+M/Cz5Eeo2Slqgu9xUUkUjA="; + sha256 = "sha256-eaXW52e+YJbL+0d2Cqrpp6M11rGsyNfIhgjHLzLDbWQ="; }; offlineCache = fetchYarnDeps { diff --git a/pkgs/applications/networking/instant-messengers/teams-for-linux/screensharing-wayland-hack-fix.patch b/pkgs/applications/networking/instant-messengers/teams-for-linux/screensharing-wayland-hack-fix.patch index 3e5d993e869ec..1ae26c06f0975 100644 --- a/pkgs/applications/networking/instant-messengers/teams-for-linux/screensharing-wayland-hack-fix.patch +++ b/pkgs/applications/networking/instant-messengers/teams-for-linux/screensharing-wayland-hack-fix.patch @@ -1,14 +1,14 @@ diff --git a/app/index.js b/app/index.js -index 20ccf43..b251f62 100644 +index ea89608..98f4a90 100644 --- a/app/index.js +++ b/app/index.js @@ -1,4 +1,4 @@ -const { app, ipcMain, desktopCapturer, systemPreferences, powerMonitor } = require('electron'); +const { app, ipcMain, desktopCapturer, nativeImage, systemPreferences, powerMonitor } = require('electron'); const path = require('path'); + const fs = require('fs'); const { LucidLog } = require('lucid-log'); - const isDev = require('electron-is-dev'); -@@ -93,7 +93,16 @@ if (!gotTheLock) { +@@ -97,7 +97,16 @@ if (!gotTheLock) { ipcMain.handle('getSystemIdleState', handleGetSystemIdleState); ipcMain.handle('getZoomLevel', handleGetZoomLevel); ipcMain.handle('saveZoomLevel', handleSaveZoomLevel); @@ -23,6 +23,6 @@ index 20ccf43..b251f62 100644 + thumbnail: nativeImage.createEmpty() + }]) + : desktopCapturer.getSources(opts)); + ipcMain.handle('getCustomBGList', handleGetCustomBGList); ipcMain.on('play-notification-sound', playNotificationSound); - } - + ipcMain.on('user-status-changed', userStatusChangedHandler); -- cgit 1.4.1