How tugich/deploymenteditor works
DeploymentEditor is a visual PSADT v4 packaging editor. Users create or open a project, assemble install/uninstall/repair actions with conditions, check and generate the deployment script, then run or distribute the package. The graph preserves the documented Intune, remote execution, import, PDF, plugin, and log-reader capabilities. Several modules are represented from the source index and README rather than inspected excerpts; their links are included only where those sources identify the relationship.
Main entry points: app.rs Application State · mod.rs Editor Interface · project.rs Project Store · intune_upload.rs Intune Upload UI
Components 25
Project Editing
- Editor Interface
src/ui/mod.rs - Action Sequence
src/ui/sequence.rs - Step Properties
src/ui/inspector.rs - Condition Builder
src/condition.rs - PSADT Command Catalog
src/catalog.rs - Project Store
src/project.rs
Package Lifecycle
- Quality Check
src/validate.rs - Script Generator
src/generator.rs - Package Runner
src/system.rs
Deployment Integrations
- Intune Detection Rules
src/detection.rs - Intune Upload UI
src/ui/intune_upload.rs - Graph Uploader
src/intune.rs - Intune Package Builder
src/intunewin.rs - Remote Testing
src/remote.rs - WinGet Import
src/winget.rs - PDF Documentation
src/pdf.rs - Software Log Reader
src/logs.rs - Plugin Runner
src/plugins.rs
Editor Foundation
- Application State
src/app.rs - Resource Locations
src/paths.rs - Theme and Widgets
src/theme.rs - Script Highlighting
src/highlight.rs
Other components
- Packaging Engineer
- Microsoft Intune
- Windows PowerShell
Connections 30
- Packaging Engineer → Application State: uses
README.md - Application State → Editor Interface: drives
README.md - Editor Interface → Action Sequence: edits steps
README.md - Editor Interface → Step Properties: edits properties
README.md - Step Properties → Condition Builder: builds conditions
README.md - Application State → Project Store: loads and saves
src/app.rs - Action Sequence → Project Store: stores actions
src/ui/sequence.rs - Step Properties → PSADT Command Catalog: uses parameters
src/ui/inspector.rs - Action Sequence → PSADT Command Catalog: displays commands
src/ui/sequence.rs - Application State → Quality Check: checks package
src/app.rs - Quality Check → Project Store: reads actions
src/validate.rs - Application State → Script Generator: generates script
src/app.rs - Script Generator → Project Store: reads project
src/generator.rs - Script Generator → PSADT Command Catalog: uses command metadata
src/generator.rs - Application State → Package Runner: launches package
src/app.rs - Package Runner → Windows PowerShell: runs PowerShell
src/system.rs - Application State → Intune Detection Rules: manages detection
src/app.rs - Intune Upload UI → Graph Uploader: uploads app
src/ui/intune_upload.rs - Intune Upload UI → Intune Package Builder: builds package
src/ui/intune_upload.rs - Intune Upload UI → Intune Detection Rules: configures rule
src/ui/intune_upload.rs - Graph Uploader → Intune Package Builder: uploads encrypted package
src/intune.rs - Graph Uploader → Microsoft Intune: calls Graph
src/intune.rs - Application State → Remote Testing: starts remote test
src/app.rs - Application State → WinGet Import: imports WinGet
src/app.rs - Application State → PDF Documentation: exports documentation
README.md - Application State → Software Log Reader: opens log reader
src/app.rs - Application State → Plugin Runner: runs plugin
src/app.rs - Application State → Resource Locations: resolves resources
src/app.rs - Editor Interface → Theme and Widgets: uses styling
README.md - Editor Interface → Script Highlighting: highlights scripts