copy ignis files on every startup instead of just first.
This commit is contained in:
parent
c54e4f3d66
commit
6a40fe344c
1 changed files with 5 additions and 5 deletions
|
|
@ -23,11 +23,6 @@ if [ ! -f "$OBSIDIAN_DIR/index.html" ]; then
|
|||
echo "[ignis] Patching..."
|
||||
node /app/scripts/patch-obsidian.js "$OBSIDIAN_DIR"
|
||||
|
||||
cp /app/dist/ignis-ui.js "$OBSIDIAN_DIR/ignis-ui.js"
|
||||
cp /app/dist/shim-loader.js "$OBSIDIAN_DIR/shim-loader.js"
|
||||
cp /app/images/favicon.png "$OBSIDIAN_DIR/favicon.png"
|
||||
|
||||
|
||||
rm -rf /tmp/obsidian.deb /tmp/obsidian-deb /tmp/obsidian-pkg
|
||||
|
||||
echo "[ignis] Obsidian v${OBSIDIAN_VERSION} ready."
|
||||
|
|
@ -35,4 +30,9 @@ else
|
|||
echo "[ignis] Obsidian already set up."
|
||||
fi
|
||||
|
||||
# Always copy latest bundles (they may have been updated between rebuilds)
|
||||
cp /app/dist/ignis-ui.js "$OBSIDIAN_DIR/ignis-ui.js"
|
||||
cp /app/dist/shim-loader.js "$OBSIDIAN_DIR/shim-loader.js"
|
||||
cp /app/images/favicon.png "$OBSIDIAN_DIR/favicon.png"
|
||||
|
||||
exec node /app/server/index.js
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue