Commit 3884d1ef authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Rename manifest.json to plugin-manifest.json

Flatpak uses already manifest.json
parent 9d3abb72
Pipeline #9806 passed with stage
in 6 seconds
......@@ -70,7 +70,7 @@ def download_package_index() -> ManifestT:
def iter_manifests() -> Iterator[PackageT]:
for path in REPO_ROOT.rglob('manifest.json'):
for path in REPO_ROOT.rglob('plugin-manifest.json'):
with path.open() as f:
manifest = json.load(f)
yield manifest, path.parent
......
......@@ -50,7 +50,7 @@ def iter_releases(release_folder: Path) -> Iterator[Dict[str, Any]]:
for path in release_folder.rglob('*.zip'):
with ZipFile(path) as release_zip:
try:
with release_zip.open('manifest.json') as file:
with release_zip.open('plugin-manifest.json') as file:
manifest = json.load(file)
yield manifest
except Exception:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment