Add fourth install step
This commit is contained in:
@@ -23,8 +23,10 @@ echo "Copying artifacts to $PUBLIC_DIR..."
|
||||
cp kobopatch.wasm "$PUBLIC_DIR/kobopatch.wasm"
|
||||
cp wasm_exec.js "$PUBLIC_DIR/wasm_exec.js"
|
||||
|
||||
# Update the cache-busting timestamp in the worker
|
||||
# Update cache-busting timestamps
|
||||
sed -i "s|kobopatch\.wasm?ts=[0-9]*|kobopatch.wasm?ts=$TS|g" "$PUBLIC_DIR/patch-worker.js"
|
||||
sed -i "s|\.js?ts=[0-9]*|.js?ts=$TS|g" "$PUBLIC_DIR/index.html"
|
||||
sed -i "s|\.css?ts=[0-9]*|.css?ts=$TS|g" "$PUBLIC_DIR/index.html"
|
||||
|
||||
echo "Build timestamp: $TS"
|
||||
echo "Done."
|
||||
|
||||
Reference in New Issue
Block a user