diff --git a/public/latest-linux.tar.gz b/public/latest-linux.tar.gz index e14cf68..e250e8e 120000 --- a/public/latest-linux.tar.gz +++ b/public/latest-linux.tar.gz @@ -1 +1 @@ -media-linux-6.tar.gz \ No newline at end of file +media-linux-7.tar.gz \ No newline at end of file diff --git a/public/latest.apk b/public/latest.apk index 6646af6..2630ed5 120000 --- a/public/latest.apk +++ b/public/latest.apk @@ -1 +1 @@ -media-6.apk \ No newline at end of file +media-7.apk \ No newline at end of file diff --git a/public/manifest.json b/public/manifest.json index f1ec244..d7ad10f 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,8 +1,8 @@ { - "version": "0.2.3", - "buildNumber": 6, - "notes": "Linuxový build ke stažení. Bez změny v appce oproti 0.2.3.", - "sha256": "18e568f2dbd0c18f3b39a4b188d705acc5a1c86e221291e45611cd685d0d33a8", + "version": "0.3.0", + "buildNumber": 7, + "notes": "Raily jdou tahat myší. Katalogy určené jen k hledání se už nekreslí jako raily. Linuxový balík umí přidat položku do nabídky aplikací.", + "sha256": "63bd99107b81d07f65ca11f73949c3e4257fcafd31468cc33c9ff0e7989808a5", "size": 34427585, - "url": "https://media-updates.petruzalekr.cz/media-6.apk" + "url": "https://media-updates.petruzalekr.cz/media-7.apk" } diff --git a/public/media-7.apk b/public/media-7.apk new file mode 100644 index 0000000..52764fc Binary files /dev/null and b/public/media-7.apk differ diff --git a/public/media-linux-7.tar.gz b/public/media-linux-7.tar.gz new file mode 100644 index 0000000..151e9e8 Binary files /dev/null and b/public/media-linux-7.tar.gz differ diff --git a/release.py b/release.py index 2b897c5..2441e3e 100755 --- a/release.py +++ b/release.py @@ -81,8 +81,16 @@ def main() -> None: tar_name = f"media-linux-{build}.tar.gz" # Renamed on the way in, so unpacking gives a directory somebody can # read rather than "bundle". + packaging = HERE.parent / "amber-adult" / "linux" / "packaging" with tarfile.open(public / tar_name, "w:gz") as tar: tar.add(linux_bundle, arcname="amber-adult") + # The desktop entry, its icons and the installer ride along, so the + # tarball can put itself in the launcher. Without them the app can + # only be started by path, and on Wayland it has no icon at all — + # the compositor resolves that from an installed .desktop, never + # from the running process. + if packaging.is_dir(): + tar.add(packaging, arcname="amber-adult/packaging") tar_latest = public / "latest-linux.tar.gz" tar_latest.unlink(missing_ok=True) tar_latest.symlink_to(tar_name)