Skip to content

Commit

Permalink
backend: Remove UbisoftConnectManager
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEvilSkeleton committed Feb 3, 2025
1 parent 72ab4dc commit cec5489
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 146 deletions.
9 changes: 0 additions & 9 deletions bottles/backend/managers/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import logging
from bottles.backend.managers.library import LibraryManager
from bottles.backend.managers.template import TemplateManager
from bottles.backend.managers.ubisoftconnect import UbisoftConnectManager
from bottles.backend.models.config import BottleConfig
from bottles.backend.models.result import Result
from bottles.backend.models.samples import Samples
Expand Down Expand Up @@ -562,14 +561,6 @@ def get_programs(self, config: BottleConfig) -> list[dict]:
)
found.append(executable_name)

if self.settings.get_boolean(
"ubisoft-connect"
) and UbisoftConnectManager.is_uconnect_supported(config):
programs_names = [p.get("name", "") for p in installed_programs]
for app in UbisoftConnectManager.get_installed_games(config):
if app["name"] not in programs_names:
installed_programs.append(app)

return installed_programs

def check_bottles(self, silent: bool = False):
Expand Down
1 change: 0 additions & 1 deletion bottles/backend/managers/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ bottles_sources = [
'conf.py',
'template.py',
'sandbox.py',
'ubisoftconnect.py',
'origin.py',
'steamgriddb.py',
'thumbnail.py'
Expand Down
131 changes: 0 additions & 131 deletions bottles/backend/managers/ubisoftconnect.py

This file was deleted.

5 changes: 0 additions & 5 deletions data/com.usebottles.bottles.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@
<summary>Steam apps listing</summary>
<description>Toggle steam apps listing.</description>
</key>
<key type="b" name="ubisoft-connect">
<default>true</default>
<summary>Ubisoft Connect listing</summary>
<description>Toggle ubisoft connect listing.</description>
</key>
<key type="i" name="window-width">
<default>880</default>
<summary>Window width</summary>
Expand Down

0 comments on commit cec5489

Please sign in to comment.