Commit be51a7b
authored
feat: include mutagen binary in installer (#47)
`Publish.ps1` now downloads (if unmodified) the necessary mutagen files
from our GCS bucket. These files aren't checked into the repo since they
are large, but they will be cached and ignored in the workdir.
`mutagen.exe` and `mutagen-agents.tar.gz` will appear in the same
directory as `wintun.dll` in the install.
```powershell
PS C:\Users\dean\git\coder-desktop-windows> ls .\publish\buildtemp-1.2.3.4-x64\vpn
Directory: C:\Users\dean\git\coder-desktop-windows\publish\buildtemp-1.2.3.4-x64\vpn
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 1/03/2025 12:02 5431 LICENSE.WINTUN.txt
-a---- 10/03/2025 11:58 17964207 mutagen-agents.tar.gz
-a---- 10/03/2025 11:58 13797376 mutagen.exe
-a---- 1/03/2025 15:20 427552 wintun.dll
```
Updating to a new mutagen version is as simple as updating
`$mutagenVersion` in `Publish.ps1`.
Closes #251 parent 8e6ec03 commit be51a7b
2 files changed
+45
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
86 | 110 | | |
87 | 111 | | |
88 | 112 | | |
| |||
145 | 169 | | |
146 | 170 | | |
147 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
148 | 190 | | |
149 | 191 | | |
150 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments