mirror of
https://github.com/nmap/nmap.git
synced 2025-12-18 05:29:02 +00:00
This is really easier and much more portable (Mac OS 10.5 and later) than the other solution proposed. The problem with the actual code happens when I set English as my main language with a French localisation and keyboard. Sometimes, the AppleLanguages configuration file contains names like "English" instead of "en", "EN" or "en_EN". Moreover, there can be more than one language defined here. Instead, I suggest with this PR to use AppleLocale directly, which is in the "en_EN" format (or whatever language) and is set to the current language used by the machine. This would allow users to just launch Zenmap and have the software launched in the desired language without having to use the terminal (they can still change their machine language in the System Preferences or via the Terminal, but it would be easier to use).
Every script under this directory is supposed to be executed from the top of the source tree. Don't get into this directory, nor any other under this one to execute any of the scripts, or they're not going to work as expected. This is a description of the scripts in this directory and its subdirectories. macosx: Files and scripts used to build Mac OS X packages. See macosx/README for a description of the files in this directory. utils/version_update.py: Updates the Zenmap version number everywhere it needs to be. windows/copy_and_compile.bat: Builds a Windows executable using py2exe. windows/nmap-eye.ico: An icon used on Windows.