Subir archivos a "/"

This commit is contained in:
nix 2025-01-14 18:29:09 +00:00
commit 9953932382

99
manifest.json Normal file
View File

@ -0,0 +1,99 @@
{
"app-id": "com.picodulce.Launcher",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"sdk": "org.freedesktop.Sdk",
"command": "/app/start.sh",
"finish-args": [
"--share=network",
"--filesystem=host",
"--talk-name=org.freedesktop.secrets",
"--share=ipc",
"--socket=x11",
"--socket=wayland",
"--device=dri",
"--device=all",
"--env=LIBGL_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri",
"--env=DRI_PRIME=1",
"--env=PATH=/app/jdk/bin:/app/bin:$PATH"
],
"build-options": {
"build-args": [
"--share=network",
"--filesystem=home"
]
},
"modules": [
{
"name": "openjdk",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app/jdk",
"tar -xzf openjdk-17.0.2_linux-x64_bin.tar.gz -C /app/jdk --strip-components=1"
],
"sources": [
{
"type": "archive",
"url": "https://download.bell-sw.com/java/17.0.2+8/bellsoft-jdk17.0.2+8-linux-amd64.tar.gz",
"sha256": "9b5ffd14a1f37d8a4c3f4e3a2c7b6ce8d8e4e9e4f8c5e2a5b6c8f2c8e5b5f7c8"
}
]
},
{
"name": "python",
"buildsystem": "simple",
"build-commands": [
"cp requirements.txt /app/requirements.txt",
"cp picodulce.py /app/picodulce.py",
"cp start.sh /app/start.sh",
"python3 -m venv /app/venv",
"/app/venv/bin/pip install --no-cache-dir -r /app/requirements.txt"
],
"sources": [
{
"type": "file",
"path": "requirements.txt"
},
{
"type": "file",
"path": "picodulce.py"
},
{
"type": "file",
"path": "start.sh"
}
]
},
{
"name": "picodulce-launcher",
"buildsystem": "simple",
"build-commands": [
"cp -r * /app"
],
"sources": [
{
"type": "dir",
"path": "."
}
]
},
{
"name": "launcher",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app/bin",
"cp -r * /app/bin/",
"chmod +x /app/start.sh"
],
"sources": [
{
"type": "dir",
"path": "."
}
]
}
],
"environment": {
"PATH": "/app/jdk/bin:/app/bin:$PATH"
}
}