flatpak-vscode
flatpak-vscode copied to clipboard
No Flatpak manifest found in this workspace
Hi, Thanks for developing the extension. I'm new to Flatpak. (Sorry if this issue is not an issue at all.)
I created a HelloWorld Flatpak by following Flatpak's documentation.
I can build and run the Flatpak by using flatpak-builder.
However, I couldn't use the extension to do anything Flatpak-related.
The extension seems couldn't detect the manifest, which as you can see there is manifest in the workspace.
I even tried with both JSON and YAML, but nothing helped.

(I think we need some documentation for beginners...)
That may be the checks being too nitpicky, can you paste the manifest here?
@SeaDve Sure.
JSON
{
"app-id": "io.jeffshee.Test",
"runtime": "org.gnome.Platform",
"runtime-version": "42",
"sdk": "org.gnome.Sdk",
"command": "hello.sh",
"modules": [
{
"name": "hello",
"buildsystem": "simple",
"build-commands": [
"install -D hello.sh /app/bin/hello.sh"
],
"sources": [
{
"type": "file",
"path": "hello.sh"
}
]
}
]
}
YAML
app-id: io.jeffshee.Test
runtime: org.gnome.Platform
runtime-version: '42'
sdk: org.gnome.Sdk
command: hello.sh
modules:
- name: hello
buildsystem: simple
build-commands:
- "install -D hello.sh /app/bin/hello.sh"
sources:
- type: file
path: hello.sh
Thanks! I tried debugging and somehow adding a "finish-args": [] entry makes it detect it.
finish-args is required in general, i don't think you can do much without it...
I think it might be good to have a fallback option in case the check had failed. For example, manually mark the JSON/YAML files as Flatpak manifest, and bypass the checking.