mirror of
https://github.com/zen-browser/www.git
synced 2025-07-08 01:10:02 +02:00
refactor: Update download.tsx to use "WindowsStubInstaller" instead of "WindowsInstaller" in select options
This commit is contained in:
parent
e33bb2477c
commit
a89a618cf2
1 changed files with 4 additions and 2 deletions
|
@ -22,12 +22,14 @@ function getDefaultPlatformBasedOnUserAgent() {
|
|||
return "WindowsInstaller";
|
||||
}
|
||||
if (userAgent.includes("Mac")) {
|
||||
return "MacOS";
|
||||
// TODO:
|
||||
// return "MacOS";
|
||||
return "";
|
||||
}
|
||||
if (userAgent.includes("Linux")) {
|
||||
return "Linux";
|
||||
}
|
||||
return "WindowsInstaller";
|
||||
return "";
|
||||
}
|
||||
|
||||
const formSchema = z.object({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue