nwjs_version = v0.69.1 fetch-nwjs-sdk-bin: mkdir -p dl cd dl && curl -o nwjs-sdk-$(nwjs_version)-linux-x64.tar.gz https://dl.nwjs.io/$(nwjs_version)/nwjs-sdk-$(nwjs_version)-linux-x64.tar.gz unpack-nwjs-sdk-bin: cd dl && aunpack nwjs-sdk-$(nwjs_version)-linux-x64.tar.gz mkdir -p bin mv dl/nwjs-sdk-$(nwjs_version)-linux-x64 bin fetch-nwjs-prod-bin: mkdir -p dl cd dl && curl -o nwjs-$(nwjs_version)-linux-x64.tar.gz https://dl.nwjs.io/$(nwjs_version)/nwjs-$(nwjs_version)-linux-x64.tar.gz unpack-nwjs-prod-bin: cd dl && aunpack nwjs-$(nwjs_version)-linux-x64.tar.gz mkdir -p bin mv dl/nwjs-$(nwjs_version)-linux-x64 bin fetch-and-unpack-sdk: fetch-nwjs-sdk-bin unpack-nwjs-sdk-bin fetch-and-unpack-prod: fetch-nwjs-prod-bin unpack-nwjs-prod-bin fetch-and-unpack: fetch-and-unpack-sdk fetch-and-unpack-prod use-sdk: test -f bin/nwjs || rm -r bin/nwjs ln -s nwjs-sdk-$(nwjs_version)-linux-x64 bin/nwjs use-prod: test -f bin/nwjs || rm -r bin/nwjs ln -s nwjs-$(nwjs_version)-linux-x64 bin/nwjs start: bin/nwjs/nw .