init submodule on npm install

This commit is contained in:
codetypes committed 2025-03-17 14:17:23 +08:00
1 parent 90d2e30ff7
commit f37bf6b48a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@
},
"scripts": {
"tsc-check": "tsc --noEmit",
"postinstall": "tsx pre-commit.ts",
"postinstall": "git submodule update --init --recursive && tsx pre-commit.ts",
"dev": "vite",
"build": "tsc && vite build && electron-builder",
"preview": "vite preview",