Disallow Legendary on Windows to fix Heroic
This commit is contained in:
@@ -92,7 +92,7 @@ class LegendarySourceIterator(SourceIterator):
|
|||||||
class LegendarySource(Source):
|
class LegendarySource(Source):
|
||||||
name = "Legendary"
|
name = "Legendary"
|
||||||
executable_format = "legendary launch {app_name}"
|
executable_format = "legendary launch {app_name}"
|
||||||
available_on = {"linux", "win32"}
|
available_on = {"linux"}
|
||||||
|
|
||||||
iterator_class = LegendarySourceIterator
|
iterator_class = LegendarySourceIterator
|
||||||
config_location: Location = Location(
|
config_location: Location = Location(
|
||||||
|
|||||||
10
src/main.py
10
src/main.py
@@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
import json
|
import json
|
||||||
import lzma
|
import lzma
|
||||||
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
@@ -65,6 +66,12 @@ class CartridgesApplication(Adw.Application):
|
|||||||
def do_activate(self): # pylint: disable=arguments-differ
|
def do_activate(self): # pylint: disable=arguments-differ
|
||||||
"""Called on app creation"""
|
"""Called on app creation"""
|
||||||
|
|
||||||
|
setup_logging()
|
||||||
|
log_system_info()
|
||||||
|
|
||||||
|
if os.name == "nt":
|
||||||
|
migrate_files_v1_to_v2()
|
||||||
|
|
||||||
# Set fallback icon-name
|
# Set fallback icon-name
|
||||||
Gtk.Window.set_default_icon_name(shared.APP_ID)
|
Gtk.Window.set_default_icon_name(shared.APP_ID)
|
||||||
|
|
||||||
@@ -280,8 +287,5 @@ class CartridgesApplication(Adw.Application):
|
|||||||
|
|
||||||
def main(_version):
|
def main(_version):
|
||||||
"""App entry point"""
|
"""App entry point"""
|
||||||
setup_logging()
|
|
||||||
log_system_info()
|
|
||||||
migrate_files_v1_to_v2()
|
|
||||||
app = CartridgesApplication()
|
app = CartridgesApplication()
|
||||||
return app.run(sys.argv)
|
return app.run(sys.argv)
|
||||||
|
|||||||
Reference in New Issue
Block a user