[PR #4468] [MERGED] feat: portable version of hoppscotch-agent #4820

Closed
opened 2026-03-17 02:19:13 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4468
Author: @CuriousCorrelation
Created: 10/24/2024
Status: Merged
Merged: 10/24/2024
Merged by: @AndrewBastin

Base: nextHead: agent/feat/portable-exe-v1


📝 Commits (10+)

  • 57d00c6 feat: constrain agent to single instance
  • 38499c8 feat: webview2 auto-installer for portable exec
  • 6210c83 fix: better setup message to guide users
  • 6b527ac fix: file access conflict in WebView2 installer
  • c357239 fix: code isolation and error msg spacing
  • ab7b92f fix: error variant on non-windows platforms
  • 9bd4f84 feat: distinct feature set for portable version
  • fab937d feat: tauri conf file for portable builds
  • 7d0da80 fix: tempfile missing with portable feature
  • e2d0773 fix: missing vcredist on newer Windows installs

📊 Changes

14 files changed (+1009 additions, -139 deletions)

View changed files

📝 packages/hoppscotch-agent/devenv.lock (+12 -20)
packages/hoppscotch-agent/src-tauri/.cargo/config.toml (+25 -0)
📝 packages/hoppscotch-agent/src-tauri/Cargo.lock (+409 -25)
📝 packages/hoppscotch-agent/src-tauri/Cargo.toml (+12 -1)
📝 packages/hoppscotch-agent/src-tauri/capabilities/default.json (+11 -0)
packages/hoppscotch-agent/src-tauri/src/dialog.rs (+58 -0)
📝 packages/hoppscotch-agent/src-tauri/src/lib.rs (+70 -42)
📝 packages/hoppscotch-agent/src-tauri/src/model.rs (+13 -0)
📝 packages/hoppscotch-agent/src-tauri/src/updater.rs (+55 -27)
📝 packages/hoppscotch-agent/src-tauri/src/util.rs (+67 -21)
packages/hoppscotch-agent/src-tauri/src/webview/error.rs (+15 -0)
packages/hoppscotch-agent/src-tauri/src/webview/mod.rs (+212 -0)
📝 packages/hoppscotch-agent/src-tauri/tauri.conf.json (+2 -3)
packages/hoppscotch-agent/src-tauri/tauri.portable.conf.json (+48 -0)

📄 Description

Portable Version of Hoppscotch Agent

This PR implements a portable version of the Hoppscotch Agent for all platforms with some specific changes for Windows. This can run without installation or administrative privileges.

Closes HFE-624


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4468 **Author:** [@CuriousCorrelation](https://github.com/CuriousCorrelation) **Created:** 10/24/2024 **Status:** ✅ Merged **Merged:** 10/24/2024 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `next` ← **Head:** `agent/feat/portable-exe-v1` --- ### 📝 Commits (10+) - [`57d00c6`](https://github.com/hoppscotch/hoppscotch/commit/57d00c6f0712235a40d987ab244e066b8a5c4119) feat: constrain agent to single instance - [`38499c8`](https://github.com/hoppscotch/hoppscotch/commit/38499c863b8e87b0122215f06cdef3cd011728b7) feat: `webview2` auto-installer for portable exec - [`6210c83`](https://github.com/hoppscotch/hoppscotch/commit/6210c83414a0b71e96135f5e92fc794d50145845) fix: better setup message to guide users - [`6b527ac`](https://github.com/hoppscotch/hoppscotch/commit/6b527acda68d15a19120606748b825868475b44a) fix: file access conflict in `WebView2` installer - [`c357239`](https://github.com/hoppscotch/hoppscotch/commit/c35723925a120461d870c2a8ee2bd1fdde9a3a40) fix: code isolation and error msg spacing - [`ab7b92f`](https://github.com/hoppscotch/hoppscotch/commit/ab7b92f73b5baa2f323f5b2d7cb491de404fca8a) fix: error variant on non-windows platforms - [`9bd4f84`](https://github.com/hoppscotch/hoppscotch/commit/9bd4f8440a0fd4a92bb66318c5472c2492e4744e) feat: distinct feature set for portable version - [`fab937d`](https://github.com/hoppscotch/hoppscotch/commit/fab937df94a62542eb1d24cf48b9facc6a3ffb44) feat: tauri `conf` file for portable builds - [`7d0da80`](https://github.com/hoppscotch/hoppscotch/commit/7d0da805113de61037c406f3a65fb32450f2fa92) fix: `tempfile` missing with `portable` feature - [`e2d0773`](https://github.com/hoppscotch/hoppscotch/commit/e2d0773ba5499030cc5b187dd9320ca3ce0b82ec) fix: missing `vcredist` on newer Windows installs ### 📊 Changes **14 files changed** (+1009 additions, -139 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-agent/devenv.lock` (+12 -20) ➕ `packages/hoppscotch-agent/src-tauri/.cargo/config.toml` (+25 -0) 📝 `packages/hoppscotch-agent/src-tauri/Cargo.lock` (+409 -25) 📝 `packages/hoppscotch-agent/src-tauri/Cargo.toml` (+12 -1) 📝 `packages/hoppscotch-agent/src-tauri/capabilities/default.json` (+11 -0) ➕ `packages/hoppscotch-agent/src-tauri/src/dialog.rs` (+58 -0) 📝 `packages/hoppscotch-agent/src-tauri/src/lib.rs` (+70 -42) 📝 `packages/hoppscotch-agent/src-tauri/src/model.rs` (+13 -0) 📝 `packages/hoppscotch-agent/src-tauri/src/updater.rs` (+55 -27) 📝 `packages/hoppscotch-agent/src-tauri/src/util.rs` (+67 -21) ➕ `packages/hoppscotch-agent/src-tauri/src/webview/error.rs` (+15 -0) ➕ `packages/hoppscotch-agent/src-tauri/src/webview/mod.rs` (+212 -0) 📝 `packages/hoppscotch-agent/src-tauri/tauri.conf.json` (+2 -3) ➕ `packages/hoppscotch-agent/src-tauri/tauri.portable.conf.json` (+48 -0) </details> ### 📄 Description ## Portable Version of Hoppscotch Agent This PR implements a portable version of the Hoppscotch Agent for all platforms with some specific changes for Windows. This can run without installation or administrative privileges. Closes HFE-624 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:19:13 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4820
No description provided.