Improve console binary handling on MacOS installs

未关闭
#3,334 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
macos
领域
desktop, release

调研方向

检查提供的 Mac mpkg 软件包,以及 Zenmap、Nmap、Ncat 和 Nping 在 Applications 目录中的放置方式。比较其他控制台应用程序如何处理从 Finder 启动,然后定义一种打包或启动行为,使控制台工具仍可从终端使用,同时让 Zenmap 成为明确的图形入口。

由索引模型根据 Issue 内容生成。

描述

macOS/OS X Nmap

When Nmap is installed on Mac using our provided mpkg package, Zenmap, Nmap, Ncat, and Nping all go into the Mac Applications directory. This is perfect for Zenmap, as that is where you would expect it. It has an Nmap icon and you can click to run it. But the nmap, ncat, and nping console apps also end up there. They don't provide an icon and clicking on them does nothing (because they are console apps). So users may install Nmap, click on "nmap", and feel everything is broken. On the bright side, putting these console apps there seems to include them in the default paths so that they can run from a normal terminal window with no extra configuration.

Still, when I search for "nmap" in finder, the first result is the console app from the Applications directory and of course clicking on it does nothing. Users need to know to click Zenmap instead, which is the second option, at least for me.

I'm not sure of the best solution, but this does seem likely to confuse users. We should probably find a way to either give these an icon and make them do something useful when you click on them (open a terminal window? open Zenmap?), or hide them somehow from the GUI (so Zenmap is all people see or at least the most prominent) while still allowing them to work fine from terminal with default setup/path. We should probably look more into what other console apps do about this.

主要语言
C
星标
14k
派生
3k
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nmap/nmap 的其他 Issue

查看 nmap/nmap 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。