mirror of
https://github.com/openziti/zrok.git
synced 2025-01-11 00:18:43 +01:00
Merge branch 'consolidate-share-scripts' into linux-downloads
This commit is contained in:
commit
239f2f2308
@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
# nfpm supporting files
|
# nfpm supporting files
|
||||||
|
|
||||||
These files are sourced by nfpm when invoked by goreleaser to build Linux packages, and by the Docker BuildKit build to build Docker release images.
|
These files are sourced by nfpm when invoked by goreleaser to build Linux packages, and by BuildKit when building the Docker images.
|
||||||
|
@ -7,11 +7,11 @@ function OsTabs(props) {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// Based on the OS or any other client-side condition, set the default value
|
// Based on the OS or any other client-side condition, set the default value
|
||||||
const tabs = ['iOS', 'Android', 'Mac OS', 'Windows', 'Linux']
|
const tabs = ['Mac OS', 'Windows', 'Linux']
|
||||||
if (tabs.includes(osName)) {
|
if (tabs.includes(osName)) {
|
||||||
setDefaultValue(osName);
|
setDefaultValue(osName);
|
||||||
} else {
|
} else {
|
||||||
setDefaultValue('Windows');
|
setDefaultValue('Linux');
|
||||||
}
|
}
|
||||||
}, []); // The empty dependency array ensures this runs once after component mount
|
}, []); // The empty dependency array ensures this runs once after component mount
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user