Skip to content

Commit 3aedb2f

Browse files
backend: Remove UbisoftConnectManager
1 parent 32c153d commit 3aedb2f

File tree

4 files changed

+0
-146
lines changed

4 files changed

+0
-146
lines changed

bottles/backend/managers/manager.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
import logging
3939
from bottles.backend.managers.library import LibraryManager
4040
from bottles.backend.managers.template import TemplateManager
41-
from bottles.backend.managers.ubisoftconnect import UbisoftConnectManager
4241
from bottles.backend.models.config import BottleConfig
4342
from bottles.backend.models.result import Result
4443
from bottles.backend.models.samples import Samples
@@ -562,14 +561,6 @@ def get_programs(self, config: BottleConfig) -> list[dict]:
562561
)
563562
found.append(executable_name)
564563

565-
if self.settings.get_boolean(
566-
"ubisoft-connect"
567-
) and UbisoftConnectManager.is_uconnect_supported(config):
568-
programs_names = [p.get("name", "") for p in installed_programs]
569-
for app in UbisoftConnectManager.get_installed_games(config):
570-
if app["name"] not in programs_names:
571-
installed_programs.append(app)
572-
573564
return installed_programs
574565

575566
def check_bottles(self, silent: bool = False):

bottles/backend/managers/meson.build

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ bottles_sources = [
99
'conf.py',
1010
'template.py',
1111
'sandbox.py',
12-
'ubisoftconnect.py',
1312
'origin.py',
1413
'steamgriddb.py',
1514
'thumbnail.py'

bottles/backend/managers/ubisoftconnect.py

Lines changed: 0 additions & 131 deletions
This file was deleted.

data/com.usebottles.bottles.gschema.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@
2626
<summary>Steam apps listing</summary>
2727
<description>Toggle steam apps listing.</description>
2828
</key>
29-
<key type="b" name="ubisoft-connect">
30-
<default>true</default>
31-
<summary>Ubisoft Connect listing</summary>
32-
<description>Toggle ubisoft connect listing.</description>
33-
</key>
3429
<key type="i" name="window-width">
3530
<default>880</default>
3631
<summary>Window width</summary>

0 commit comments

Comments
 (0)