We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using the Javascript os.type() function on MacOS it returns "Darwing" instead of "Darwin"
Steps to reproduce the behavior: Use the Javascript function os.type() on MacOS.
import { os } from '@tauri-apps/api' const logOsType = async () => { const osType = await os.type() console.log({ osType }) } logOsType()
It is expected to return the string "Darwin" but it returns "Darwing". https://github.com/tauri-apps/tauri/blob/40d08a6/tooling/api/src/os.ts#L64
Operating System - Mac OS, version 12.0.1 X64 Node.js environment Node.js - 14.18.1 @tauri-apps/cli - 1.0.0-beta.10 @tauri-apps/api - 1.0.0-beta.8 Global packages npm - 6.14.15 yarn - 1.23.0-20210726.1745 Rust environment rustc - 1.56.1 cargo - 1.56.0 App directory structure /.yarn /bin /dist /node_modules /src-tauri /.git /src-node-pty /src App tauri.rs - 1.0.0-beta.8 build-type - bundle CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self' distDir - ../dist devPath - http://localhost:3000 framework - React
The text was updated successfully, but these errors were encountered:
Fixed in #2699.
Sorry, something went wrong.
fix: #2861 return platform type typo "Darwing" instead of "Darwin" (#…
7e979dc
…2862)
No branches or pull requests
Describe the bug
When using the Javascript os.type() function on MacOS it returns "Darwing" instead of "Darwin"
To Reproduce
Steps to reproduce the behavior:
Use the Javascript function os.type() on MacOS.
Expected behavior
It is expected to return the string "Darwin" but it returns "Darwing".
https://github.com/tauri-apps/tauri/blob/40d08a6/tooling/api/src/os.ts#L64
Screenshots
Platform and Versions (required):
Additional context
Stack Trace
The text was updated successfully, but these errors were encountered: