Skip to content

Commit 872554c

Browse files
committed
fix: Package Tauri installers instead of looking for standalone exe
- Tauri creates installer bundles (NSIS .exe and .msi) not standalone exe - Copy both installer types to release artifacts - Update README to explain installation process vs standalone executor - GUI app requires installation, standalone executor runs directly The artifacts now include: - Installers for full GUI app (NSIS and MSI) - Standalone CLI executor (no installation) - Python script executor
1 parent 190105e commit 872554c

File tree

1 file changed

+25
-9
lines changed

1 file changed

+25
-9
lines changed

.github/workflows/build-local-agent.yml

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,10 @@ jobs:
161161
New-Item -ItemType Directory -Force release | Out-Null
162162
# Copy standalone executor
163163
Copy-Item "lambda/tools/local-agent/rust-executor-standalone/target/${{ matrix.target }}/release/${{ matrix.binary_name }}" "release/${{ matrix.asset_name }}"
164-
# Copy Tauri GUI app (from shortened path on Windows)
165-
Copy-Item "D:\t\${{ matrix.target }}\release\local-agent-gui.exe" "release\local-agent-gui.exe"
164+
# Copy Tauri GUI installer (NSIS setup exe)
165+
Copy-Item "D:\t\${{ matrix.target }}\release\bundle\nsis\*.exe" "release\"
166+
# Also copy MSI installer as alternative
167+
Copy-Item "D:\t\${{ matrix.target }}\release\bundle\msi\*.msi" "release\"
166168
# Copy Python files
167169
Copy-Item "lambda/tools/local-agent/script_executor.py" release/
168170
Copy-Item "lambda/tools/local-agent/pyproject.toml" release/
@@ -173,27 +175,41 @@ jobs:
173175
174176
## Components
175177
176-
1. **local-agent-gui.exe** - GUI app for polling Step Functions activities and running automations
177-
2. **${{ matrix.asset_name }}** - Standalone CLI automation executor (no GUI)
178-
3. **script_executor.py** - Python automation executor
178+
1. **Local Agent_*_x64-setup.exe** - Installer for GUI app (Step Functions integration)
179+
2. **Local Agent_*_x64_en-US.msi** - MSI installer for GUI app (alternative)
180+
3. **${{ matrix.asset_name }}** - Standalone CLI automation executor (no installation needed)
181+
4. **script_executor.py** - Python automation executor
179182
180-
## Quick Start
183+
## Installation & Usage
181184
182185
### GUI App (Step Functions Integration):
183186
``````bash
184-
# Run the GUI app to poll activities and execute automations
185-
./local-agent-gui.exe
187+
# Install using either installer:
188+
# Option 1: Run the NSIS installer (recommended)
189+
"Local Agent_0.2.0_x64-setup.exe"
190+
191+
# Option 2: Run the MSI installer
192+
msiexec /i "Local Agent_0.2.0_x64_en-US.msi"
193+
194+
# After installation, find "Local Agent" in Start Menu
186195
``````
187196
188-
### Standalone Executor (No dependencies):
197+
### Standalone Executor (No installation required):
189198
``````bash
199+
# Just run directly - no dependencies needed!
190200
./${{ matrix.asset_name }} examples/windows_simple_test.json
191201
``````
192202
193203
### Python Executor (Requires Python):
194204
``````bash
195205
uvx --with pyautogui --with pillow --with opencv-python python script_executor.py examples/windows_simple_test.json
196206
``````
207+
208+
## What to Use When
209+
210+
- **GUI App Installer**: Full-featured app with UI for Step Functions polling
211+
- **Standalone Executor**: Quick automation testing without installation
212+
- **Python Script**: When you need to modify the automation logic
197213
"@ | Set-Content release/README.md -Encoding UTF8
198214
199215
# Package Release - Unix

0 commit comments

Comments
 (0)