chore: generate
This commit is contained in:
@@ -57,7 +57,10 @@ const createPlatform = (): Platform => {
|
|||||||
|
|
||||||
const isWslEnabled = async () => {
|
const isWslEnabled = async () => {
|
||||||
if (os !== "windows") return false
|
if (os !== "windows") return false
|
||||||
return window.api.getWslConfig().then((config) => config.enabled).catch(() => false)
|
return window.api
|
||||||
|
.getWslConfig()
|
||||||
|
.then((config) => config.enabled)
|
||||||
|
.catch(() => false)
|
||||||
}
|
}
|
||||||
|
|
||||||
const wslHome = async () => {
|
const wslHome = async () => {
|
||||||
@@ -327,7 +330,15 @@ render(() => {
|
|||||||
return (
|
return (
|
||||||
<PlatformProvider value={platform}>
|
<PlatformProvider value={platform}>
|
||||||
<AppBaseProviders locale={locale.latest}>
|
<AppBaseProviders locale={locale.latest}>
|
||||||
<Show when={!defaultServer.loading && !sidecar.loading && !windowConfig.loading && !windowCount.loading && !locale.loading}>
|
<Show
|
||||||
|
when={
|
||||||
|
!defaultServer.loading &&
|
||||||
|
!sidecar.loading &&
|
||||||
|
!windowConfig.loading &&
|
||||||
|
!windowCount.loading &&
|
||||||
|
!locale.loading
|
||||||
|
}
|
||||||
|
>
|
||||||
{(_) => {
|
{(_) => {
|
||||||
return (
|
return (
|
||||||
<AppInterface
|
<AppInterface
|
||||||
|
|||||||
Reference in New Issue
Block a user