Skip to content

fix(mem-swap): 修复无法在无管理员权限下调用的问题#2587

Draft
tangge233 wants to merge 13 commits intodevfrom
fix/mem-swap
Draft

fix(mem-swap): 修复无法在无管理员权限下调用的问题#2587
tangge233 wants to merge 13 commits intodevfrom
fix/mem-swap

Conversation

@tangge233
Copy link
Copy Markdown
Contributor

No description provided.

@pcl-ce-automation pcl-ce-automation bot added 🛠️ 等待审查 Pull Request 已完善,等待维护者或负责人进行代码审查 size: L PR 大小评估:大型 labels Mar 10, 2026
Copy link
Copy Markdown
Contributor

@ruattd ruattd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. 用基于 RPC 的 LifecycleCommandHandler 而不是自己处理参数,申请管理员的特性把 PromoteService 改造一下复用已存在的权限,另外注意改权限不要影响其他线程
  2. 不要在 Essentials 里面新建文件夹了,以及这种非核心服务不适合丢这里(考虑在 App 里面加一个 Tools?
  3. 这点东西怎么能造出来 3 个文件的
  4. 有一吨无意义的更改,你是不是应该考虑丢掉 VS 这个垃圾

@tangge233
Copy link
Copy Markdown
Contributor Author

3: 一个类型一个文件 qwq
4: 那些是 UTF8 with BOM 改到 UTF8

@tangge233
Copy link
Copy Markdown
Contributor Author

LifeCycleCommandHandler 会通过 RPC 把调用传回原程序(没权限),这对吗😰

@tangge233 tangge233 marked this pull request as draft March 16, 2026 06:11
@pcl-ce-automation pcl-ce-automation bot added 🚧 正在处理 开发人员正在对该内容进行开发、测试或修复,进展中 and removed 🛠️ 等待审查 Pull Request 已完善,等待维护者或负责人进行代码审查 labels Mar 16, 2026
@ruattd
Copy link
Copy Markdown
Contributor

ruattd commented Mar 16, 2026

这对的,应该在原程序里面走线程提权并复用,而不是每次都现场跟用户申请权限

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: L PR 大小评估:大型 🚧 正在处理 开发人员正在对该内容进行开发、测试或修复,进展中

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants