diff --git a/README.md b/README.md index 03a0296..0dcacff 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ Get an API key from **System → API Keys → Add**. ## Uninstall ```bash -bash /path/to/truenas-truecloud-patch/uninstall.sh +bash /data/truecloud-patch/uninstall.sh ``` Removes the PREINIT hook, `sitecustomize.py`, and restores the original UI diff --git a/install.sh b/install.sh index 1f78325..ef181a5 100755 --- a/install.sh +++ b/install.sh @@ -52,7 +52,8 @@ cp "$REPO_DIR/patch/patch_ui.py" "$PATCH_DIR/" cp "$REPO_DIR/patch/apply.sh" "$PATCH_DIR/" cp "$REPO_DIR/patch/create_task.py" "$PATCH_DIR/" cp "$REPO_DIR/recover.sh" "$PATCH_DIR/" -chmod +x "$PATCH_DIR/apply.sh" "$PATCH_DIR/create_task.py" "$PATCH_DIR/recover.sh" +cp "$REPO_DIR/uninstall.sh" "$PATCH_DIR/" +chmod +x "$PATCH_DIR/apply.sh" "$PATCH_DIR/create_task.py" "$PATCH_DIR/recover.sh" "$PATCH_DIR/uninstall.sh" echo "Done." echo ""