mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-01-07 21:44:02 -05:00
20 lines
420 B
Bash
Executable File
20 lines
420 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd "$(dirname "$0")/.." || exit
|
|
|
|
if command -v npm &>/dev/null; then
|
|
echo "npm is installed"
|
|
else
|
|
echo "npm is not installed. Please install npm first."
|
|
exit 1
|
|
fi
|
|
|
|
# Install the GUI and its dependencies
|
|
npm install
|
|
# Install PDF-to-Markdown components in this order
|
|
npm install -D patch-package
|
|
npm install -D pdfjs-dist
|
|
npm install -D github:jzillmann/pdf-to-markdown#modularize
|
|
|
|
npx svelte-kit sync
|