mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
When the binary is installed in a non-writable directory (e.g. /usr/local/bin), upgrade now automatically re-executes with sudo instead of failing with a permission error. Uses unix.Access() to check directory writability and unix.Exec() to replace the process with sudo. Skipped on Windows. Ref: #105