HMCL-dev / HMCL-dev/HMCL

[Feature] 添加游戏实例永久删除,而不是总是移动至回收站/废纸篓

Open
#5,158 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

概述 | Summary
添加实例永久删除功能,而不是只能在点击删除时移动到回收站/废纸篓。
  • Image
原因 | Reason
背景
  • 删除实例时,为了节省去清空回收站的步骤,经常要打开游戏文件夹,再返回上级目录,通过文件资源管理器带着Shift按删除,过程相当繁琐。

  • 当前在HMCL选择删除实例后,必须前往清理回收站,若实例和回收站不在同一个分区中(甚至是跨硬盘),还会存在移动文件缓慢的问题(较大的实例)。

详情 | Description
为实例删除对话框添加永久删除功能
  • 建议提供功能键(如 按住 Shift 点击 "删除" 按钮)方便快捷操作;

  • 同时可以在对话框添加复选框/开关/按钮,降低新用户(无快捷键认知用户)的学习使用成本;

  • 设置菜单中添加选项是否启用回收站,支持 总是 / 从不 / 每次询问(默认) 供用户选择。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the instance deletion dialog and its delete action, then trace the settings menu entry points for recycle-bin behavior. Define how permanent deletion is triggered and how the Always/Never/Ask default setting affects deletion, including the cross-drive case; done means the selected behavior works without requiring manual recycle-bin cleanup.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.