Make sed commands in makefile compatible with os x
This commit is contained in:
parent
eec07e7767
commit
ea0dc4805d
|
@ -13,8 +13,8 @@ copylocal:
|
|||
|
||||
# modify index.html to use local files
|
||||
uselocal: copylocal
|
||||
sed -i 's,https://cdnjs.cloudflare.com/ajax/libs/[^\"]*/,3rdparty/,g' index.html
|
||||
sed -i 's, integrity=\".*\" crossorigin=\"anonymous\",,' index.html
|
||||
sed -i .bak 's,https://cdnjs.cloudflare.com/ajax/libs/[^\"]*/,3rdparty/,g' index.html
|
||||
sed -i .bak 's, integrity=\".*\" crossorigin=\"anonymous\",,' index.html
|
||||
|
||||
# build the electron app for various platforms
|
||||
build-electron-windows: uselocal
|
||||
|
|
Loading…
Reference in New Issue