mirror of
https://github.com/Nystik-gh/ignis.git
synced 2026-06-17 04:35:53 +00:00
copy ignis files on every startup instead of just first.
This commit is contained in:
@@ -23,11 +23,6 @@ if [ ! -f "$OBSIDIAN_DIR/index.html" ]; then
|
|||||||
echo "[ignis] Patching..."
|
echo "[ignis] Patching..."
|
||||||
node /app/scripts/patch-obsidian.js "$OBSIDIAN_DIR"
|
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
|
rm -rf /tmp/obsidian.deb /tmp/obsidian-deb /tmp/obsidian-pkg
|
||||||
|
|
||||||
echo "[ignis] Obsidian v${OBSIDIAN_VERSION} ready."
|
echo "[ignis] Obsidian v${OBSIDIAN_VERSION} ready."
|
||||||
@@ -35,4 +30,9 @@ else
|
|||||||
echo "[ignis] Obsidian already set up."
|
echo "[ignis] Obsidian already set up."
|
||||||
fi
|
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
|
exec node /app/server/index.js
|
||||||
|
|||||||
Reference in New Issue
Block a user