Glen Whitney
58469f793e
Since third-party code may not be loaded from the web in an extension, requires bundling many GeoGebra app files into the extension. Still to come: control panel for the extension.
10 lines
384 B
Bash
10 lines
384 B
Bash
# Takes one parameter, the destination directory
|
|
mkdir -p $1
|
|
cp etc/deps/jquery.js $1
|
|
cp -r etc/deps/x_ite $1
|
|
cp -r etc/deps/geotypes $1
|
|
cp -rL node_modules/vrml1to97/{deps,vrml1to97,streamToString.js} $1
|
|
cp -rL node_modules/colorsea/dist/index.esm.js $1/colorsea.js
|
|
cp -rL node_modules/colorsea/dist/index.d.ts $1/colorsea.d.ts
|
|
patch -u $1/colorsea.d.ts -i etc/colorsea_types.patch
|