[PR #223] [CLOSED] feat: add windows compatibility (#133) #382

Closed
opened 2026-02-16 01:15:48 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/223
Author: @listeng
Created: 4/17/2025
Status: Closed

Base: mainHead: add-windows-compatibility


📝 Commits (1)

📊 Changes

7 files changed (+56 additions, -13 deletions)

View changed files

📝 internal/core/plugin_manager/local_runtime/environment_python.go (+11 -2)
📝 internal/core/plugin_manager/local_runtime/run.go (+1 -0)
📝 internal/core/plugin_manager/media_transport/installed_bucket.go (+21 -4)
📝 internal/core/plugin_manager/media_transport/package_bucket.go (+15 -2)
📝 internal/oss/local/local_storage.go (+3 -2)
📝 pkg/entities/plugin_entities/identity.go (+2 -0)
📝 pkg/plugin_packager/decoder/zip.go (+3 -3)

📄 Description

add windows compatibility (#133)

  1. Use the filepath.ToSlash() function to ensure slash normalization.
  2. Temporarily replace (:) with ($) symbols in Win.
  3. Force utf8 in Win to avoid garbage string.
  4. Compatible paths for python executable programs in Win.

🔄 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/langgenius/dify-plugin-daemon/pull/223 **Author:** [@listeng](https://github.com/listeng) **Created:** 4/17/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `add-windows-compatibility` --- ### 📝 Commits (1) - [`917245a`](https://github.com/langgenius/dify-plugin-daemon/commit/917245a9a026ffac77e7c33c6ecfb474737922fe) feat: add windows compatibility (#133) ### 📊 Changes **7 files changed** (+56 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `internal/core/plugin_manager/local_runtime/environment_python.go` (+11 -2) 📝 `internal/core/plugin_manager/local_runtime/run.go` (+1 -0) 📝 `internal/core/plugin_manager/media_transport/installed_bucket.go` (+21 -4) 📝 `internal/core/plugin_manager/media_transport/package_bucket.go` (+15 -2) 📝 `internal/oss/local/local_storage.go` (+3 -2) 📝 `pkg/entities/plugin_entities/identity.go` (+2 -0) 📝 `pkg/plugin_packager/decoder/zip.go` (+3 -3) </details> ### 📄 Description add windows compatibility (#133) 1. Use the filepath.ToSlash() function to ensure slash normalization. 2. Temporarily replace (:) with ($) symbols in Win. 3. Force utf8 in Win to avoid garbage string. 4. Compatible paths for python executable programs in Win. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:15:48 -05:00
yindo closed this issue 2026-02-16 01:15:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#382