Skip to content

Commit 487e665

Browse files
committed
Check in static rules_list.js
1 parent a930329 commit 487e665

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

chromium/rule_list.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
var rule_list = [
2+
"rules/default.rulesets",
3+
];

makecrx.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@ cd ../..
8383

8484
cp src/$RULESETS pkg/crx/rules/default.rulesets
8585

86-
echo 'var rule_list = [' > pkg/crx/rule_list.js
87-
for i in $(find pkg/crx/rules/ -maxdepth 1 \( -name '*.xml' -o -name '*.rulesets' \))
88-
do
89-
echo "\"rules/$(basename $i)\"," >> pkg/crx/rule_list.js
90-
done
91-
echo '];' >> pkg/crx/rule_list.js
9286
sed -i -e "s/VERSION/$VERSION/g" pkg/crx/manifest.json
9387
#sed -i -e "s/VERSION/$VERSION/g" pkg/crx/updates.xml
9488
#sed -e "s/VERSION/$VERSION/g" pkg/updates-master.xml > pkg/crx/updates.xml

0 commit comments

Comments
 (0)