Streamd v0.2.0: rename, modules panel, stable/beta channels
All checks were successful
release / build-and-upload (push) Successful in 7m5s
All checks were successful
release / build-and-upload (push) Successful in 7m5s
- Rename product/host binary to streamd (drm compat copy still shipped) - Go module path streamd; STREAMD_* env aliases; agent UA streamd-agent - Panel Modules store + agent pull sync (modstore / modsync) - Rolling stable + beta download tags; README/docs channel curl blocks - Release notes in docs/releases/v0.2.0.md attached by Forgejo Actions
This commit is contained in:
parent
066e018749
commit
da8e1123ec
140 changed files with 2949 additions and 851 deletions
|
|
@ -1,7 +1,8 @@
|
|||
// Command drm is the single entry point for the toolchain: phone capture,
|
||||
// Command streamd is the single entry point for the toolchain: phone capture,
|
||||
// catalog lookups, the always-on agent, the streamd control plane and the
|
||||
// on-device MITM. Providers live under modules/<name>/ and are discovered,
|
||||
// built, and executed by the host — they are not linked into this binary.
|
||||
// A drm.exe copy of this binary is still shipped for one release as a compat alias.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
|
@ -13,14 +14,14 @@ import (
|
|||
"os"
|
||||
"strings"
|
||||
|
||||
"drmdecryption/apps/agent/agentcmd"
|
||||
"drmdecryption/apps/capture/capturecmd"
|
||||
"drmdecryption/apps/cli/catalogcmd"
|
||||
"drmdecryption/apps/cli/modulescmd"
|
||||
"drmdecryption/apps/proxy/proxyctlcmd"
|
||||
"drmdecryption/apps/streamd/servecmd"
|
||||
"drmdecryption/bootstrap"
|
||||
"drmdecryption/modhost"
|
||||
"streamd/apps/agent/agentcmd"
|
||||
"streamd/apps/capture/capturecmd"
|
||||
"streamd/apps/cli/catalogcmd"
|
||||
"streamd/apps/cli/modulescmd"
|
||||
"streamd/apps/proxy/proxyctlcmd"
|
||||
"streamd/apps/streamd/servecmd"
|
||||
"streamd/bootstrap"
|
||||
"streamd/modhost"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
@ -39,12 +40,12 @@ func main() {
|
|||
os.Exit(1)
|
||||
}
|
||||
} else if err := modhost.ApplyEnvModulesDir(); err != nil {
|
||||
fmt.Fprintln(os.Stderr, "[!] DRM_MODULES_DIR:", err)
|
||||
fmt.Fprintln(os.Stderr, "[!] STREAMD_MODULES_DIR / DRM_MODULES_DIR:", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
// Materialise apps/, bin/, modules/, outputs/, … next to this exe when
|
||||
// missing so a lone downloaded drm.exe becomes a GitHub-like install tree.
|
||||
// missing so a lone downloaded streamd.exe becomes a usable install tree.
|
||||
if cmd != "help" && cmd != "-h" && cmd != "--help" {
|
||||
if err := bootstrap.EnsureAndLogFor(cmd); err != nil {
|
||||
fmt.Fprintln(os.Stderr, "[!] bootstrap:", err)
|
||||
|
|
@ -102,23 +103,25 @@ func peelGlobalFlags(args []string) (modulesDir string, rest []string) {
|
|||
}
|
||||
|
||||
func usage() {
|
||||
fmt.Fprint(os.Stderr, `drm — DRM capture / restream toolchain
|
||||
fmt.Fprint(os.Stderr, `streamd — capture / restream toolchain
|
||||
|
||||
Usage:
|
||||
drm [--modules-dir DIR] modules
|
||||
drm [--modules-dir DIR] capture --app NAME [--channel ID | --all] [--wvd PATH]
|
||||
drm [--modules-dir DIR] catalog --app NAME --channel ID [--keys] [--json]
|
||||
drm agent run|status|devices|enqueue|cancel [--config …]
|
||||
drm serve [--bind …] [--data …] [--token …]
|
||||
drm proxy build|push|install-ca|start|stop|reset|discover|pull|clear-proxy|transparent
|
||||
streamd [--modules-dir DIR] modules
|
||||
streamd [--modules-dir DIR] capture --app NAME [--channel ID | --all] [--wvd PATH]
|
||||
streamd [--modules-dir DIR] catalog --app NAME --channel ID [--keys] [--json]
|
||||
streamd agent run|status|devices|enqueue|cancel [--config …]
|
||||
streamd serve [--bind …] [--data …] [--token …]
|
||||
streamd proxy build|push|install-ca|start|stop|reset|discover|pull|clear-proxy|transparent
|
||||
|
||||
Global flags:
|
||||
--modules-dir DIR provider folder (default: <install>/modules, or $DRM_MODULES_DIR)
|
||||
--modules-dir DIR provider folder (default: <install>/modules, or $STREAMD_MODULES_DIR)
|
||||
|
||||
Providers live under modules/<name>/ (Go source + module-publish.yaml).
|
||||
Local module.yaml holds secrets and is never published; release zips ship
|
||||
module-publish.yaml renamed to module.yaml. The host builds modules on demand.
|
||||
|
||||
A drm binary may still be shipped as an identical compatibility copy.
|
||||
|
||||
Run any subcommand with --help for its own flags.
|
||||
`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue