Someone Finally Fixed Installing Apps on a Mac

Someone Finally Fixed Installing Apps on a Mac

终于有人解决了 Mac 安装应用繁琐的问题

One of the oddest things about macOS is the installation dance. Dealing with disk images, dragging and dropping—it’s the main way of installing software from outside the Mac App Store, and it’s annoying. macOS 最奇怪的地方之一就是它的安装流程。处理磁盘映像(DMG)、拖拽文件——这是从 Mac App Store 之外安装软件的主要方式,而且非常令人烦恼。

You download a DMG file, open it to mount a virtual disk, and drag the application from there to your Applications folder. Then, to keep things tidy, you need to unmount the virtual disk and delete the DMG file. It’s … convoluted. To be fair, it was relatively streamlined back in 2001 when it became the main way to install applications on the then-new Mac OS X. But that was a quarter-century ago, and there has to be a better way by now. 你需要下载一个 DMG 文件,打开它以挂载虚拟磁盘,然后将应用程序从里面拖到“应用程序”文件夹中。接着,为了保持整洁,你还得卸载虚拟磁盘并删除 DMG 文件。这过程……太复杂了。平心而论,在 2001 年它成为当时全新的 Mac OS X 的主要安装方式时,这还算相对精简。但那已经是四分之一个世纪前的事了,现在理应有更好的方法。

Developer Jeff Schumann agrees, so he built a tool that does all these steps for you: EasyDMG. This completely free app has an adorable hamster mascot and the slogan “Created out of spite.” It lets you double-click DMGs to install software, the way it always should have worked. 开发者 Jeff Schumann 也深有同感,于是他开发了一个能为你完成所有这些步骤的工具:EasyDMG。这款完全免费的应用程序有一个可爱的仓鼠吉祥物,口号是“因怨念而生”(Created out of spite)。它让你只需双击 DMG 文件即可安装软件,这本该是它应有的工作方式。

To get started, simply download the application and install it using the very same installation dance you’re trying to avoid. (Ironic, sure, but hopefully this is the last time.) After that you need to set EasyDMG as the default application for opening DMG files—there’s a button right in the settings that will do this for you. 要开始使用,只需下载该应用程序,并使用你正试图摆脱的那套“安装舞步”来安装它。(确实很讽刺,但希望这是最后一次。)安装完成后,你需要将 EasyDMG 设置为打开 DMG 文件的默认应用程序——设置里有一个按钮可以直接帮你完成此操作。

Do that and you’re basically done. The next time you need to install software from a DMG file you’ll see EasyDMG pop up instead of the virtual disk. A window with a progress bar will let you know how the process is going, from mounting the virtual disk to verifying the application to doing the actual installation. 完成这些,基本上就大功告成了。下次你需要从 DMG 文件安装软件时,你会看到 EasyDMG 弹出,而不是那个虚拟磁盘。一个带有进度条的窗口会让你了解安装进度,从挂载虚拟磁盘到验证应用程序,再到实际的安装过程。

By default, EasyDMG will automatically delete the DMG file for you, then open a Finder window revealing your new application in the Applications folder. You can double-click on it to open it from there. 默认情况下,EasyDMG 会自动为你删除 DMG 文件,然后打开一个访达(Finder)窗口,显示你安装在“应用程序”文件夹中的新软件。你可以直接双击它来运行。

EasyDMG doesn’t run in the background—it doesn’t have to. The application only launches when you open a DMG file, then politely closes itself after the installation is complete. The application doesn’t have any telemetry, either; the only network request it makes is checking for updates. EasyDMG 不会在后台运行——它没必要这样做。该程序仅在你打开 DMG 文件时启动,并在安装完成后自动关闭。该应用也没有任何遥测功能;它唯一的网络请求就是检查更新。

There are a few things you can tweak in the settings, which you can open by launching EasyDMG directly. First, you can stop EasyDMG from automatically deleting DMG files. Second, you can toggle whether the Finder opens after you install an application. You can also set EasyDMG to launch the app right after installing, which is potentially handy. 你可以通过直接启动 EasyDMG 来打开设置,进行一些微调。首先,你可以禁止 EasyDMG 自动删除 DMG 文件。其次,你可以切换安装应用后是否自动打开访达窗口。你还可以设置 EasyDMG 在安装完成后立即启动该应用,这可能会很方便。

You can disable all warnings about apps from unidentified developers (you probably shouldn’t do this). Also, if you don’t like progress bars, you can disable the window and simply get a notification when installation is complete. 你可以禁用所有关于“来自未识别开发者”应用的警告(但你可能不应该这样做)。此外,如果你不喜欢进度条,也可以禁用该窗口,只需在安装完成后接收通知即可。

That’s not a long list of options, sure, but a streamlined application like this doesn’t need many. You can configure it to work the way you want once, then never look at the settings again. 当然,选项列表并不长,但像这样精简的应用程序并不需要太多设置。你只需配置一次,让它按你想要的方式工作,之后就再也不用去管设置了。