PNP Settings
This commit is contained in:
parent
5bcf71ef2c
commit
5d110964b9
27 changed files with 562 additions and 149 deletions
10
ts/OS.ts
10
ts/OS.ts
|
@ -36,3 +36,13 @@ export const getName = (): string => {
|
|||
}
|
||||
return 'Linux';
|
||||
};
|
||||
|
||||
export const getClassName = (): string => {
|
||||
if (isMacOS()) {
|
||||
return 'os-macos';
|
||||
}
|
||||
if (isWindows()) {
|
||||
return 'os-windows';
|
||||
}
|
||||
return 'os-linux';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue