app-id: com.github.juliodev.Open360 runtime: org.gnome.Platform runtime-version: '45' sdk: org.gnome.Sdk command: open360-flatpak.sh finish-args: # Allow network access (required for webview / CDN) - --share=network # Allow graphical interfaces (X11 and Wayland) - --share=ipc - --socket=fallback-x11 - --socket=wayland # Hardware acceleration for 360 rendering - --device=dri # Allow access to the user's home directory to open images - --filesystem=home modules: - python3-pywebview.json - name: open360 buildsystem: simple build-commands: # 2. Copy the application files to /app/bin - install -D app.py /app/bin/app.py - install -D index.html /app/bin/index.html # 3. Install the Flatpak entry point script - install -D open360-flatpak.sh /app/bin/open360-flatpak.sh - chmod +x /app/bin/open360-flatpak.sh # 4. Install the desktop file, icon, and AppStream metainfo - install -D open360.desktop /app/share/applications/com.github.juliodev.Open360.desktop - install -D icon.png /app/share/icons/hicolor/512x512/apps/com.github.juliodev.Open360.png - install -D com.github.juliodev.Open360.metainfo.xml /app/share/metainfo/com.github.juliodev.Open360.metainfo.xml sources: - type: git url: https://github.com/DSPROPT/360_viewer.git branch: main