Remove udev rules, add GNOME desktop entry & SVG icon, and support V4L2-only open on Linux
This commit is contained in:
7 files changed
+165
-94
No files matched your search
@@ -29,10 +29,6 @@ run = "cargo test --workspace"
|
||||
description = "Run the automated live hardware GUI verification sequence"
|
||||
run = "INSTA360_GUI_SELF_TEST=1 cargo run --release -p insta360-link-gui"
|
||||
|
||||
[tasks.udev-install]
|
||||
description = "Install Linux udev rules for non-root USB access to Insta360 Link webcams"
|
||||
run = "sudo cp udev/99-insta360-link.rules /etc/udev/rules.d/99-insta360-link.rules && sudo udevadm control --reload-rules && sudo udevadm trigger"
|
||||
|
||||
[tasks.package-release]
|
||||
description = "Build and package release binaries for a target (usage: mise run package-release [target] [version])"
|
||||
run = '''
|
||||
@@ -96,7 +92,7 @@ else
|
||||
cp "target/${TARGET}/release/insta360-link-ctl" "$STAGE_DIR/"
|
||||
cp "target/${TARGET}/release/insta360-link-server" "$STAGE_DIR/"
|
||||
cp README.md "$STAGE_DIR/"
|
||||
cp -r udev "$STAGE_DIR/"
|
||||
cp -r assets "$STAGE_DIR/"
|
||||
tar -C dist -czf "dist/${STAGE_NAME}.tar.gz" "$STAGE_NAME"
|
||||
echo "Packaged dist/${STAGE_NAME}.tar.gz"
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user