mouuff / go-rocket-update

Easy to use and modular library to make self updating golang programs
Other
103 stars 11 forks source link

Remove unnecessary dependency on kardianos/osext #29

Closed Contextualist closed 1 year ago

Contextualist commented 1 year ago

Go std lib provides a cross-platform implementation for os.Executable since 1.8. kardianos/osext also uses the std lib implementation for Go >= 1.8. If we don't need Go < 1.8 support, we can simply use os.Executable.