Rename manifest.json to plugin-manifest.json
Flatpak uses already manifest.json
This commit is contained in:
1 parent
9d3abb721e
commit
3884d1ef4d
15 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -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:
|
||||
|
||||
File renamed without changes.
Reference in new issue
Block a user