Rename manifest.json to plugin-manifest.json
Flatpak uses already manifest.json
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user