{ "id": "com.github.pewmoe.cosmic-ext-ASCII-dot-battery", "runtime": "org.freedesktop.Platform", "runtime-version": "25.08", "sdk": "org.freedesktop.Sdk", "sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"], "command": "cosmic-ext-ascii-dot-battery", "finish-args": [ "--socket=wayland", "--share=ipc", "--device=dri", "--filesystem=xdg-config/cosmic:rw", "--filesystem=/sys/class/power_supply:ro", "--filesystem=/sys/class/backlight:ro", "--talk-name=com.system76.CosmicSettingsDaemon", "--system-talk-name=net.hadess.PowerProfiles", "--system-talk-name=org.freedesktop.login1" ], "build-options": { "append-path": "/usr/lib/sdk/rust-stable/bin", "env": { "CARGO_BUILD_JOBS": "8", "CARGO_HOME": "/run/build/cosmic-ext-ascii-dot-battery/cargo", "LOCKSTEP_XML_PATH": "/run/build/cosmic-ext-ascii-dot-battery/vendor/atspi-common/xml" } }, "modules": [ { "name": "cosmic-ext-ascii-dot-battery", "buildsystem": "simple", "build-commands": [ "tar pxf vendor.tar", "cargo build --release --frozen --offline", "install -Dm0755 target/release/cosmic-ext-ascii-dot-battery /app/bin/cosmic-ext-ascii-dot-battery", "install -Dm0644 target/xdgen/app.desktop /app/share/applications/com.github.pewmoe.cosmic-ext-ASCII-dot-battery.desktop", "install -Dm0644 target/xdgen/app.metainfo.xml /app/share/metainfo/com.github.pewmoe.cosmic-ext-ASCII-dot-battery.metainfo.xml", "install -Dm0644 resources/icon.svg /app/share/icons/hicolor/scalable/apps/com.github.pewmoe.cosmic-ext-ASCII-dot-battery.svg" ], "sources": [ { "type": "dir", "path": "./" }, { "type": "file", "path": "vendor.tar" } ] } ] }