Jelajahi Sumber

Proper order for moving the compressed file into the static directory

lsileoni 1 tahun lalu
induk
melakukan
f1dedf5a74
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      incubator/x86emu/v86starter.sh

+ 2 - 2
incubator/x86emu/v86starter.sh

@@ -39,10 +39,10 @@ build()
 	mkdir -p "$ROOT_DIR/www/third-party"
 	mkdir -p "$ROOT_DIR/www/static"
 
-	# Copy necessary files to deployment directory
+	# Copy/move necessary files to deployment directory
+	mv "$VM_DIR/v86/images/image.bin" "$ROOT_DIR/www/static/image.bin"
 	cp "$VM_DIR/v86/build/libv86.js" "$ROOT_DIR/www/third-party/libv86.js"
 	cp "$VM_DIR/v86/build/v86.wasm" "$ROOT_DIR/www/third-party/v86.wasm"
-	cp "$VM_DIR/v86/images/debian-state-base.bin" "$ROOT_DIR/www/static/image.bin"
 	cp -r "$VM_DIR/v86/images/debian-9p-rootfs-flat/" "$ROOT_DIR/www/static/9p-rootfs/"
 }