I did that to avoid get confused when editing the files. Having both with the same initial name make it simple to identify the one I must edit.
8 lines
187 B
Bash
8 lines
187 B
Bash
#!/bin/bash --
|
|
|
|
sed -z 's|<<chrome[^<]*<</chrome>>||g' manifest_all.json > manifest.json
|
|
sed -i 's|<</firefox>>||g' manifest.json
|
|
sed -i 's|<<firefox>>||g' manifest.json
|
|
|
|
./zip.sh ff.zip
|