Commit 1765847
committed
fix: handle archive directory structure in install script
The tar.gz and zip archives contain a parent directory with the binary
inside. Updated extraction logic to:
- Use --strip-components=1 for tar.gz to extract without parent dir
- Move contents up one level for zip files to handle nested structure
Tested full installation process and verified binary works correctly.1 parent 2036ee1 commit 1765847
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
| |||
0 commit comments