You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ carapace --selfupdate nightly 2024-12-07 carapace-bin_1.0.7-SNAPSHOT-c346f9fd_windows_amd64.zip
downloading to "C:\\Users\\steam\\AppData\\Local\\Temp\\carapace-selfupdate_4158742067.zip"% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
00000000--:--:----:--:----:--:--010012.3M10012.3M00 2415k 00:00:050:00:05--:--:-- 2907k
overwrite "C:\\Users\\steam\\go\\bin\\carapace.exe.selfupdate"? [y/n]: y
extracting to "C:\\Users\\steam\\go\\bin\\carapace.exe.selfupdate"
x carapace.exe
executing "C:\\Users\\steam\\go\\bin\\carapace.exe.selfupdate --version"
carapace-bin 1.0.7-SNAPSHOT-c346f9fd (2024-12-07T01:07:44Z) [c346f9fd7ab527754bd896422974481346978ea2]
overwrite "C:\\Users\\steam\\go\\bin\\carapace.exe"? [y/n]: y
moving to "C:\\Users\\steam\\go\\bin\\carapace.exe"
Error: rename C:\Users\steam\go\bin\carapace.exe.selfupdate C:\Users\steam\go\bin\carapace.exe: Access is denied.
Usage:
selfupdate [source] [tag] [asset] [flags]
Flags:
-a,--all show all tags/assets
-f,--force force
-h,--help help for selfupdate
Expected Behavior
Installs successfully.
Steps To Reproduce
No response
Version
v0.0.6
Anything else?
Seems windows has issues swapping the running executable:
Current Behavior
Unable to rename file on windows:
Expected Behavior
Installs successfully.
Steps To Reproduce
No response
Version
v0.0.6
Anything else?
Seems windows has issues swapping the running executable:
https://github.com/sanbornm/go-selfupdate/blob/e1c03e3d6ac7f1c43cf57c51a28cac3b31041ed0/selfupdate/selfupdate.go#L279
The text was updated successfully, but these errors were encountered: