Compare commits
2 Commits
auto-impor
...
v1.4.X
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8378c72250 | ||
|
|
beef0223c3 |
@@ -1,5 +1,5 @@
|
|||||||
#define MyAppName "Cartridges"
|
#define MyAppName "Cartridges"
|
||||||
#define MyAppVersion "1.4"
|
#define MyAppVersion "1.4.1"
|
||||||
#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"
|
||||||
|
|||||||
@@ -36,6 +36,13 @@
|
|||||||
</screenshots>
|
</screenshots>
|
||||||
<content_rating type="oars-1.1" />
|
<content_rating type="oars-1.1" />
|
||||||
<releases>
|
<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">
|
<release version="1.4" date="2023-04-16">
|
||||||
<description translatable="no">
|
<description translatable="no">
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
project('cartridges',
|
project('cartridges',
|
||||||
version: '1.4',
|
version: '1.4.1',
|
||||||
meson_version: '>= 0.59.0',
|
meson_version: '>= 0.59.0',
|
||||||
default_options: [ 'warning_level=2', 'werror=false', ],
|
default_options: [ 'warning_level=2', 'werror=false', ],
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -116,7 +116,9 @@ def heroic_importer(win):
|
|||||||
# Import GOG games
|
# Import GOG games
|
||||||
if not win.schema.get_boolean("heroic-import-gog"):
|
if not win.schema.get_boolean("heroic-import-gog"):
|
||||||
pass
|
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")
|
data = (heroic_dir / "gog_store" / "installed.json").read_text("utf-8")
|
||||||
installed = json.loads(data)
|
installed = json.loads(data)
|
||||||
|
|
||||||
@@ -136,8 +138,8 @@ def heroic_importer(win):
|
|||||||
importer.save_game()
|
importer.save_game()
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Get game title and developer from library.json as they are not present in installed.json
|
# Get game title and developer from gog_library.json as they are not present in installed.json
|
||||||
data = (heroic_dir / "gog_store" / "library.json").read_text("utf-8")
|
data = (heroic_dir / "store_cache" / "gog_library.json").read_text("utf-8")
|
||||||
library = json.loads(data)
|
library = json.loads(data)
|
||||||
for game in library["games"]:
|
for game in library["games"]:
|
||||||
if game["app_name"] == app_name:
|
if game["app_name"] == app_name:
|
||||||
|
|||||||
@@ -119,7 +119,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.4",
|
version="1.4.1",
|
||||||
developers=[
|
developers=[
|
||||||
"kramo https://kramo.hu",
|
"kramo https://kramo.hu",
|
||||||
"Paweł Lidwin https://github.com/imLinguin",
|
"Paweł Lidwin https://github.com/imLinguin",
|
||||||
|
|||||||
Reference in New Issue
Block a user