You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fms/bash/plugin.sh

9 lines
206 B

#!/bin/bash
yarn export
rm -rf plugin/popup
mkdir plugin/popup
mv out/* plugin/popup
sed -i 's|href="/|href="/popup/|g' ./plugin/popup/index.html
sed -i 's|src="/|src="/popup/|g' ./plugin/popup/index.html