Skip to content

Commit

Permalink
Add unofficial Teams-for-linux client
Browse files Browse the repository at this point in the history
  • Loading branch information
renlinch authored and asdil12 committed Aug 28, 2023
1 parent d7c3856 commit 24f03fc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ Also these queries can be used to install packages from various other vendors:
skype Microsoft Skype
slack Slack messenger
sublime Editor for code, markup and prose
teams-for-linux unofficial Microsoft Teams for Linux
teamviewer TeamViewer remote access
vivaldi Vivaldi web browser
vscode Microsoft Visual Studio Code
Expand Down
22 changes: 22 additions & 0 deletions opi/plugins/teams-for-linux.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import opi
from opi.plugins import BasePlugin

class TeamsForLinux(BasePlugin):
main_query = 'teams-for-linux'
description = 'Unofficial Microsoft Teams for Linux client'
queries = ['teams-for-linux','teams']

@classmethod
def run(cls, query):
if not opi.ask_yes_or_no('Do you want to install teams-for-linux from teamsforlinux.de repository?'):
return

opi.add_repo(
filename = 'teams-for-linux',
name = 'Unofficial Teams for Linux',
url = 'https://repo.teamsforlinux.de/rpm/',
gpgkey = 'https://repo.teamsforlinux.de/teams-for-linux.asc'
)

opi.install_packages(['teams-for-linux'])
opi.ask_keep_repo('teams-for-linux')

0 comments on commit 24f03fc

Please sign in to comment.