Frontend of Uchin2, will be installed in user multi-platform devices
- Install code package
npm i
npm run tauri dev
- After occur the app window
Right-click in the app window
- find the WebBrowser dev window
Click the Inspect Element
import info, warn, error, and debug functions,for example:
import { info } from "tauri-plugin-log-api";
info("[ui] click btn");
https://tauri.app/v1/api/js/path/#localdatadir
meta文件名固定为‘mata’,blob文件名自动生成。默认生成最新的v6版本镜像,以下为命令:
./nydus-image create -t dir-rafs -B ${生成镜像文件目录}/meta -D ${生成镜像文件目录} ${源文件夹}
第一步:将文件或者文件夹转为targz压缩包(如果是targz文件直接跳到第二步) 第二步: ./nydus-image create -t targz-rafs -B ${生成镜像文件目录}/meta -D ${生成镜像文件目录} ${targz源文件路径}
https://blog.csdn.net/aiyanzielf/article/details/108379400
./nydus-image unpack -b ${blob文件路径} --output ./a.tar ${meta文件路径}