This repository was archived by the owner on Jun 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,16 @@ cp "$script_dir/../build/electron.js" "$DIR"
44
44
45
45
if [[ -d " $DIR " /node_modules ]]; then
46
46
# cleanup of useless files in dependencies
47
- for d in ' image-q/demo' ' better-sqlite3/Release' ' better-sqlite3/deps/sqlite3.tar.gz' ' @jimp/plugin-print/fonts' ' jimp/browser' ' jimp/fonts' ; do
47
+ for d in ' image-q/demo' \
48
+ ' @excalidraw/excalidraw/excalidraw-assets-dev' ' @excalidraw/excalidraw/dist/excalidraw.development.js' ' @excalidraw/excalidraw/dist/excalidraw-with-preact.development.js' \
49
+ ' mermaid/dist/mermaid.js' \
50
+ ' better-sqlite3/Release' ' better-sqlite3/deps/sqlite3.tar.gz' ' better-sqlite3/deps/sqlite3' \
51
+ ' @jimp/plugin-print/fonts' ' jimp/browser' ' jimp/fonts' ; do
48
52
[[ -e " $DIR " /node_modules/" $d " ]] && rm -r " $DIR " /node_modules/" $d "
49
53
done
50
54
51
55
# delete all tests (there are often large images as test file for jimp etc.)
52
- for d in ' test' ' docs' ' demo' ; do
56
+ for d in ' test' ' docs' ' demo' ' example ' ; do
53
57
find " $DIR " /node_modules -name " $d " -exec rm -rf {} +
54
58
done
55
59
fi
You can’t perform that action at this time.
0 commit comments