Skip to content

修正本机档案拖拉安装时错误设置origin问题#1371

Open
cyfung1031 wants to merge 2 commits intomainfrom
fix/install-origin-wrong
Open

修正本机档案拖拉安装时错误设置origin问题#1371
cyfung1031 wants to merge 2 commits intomainfrom
fix/install-origin-wrong

Conversation

@cyfung1031
Copy link
Copy Markdown
Collaborator

@cyfung1031 cyfung1031 commented Apr 24, 2026

Checklist / 检查清单

  • Fixes mentioned issues / 修复已提及的问题
  • Code reviewed by human / 代码通过人工检查
  • Changes tested / 已完成测试

Description / 描述

自 2025.07.23 的 commit d9b0eee 起,
当进行本机拖拉安装等动作时
安装的脚本会设为假链结并长期储存在 chrome.storage.local

这导致每次更新出现 fetch error (误判为网址连结脚本)

如果最初安装是网上安装,然后手动安装了本地版本,origin会被改成假链结然后完全无法取得新更新

Screenshots / 截图


测试方法1

  • 手动拖拉一个新脚本,确认被视为本地脚本而非网址连结脚

测试方法2

  • 先安装一个脚本,然后下载把脚本改一下,在本地进行手动拖拉安装

@cyfung1031 cyfung1031 added P0 🚑 需要紧急处理的内容 hotfix 需要尽快更新到扩展商店 labels Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hotfix 需要尽快更新到扩展商店 P0 🚑 需要紧急处理的内容

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant