Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bff225572e | ||
|
|
ac3f3133d9 | ||
|
|
bda487f26e | ||
|
|
4711652b4a |
@@ -1,5 +1,5 @@
|
|||||||
#define MyAppName "Cartridges"
|
#define MyAppName "Cartridges"
|
||||||
#define MyAppVersion "1.5.1"
|
#define MyAppVersion "1.5.2"
|
||||||
#define MyAppPublisher "kramo"
|
#define MyAppPublisher "kramo"
|
||||||
#define MyAppURL "https://github.com/kra-mo/cartridges"
|
#define MyAppURL "https://github.com/kra-mo/cartridges"
|
||||||
#define MyAppExeName "pythonw.exe"
|
#define MyAppExeName "pythonw.exe"
|
||||||
|
|||||||
@@ -44,10 +44,11 @@
|
|||||||
</screenshots>
|
</screenshots>
|
||||||
<content_rating type="oars-1.1" />
|
<content_rating type="oars-1.1" />
|
||||||
<releases>
|
<releases>
|
||||||
<release version="1.5.1" date="2023-05-26">
|
<release version="1.5.2" date="2023-05-27">
|
||||||
<description translatable="no">
|
<description translatable="no">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Fixes an issue with search</li>
|
<li>Fixes the app icon not displaying on the XFCE panel</li>
|
||||||
|
<li>Fixes a bug with the Steam API</li>
|
||||||
<li>Translations since 1.5</li>
|
<li>Translations since 1.5</li>
|
||||||
</ul>
|
</ul>
|
||||||
</description>
|
</description>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
project('cartridges',
|
project('cartridges',
|
||||||
version: '1.5.1',
|
version: '1.5.2',
|
||||||
meson_version: '>= 0.59.0',
|
meson_version: '>= 0.59.0',
|
||||||
default_options: [ 'warning_level=2', 'werror=false', ],
|
default_options: [ 'warning_level=2', 'werror=false', ],
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ def bottles_importer():
|
|||||||
|
|
||||||
data = (bottles_dir / "library.yml").read_text("utf-8")
|
data = (bottles_dir / "library.yml").read_text("utf-8")
|
||||||
|
|
||||||
library = yaml.load(data, Loader=yaml.Loader)
|
library = yaml.safe_load(data)
|
||||||
|
|
||||||
importer = shared.importer
|
importer = shared.importer
|
||||||
importer.total_queue += len(library)
|
importer.total_queue += len(library)
|
||||||
|
|||||||
@@ -35,9 +35,10 @@ def update_values_from_data(content, values):
|
|||||||
values["blacklisted"] = True
|
values["blacklisted"] = True
|
||||||
else:
|
else:
|
||||||
data = basic_data["data"]
|
data = basic_data["data"]
|
||||||
values["developer"] = ", ".join(data["developers"])
|
if data.get("developers"):
|
||||||
|
values["developer"] = ", ".join(data["developers"])
|
||||||
|
|
||||||
if data["type"] != "game":
|
if data.get("type") != "game":
|
||||||
values["blacklisted"] = True
|
values["blacklisted"] = True
|
||||||
|
|
||||||
return values
|
return values
|
||||||
|
|||||||
@@ -48,6 +48,9 @@ class CartridgesApplication(Adw.Application):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def do_activate(self): # pylint: disable=arguments-differ
|
def do_activate(self): # pylint: disable=arguments-differ
|
||||||
|
# Set fallback icon-name
|
||||||
|
Gtk.Window.set_default_icon_name("hu.kramo.Cartridges")
|
||||||
|
|
||||||
# Create the main window
|
# Create the main window
|
||||||
self.win = self.props.active_window # pylint: disable=no-member
|
self.win = self.props.active_window # pylint: disable=no-member
|
||||||
if not self.win:
|
if not self.win:
|
||||||
@@ -109,7 +112,7 @@ class CartridgesApplication(Adw.Application):
|
|||||||
application_name=_("Cartridges"),
|
application_name=_("Cartridges"),
|
||||||
application_icon="hu.kramo.Cartridges",
|
application_icon="hu.kramo.Cartridges",
|
||||||
developer_name="kramo",
|
developer_name="kramo",
|
||||||
version="1.5.1",
|
version="1.5.2",
|
||||||
developers=[
|
developers=[
|
||||||
"kramo https://kramo.hu",
|
"kramo https://kramo.hu",
|
||||||
"Arcitec https://github.com/Arcitec",
|
"Arcitec https://github.com/Arcitec",
|
||||||
|
|||||||
Reference in New Issue
Block a user