Compare commits

...

2 Commits
main ... v1.4.X

Author SHA1 Message Date
kramo
8378c72250 v1.4.1 2023-05-05 14:43:43 +02:00
kramo
beef0223c3 Update Heroic GOG path 2023-05-05 14:41:06 +02:00
5 changed files with 15 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
#define MyAppName "Cartridges"
#define MyAppVersion "1.4"
#define MyAppVersion "1.4.1"
#define MyAppPublisher "kramo"
#define MyAppURL "https://github.com/kra-mo/cartridges"
#define MyAppExeName "pythonw.exe"

View File

@@ -36,6 +36,13 @@
</screenshots>
<content_rating type="oars-1.1" />
<releases>
<release version="1.4.1" date="2023-05-05">
<description translatable="no">
<ul>
<li>Updates the Heroic GOG path</li>
</ul>
</description>
</release>
<release version="1.4" date="2023-04-16">
<description translatable="no">
<ul>

View File

@@ -1,5 +1,5 @@
project('cartridges',
version: '1.4',
version: '1.4.1',
meson_version: '>= 0.59.0',
default_options: [ 'warning_level=2', 'werror=false', ],
)

View File

@@ -116,7 +116,9 @@ def heroic_importer(win):
# Import GOG games
if not win.schema.get_boolean("heroic-import-gog"):
pass
elif (heroic_dir / "gog_store" / "installed.json").exists():
elif (heroic_dir / "gog_store" / "installed.json").exists() and (
heroic_dir / "store_cache" / "gog_library.json"
).exists():
data = (heroic_dir / "gog_store" / "installed.json").read_text("utf-8")
installed = json.loads(data)
@@ -136,8 +138,8 @@ def heroic_importer(win):
importer.save_game()
continue
# Get game title and developer from library.json as they are not present in installed.json
data = (heroic_dir / "gog_store" / "library.json").read_text("utf-8")
# Get game title and developer from gog_library.json as they are not present in installed.json
data = (heroic_dir / "store_cache" / "gog_library.json").read_text("utf-8")
library = json.loads(data)
for game in library["games"]:
if game["app_name"] == app_name:

View File

@@ -119,7 +119,7 @@ class CartridgesApplication(Adw.Application):
application_name=_("Cartridges"),
application_icon="hu.kramo.Cartridges",
developer_name="kramo",
version="1.4",
version="1.4.1",
developers=[
"kramo https://kramo.hu",
"Paweł Lidwin https://github.com/imLinguin",