Project

General

Profile

« Previous | Next » 

Revision fbf0503f

Added by jahoti almost 2 years ago

Support building CRXs

Chromium now builds CRXs rather than ZIPs when given a key.

View differences:

lib_build.sh
292 292
}
293 293

  
294 294
make_zip() (
295
    cd "$BUILDDIR"
296
    ${HAKETILO_ZIP:-zip -r} build.zip *;;
295
    cd "$PACKDIR"
296
    if [ "x$KEY" = x ]; then
297
	${HAKETILO_ZIP:-zip -r} build.zip *;
298
    else
299
	${HAKETILO_CHROMIUM:-chromium} --pack-extension="$(realpath inner)" --pack-extension-key="$KEY"
300
	mv *.crx build.zip
301
    fi
297 302
)

Also available in: Unified diff