Repository navigation
Commit 7a84ca7
authored
Release: sign a copy of the exe and write it back in place (#508)
Inside tauri build, ssign's in-place signing failed with "atomically
replacing ...netscli-gui.exe: Access is denied (os error 5)": the bundler
still holds the patched exe open without delete sharing, so a rename over
it is refused. This lost v0.3.4 its Windows build.
Sign into a temporary directory with -o and copy the bytes back over the
original, which needs only write access, retrying for up to ten seconds.
Reproduced on a Windows runner with the real signer and the exe held open
without FileShare.Delete: the old wrapper fails with the same error, the new
one exits 0 and Get-AuthenticodeSignature reports Valid.1 parent fa30d73 commit 7a84ca7
1 file changed
Lines changed: 39 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
95 | 107 | | |
96 | | - | |
| 108 | + | |
97 | 109 | | |
98 | 110 | | |
99 | 111 | | |
100 | 112 | | |
101 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
102 | 140 | | |
103 | 141 | | |
104 | 142 | | |
| |||
0 commit comments