From b76c0be23ae9f552de9d44a55b3e6c8fd03f8427 Mon Sep 17 00:00:00 2001 From: Nato Boram Date: Thu, 4 Apr 2019 18:18:05 -0400 Subject: [PATCH] +win script --- publish-to-ipfs.bat | 2 ++ publish-to-ipfs.sh | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 publish-to-ipfs.bat diff --git a/publish-to-ipfs.bat b/publish-to-ipfs.bat new file mode 100644 index 0000000..b0d534f --- /dev/null +++ b/publish-to-ipfs.bat @@ -0,0 +1,2 @@ +@echo off +ipfs add --recursive --quieter --wrap-with-directory --chunker=rabin index.html app.js gateways.json > lastpubver diff --git a/publish-to-ipfs.sh b/publish-to-ipfs.sh index 9b02be7..52d8c70 100755 --- a/publish-to-ipfs.sh +++ b/publish-to-ipfs.sh @@ -1,3 +1,2 @@ -#! /usr/bin/env bash - -ipfs add -wQ app.js index.html gateways.json > lastpubver +#!/bin/sh +ipfs add --recursive --quieter --wrap-with-directory --chunker=rabin index.html app.js gateways.json > lastpubver