diff --git a/block/.gitignore b/block/.gitignore index b74d4e1..0a6baf2 100644 --- a/block/.gitignore +++ b/block/.gitignore @@ -1,5 +1,5 @@ # Auto-generated scripts annoyances.user.js -isdcac.user.js +idcac.user.js *.json *.jsonp diff --git a/generate/idcac/.gitignore b/generate/idcac/.gitignore index 420cab5..a27162e 100644 --- a/generate/idcac/.gitignore +++ b/generate/idcac/.gitignore @@ -1,3 +1,3 @@ -isdcac.user.js +idcac.user.js extension.zip extension/ diff --git a/generate/idcac/generate.sh b/generate/idcac/generate.sh index 3f22da4..860e3b7 100644 --- a/generate/idcac/generate.sh +++ b/generate/idcac/generate.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -euo pipefail -go run main.go -output "../../block/isdcac.user.js" +go run main.go -output "../../block/idcac.user.js" diff --git a/generate/idcac/main.go b/generate/idcac/main.go index 26c92ca..338ecd5 100644 --- a/generate/idcac/main.go +++ b/generate/idcac/main.go @@ -114,11 +114,11 @@ func hashFile(path string) (hex string, err error) { return fmt.Sprintf("%x", h.Sum(nil)), nil } -const extensionURL = "https://addons.mozilla.org/en-US/firefox/addon/istilldontcareaboutcookies" +const extensionURL = "https://addons.mozilla.org/en/firefox/addon/istilldontcareaboutcookies" func main() { var ( - scriptTarget = flag.String("output", "isdcac.user.js", "Path to output file") + scriptTarget = flag.String("output", "idcac.user.js", "Path to output file") ) flag.Parse()