Expand description
Platform detection and binary path utilities.
FunctionsΒ§
- binary_
candidates π - Returns candidate filenames to search for a binary (platform-dependent).
- check_
dir_ πwritable - Verifies that
diris writable by creating a temporary file in it. - default_
local_ πbin - Returns
~/.local/bin, the default install directory on Unix. - executable_
name π - Returns the platform executable filename (identity on Unix,
.exeon Windows). - find_
in_ πpath - Searches
PATHfor a binary by name, returning the first match. - home_
dir π - Returns the userβs home directory via
dirs_next. - platform_
binary_ πname - Builds the platform-specific binary name (e.g.
tempo-wallet-darwin-arm64). - platform_
tuple π - set_
executable_ πpermissions - Sets the file mode to
0o755(owner rwx, group/other rx).