mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-11 12:37:34 +02:00
617 B
617 B
os, os-js
| os | os-js |
|---|---|
| minor | minor |
The os plugin is recieving a few changes to improve consistency and add new features:
- Renamed
Kindenum toOsTypeandkind()function toos_type(). - Added
family(),exe_extension(), andhostname()functions and their equivalents for JS. - Removed
tempdir()function and its equivalent on JS, usestd::env::temp_dirinstead oftemp_dirfromtauri::path::PathResolver::temp_dirandpath.tempDiron JS. - Modified
platform()implementation to returnwindowsinstead ofwin32andmacosinstead ofdarwinto align with Rust'sstd::env::consts::OS