Glen Whitney
7ae9dd706f
Does this simply by setting CSS properties on the canvas element. Also updates vrml1to97 and switches to using x_ite.d.ts directly from the x_ite repository (although the link will have to change once it is merged into main). Resolves #21. Resolves #23.
17 lines
953 B
Bash
17 lines
953 B
Bash
mkdir -p etc/deps/geogebra
|
|
mkdir etc/deps/x_ite
|
|
|
|
cp etc/geogebraPreamble.txt etc/deps/geogebra/api.ts
|
|
curl 'https://raw.githubusercontent.com/netless-io/netless-app/master/packages/app-geogebra/src/types/api.ts' >> etc/deps/geogebra/api.ts
|
|
|
|
cp etc/geogebraPreamble.txt etc/deps/geogebra/entry.ts
|
|
curl 'https://raw.githubusercontent.com/netless-io/netless-app/master/packages/app-geogebra/src/types/entry.ts' >> etc/deps/geogebra/entry.ts
|
|
|
|
cp etc/geogebraPreamble.txt etc/deps/geogebra/params.ts
|
|
curl 'https://raw.githubusercontent.com/netless-io/netless-app/master/packages/app-geogebra/src/types/params.ts' >> etc/deps/geogebra/params.ts
|
|
|
|
curl 'https://raw.githubusercontent.com/create3000/x_ite/development/dist/x_ite.d.ts' > etc/deps/x_ite/x_ite.d.ts.tmp
|
|
sed -i -e 's/declare//g' etc/deps/x_ite/x_ite.d.ts.tmp
|
|
cat etc/x_itePreamble.txt etc/deps/x_ite/x_ite.d.ts.tmp etc/x_itePostamble.txt > etc/deps/x_ite/x_ite.d.ts
|
|
rm etc/deps/x_ite/x_ite.d.ts.tmp
|