Glen Whitney
e56090cd7e
So far, plugin only handles VRML. But it loads as a temporary plugin in Firefox OK, and it generates viewers as necessary, including overlaying existing images that are links to VRML files.
13 lines
557 B
Bash
13 lines
557 B
Bash
# Takes one parameter, the destination directory
|
|
mkdir -p $1/deps/x_ite/assets/images
|
|
mkdir -p $1/deps/x_ite/assets/components
|
|
cp etc/manifest.json $1
|
|
cp etc/deps/x_ite/x_ite.css $1/deps/x_ite
|
|
cp etc/deps/x_ite/assets/images/logo.128.png $1/deps/x_ite/assets/images
|
|
cp etc/deps/x_ite/x_ite.mjs $1/deps/x_ite
|
|
cp etc/deps/x_ite/assets/components/* $1/deps/x_ite/assets/components
|
|
npx rollup public/js/giveAwrl.js --dir extension
|
|
|
|
# sed -i -e 's/import..meta..//g' extension/giveAwrl.js
|
|
# sed -i -e 's/return "MODULE"/return "BROWSER"/g' extension/giveAwrl.js
|