|
|
|
|
@ -45,8 +45,9 @@ cp "$script_dir/../build/electron.js" "$DIR"
|
|
|
|
|
if [[ -d "$DIR"/node_modules ]]; then
|
|
|
|
|
# cleanup of useless files in dependencies
|
|
|
|
|
for d in 'image-q/demo' \
|
|
|
|
|
'@excalidraw/excalidraw/excalidraw-assets-dev' '@excalidraw/excalidraw/dist/excalidraw.development.js' '@excalidraw/excalidraw/dist/excalidraw-with-preact.development.js' \
|
|
|
|
|
'@excalidraw/excalidraw/dist/excalidraw-assets-dev' '@excalidraw/excalidraw/dist/excalidraw.development.js' '@excalidraw/excalidraw/dist/excalidraw-with-preact.development.js' \
|
|
|
|
|
'mermaid/dist/mermaid.js' \
|
|
|
|
|
'boxicons/svg' 'boxicons/node_modules/react'/* \
|
|
|
|
|
'better-sqlite3/Release' 'better-sqlite3/deps/sqlite3.tar.gz' 'better-sqlite3/deps/sqlite3' \
|
|
|
|
|
'@jimp/plugin-print/fonts' 'jimp/browser' 'jimp/fonts'; do
|
|
|
|
|
[[ -e "$DIR"/node_modules/"$d" ]] && rm -r "$DIR"/node_modules/"$d"
|
|
|
|
|
|