os-js v2.0.0-alpha.1
[2.0.0-alpha.1]
-
1091d6d(#419) 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 EOLconst in JS has been modified into a functioneol()fix import issues in frameworks likenext.js
- Renamed