🎉 first commit
This commit is contained in:
4
app/utils/os.ts
Normal file
4
app/utils/os.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// Helper to detect OS
|
||||
export const isMac = typeof navigator !== 'undefined' ? navigator.platform.toLowerCase().includes('mac') : false;
|
||||
export const isWindows = typeof navigator !== 'undefined' ? navigator.platform.toLowerCase().includes('win') : false;
|
||||
export const isLinux = typeof navigator !== 'undefined' ? navigator.platform.toLowerCase().includes('linux') : false;
|
||||
Reference in New Issue
Block a user