diff --git a/.env.example b/.env.example new file mode 100644 index 0000000000..6d0410951d --- /dev/null +++ b/.env.example @@ -0,0 +1 @@ +NODE_OPTIONS=--max-old-space-size=8000 diff --git a/.gitignore b/.gitignore index 29e36a9fc8..5524944099 100644 --- a/.gitignore +++ b/.gitignore @@ -41,6 +41,7 @@ stats.html # ENV .env .env.* +!.env.example # Local local diff --git a/docs/dev.md b/docs/dev.md index 9a781314a9..721f557245 100644 --- a/docs/dev.md +++ b/docs/dev.md @@ -31,6 +31,12 @@ corepack prepare yarn@4.6.0 --activate yarn install ``` +### ENV + +```bash +copy .env.example .env +``` + ### Start ```bash diff --git a/src/renderer/src/pages/home/Tabs/index.tsx b/src/renderer/src/pages/home/Tabs/index.tsx index 0225d9e08a..f4190f192a 100644 --- a/src/renderer/src/pages/home/Tabs/index.tsx +++ b/src/renderer/src/pages/home/Tabs/index.tsx @@ -188,6 +188,7 @@ const CustomTabs = styled.div` padding: 6px 0; border-bottom: 1px solid var(--color-border); background: transparent; + -webkit-app-region: no-drag; [navbar-position='top'] & { padding-top: 2px; }