Commit 13d8b73d authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

use Cesium v0.17.0

parent 727be4db
......@@ -18,6 +18,8 @@ src/nw/cesium/fonts
src/nw/cesium/img
src/nw/cesium/lib
src/nw/cesium/config.js
src/nw/cesium/license
src/nw/cesium/api
src/nw/cesium/*.html
src/nw/cesium/manifest.json
......@@ -36,4 +38,4 @@ arch/windows/ubuntu*
arch/windows/nw*
arch/windows/LICENSE.txt
.idea/
\ No newline at end of file
.idea/
......@@ -18,9 +18,9 @@ fi
# Install Cesium web
if [[ ! -f $ROOT_DIR/src/nw/cesium/index.html ]]; then
mkdir cesium_unzip && cd cesium_unzip
wget https://github.com/duniter/cesium/releases/download/v0.12.7/cesium-v0.12.7-web.zip
unzip cesium-v0.12.7-web.zip
rm cesium-v0.12.7-web.zip
wget https://github.com/duniter/cesium/releases/download/v0.17.0/cesium-v0.17.0-web.zip
unzip cesium-v0.17.0-web.zip
rm cesium-v0.17.0-web.zip
sed -i 's/<script src="config.js"><\/script>/<script src="config.js"><\/script><script src="node.js"><\/script>/' "index.html"
sed -i 's/<script src="config.js"><\/script>/<script src="config.js"><\/script><script src="node.js"><\/script>/' "debug.html"
mv * "$ROOT_DIR/src/nw/cesium/"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment