Prepare for Windows builds
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
||||
@@ -58,6 +59,9 @@ class CartridgesApplication(Adw.Application):
|
||||
self.create_action("add_game", self.on_add_game_action, ["<primary>n"])
|
||||
self.create_action("remove_game", self.on_remove_game_action)
|
||||
|
||||
if os.name == "nt":
|
||||
self.lookup_action("bottles_import").set_enabled(False)
|
||||
|
||||
self.win = None
|
||||
|
||||
def do_activate(self):
|
||||
|
||||
Reference in New Issue
Block a user