mac 应用程序沙箱_如何更新所有Mac应用程序

mac 应用程序沙箱

mac 应用程序沙箱

A MacBook Pro Dock.
guteksk7/Shutterstock guteksk7 /快门

App updates deliver new features, security fixes, and improve the stability of existing software. Unfortunately, not every Mac app is updated the same way. Some take care of themselves, while others need a nudge from you. Here’s what you need to know to keep all your Mac software up to date.

应用程序更新提供了新功能,安全修复程序,并改善了现有软件的稳定性。 不幸的是,并非每个Mac应用程序都以相同的方式更新。 有些照顾自己,而另一些则需要您的帮助。 这是使所有Mac软件保持最新状态所需的知识。

如何更新Mac App Store应用 (How to Update Mac App Store Apps)

Apps installed via the Mac App Store are updated using the same storefront. You don’t need to worry about doing this manually, provided you’ve turned on automatic updates. Your Mac will periodically check for updates, and then download and apply them as necessary.

通过Mac App Store安装的应用程序使用相同的店面进行更新。 如果您已启用自动更新,则无需担心手动执行此操作。 Mac将定期检查更新,然后根据需要下载并应用它们。

You can still manually check for updates if you want, though. To do so, open the Mac App Store by either clicking it in the Dock or “Applications” folder, or searching for it in Spotlight. Click “Updates” in the sidebar to see any that are pending.

不过,您仍然可以根据需要手动检查更新。 为此,请通过在Dock或“应用程序”文件夹中单击它或在Spotlight中搜索来打开Mac App Store。 单击边栏中的“更新”以查看所有未决的。

Click "Updates" to see if any are pending.

You’ll see an “Update” button next to any apps with pending updates; click it to manually trigger the update. If there aren’t any updates, the Mac App Store will show you the most recently installed apps, along with a brief description of what was changed. Click “More” next to each entry for more information.

您会在所有有待更新的应用程序旁边看到“更新”按钮; 单击它以手动触发更新。 如果没有任何更新,Mac App Store将为您显示最近安装的应用程序,以及对更改内容的简短描述。 单击每个条目旁边的“更多”以获取更多信息。

You can enable automatic updates by launching the Mac App Store, clicking Mac App Store > Preferences in the menu at the top, and then selecting “Automatic Updates.”

您可以通过启动Mac App Store,单击顶部菜单中的Mac App Store>首选项,然后选择“自动更新”来启用自动更新。

如何更新您未在App Store中购买的应用程序 (How to Update Apps You Didn’t Purchase in the App Store)

Apps you’ve installed outside of the Mac App Store may or may not update themselves. This varies from app to app. However, the most common, like Chrome, popular free apps, like the Transmission BitTorrent client, and paid apps that are actively being developed will likely notify you of any pending updates.

您在Mac App Store外部安装的应用程序可能会更新,也可能不会更新。 视应用程序而异。 但是,最常见的(例如Chrome),流行的免费应用(例如Transmission BitTorrent客户端)以及正在积极开发的付费应用可能会通知您任何待处理的更新。

A "Software Update" menu for the Transmission app.

You might see a notification when you launch an app telling you there’s a new version available. You can often just click “Update” to close the app and update it. You might also have the option to delay or opt out of the update, altogether. Not all apps will notify you about a pending update, however.

启动应用程序时,您可能会看到一条通知,告知您有可用的新版本。 您通常可以单击“更新”以关闭应用程序并进行更新。 您可能还可以选择完全延迟或退出更新。 但是,并非所有应用程序都会通知您有关即将进行的更新。

For some, you’ll have to look through the menus at the top to find a “Check for Updates” option. Most frequently, you can click Help > Check for Updates, but it might also be in the menu with the app’s name. In Transmission, for example, you’d click Transmission > Check for Updates.

对于某些用户,您必须浏览顶部的菜单才能找到“检查更新”选项。 通常,您可以单击“帮助”>“检查更新”,但是它也可能在应用名称的菜单中。 例如,在传输中,您将单击传输>检查更新。

A "Help" menu in which "Check for Updates" is selected.

Some apps don’t actively check for updates, and there’s not a lot you can do beyond remembering to do it yourself. Not all apps update gracefully, either. Some will offer to download and apply the update, while others will take you to the app’s homepage so you can manually download the new version.

有些应用程序不会主动检查更新,因此除了记住自己做之外,您无能为力。 也不是所有应用都能正常更新。 有些会提供下载并应用更新,而另一些会带您进入应用程序的主页,以便您可以手动下载新版本。

Sometimes, you’ll be notified when a new version of an app is available, but you’ll have to download it yourself. This will also require that you replace the old version manually. For the best results, right-click the old version in your “Applications” folder, and then choose “Move to Trash” (don’t empty the Trash yet, though).

有时,当有新版本的应用程序可用时,您会收到通知,但您必须自己下载。 这也将要求您手动替换旧版本。 为了获得最佳效果,请右键单击“应用程序”文件夹中的旧版本,然后选择“移至垃圾箱”(不过,请不要清空垃圾箱)。

After you download the new version, copy the APP file into the “Applications” folder, and then run the app to make sure it works as expected. If you see an error like the one shown below, you might have to circumvent Gatekeeper’s restrictions.

下载新版本后,将APP文件复制到“ Applications”文件夹中,然后运行该应用程序以确保其可以正常工作。 如果您看到类似以下所示的错误,则可能必须避开Gatekeeper的限制

An alert that Gatekeeper blocked "GZDoom."

If the new version isn’t working or the changes aren’t ideal for your workflow, you can delete the new version and restore the old one from the Trash. To do so, just right-click the file, and then choose “Put Back”.

如果新版本无法正常工作或更改不适合您的工作流程,则可以删除新版本,然后从回收站中恢复旧版本。 为此,只需右键单击该文件,然后选择“回退”。

When the app is working as expected, you can empty the Trash—just right-click the icon in the Dock.

当应用程序按预期运行时,您可以清空垃圾箱-只需右键单击Dock中的图标即可。

一些应用程序依赖于其他生态系统 (Some Apps Depend on Other Ecosystems)

You have to update some apps via their own app store or loader. Some examples of this include the Adobe suite, which depends on the Creative Cloud desktop app, and games installed via Steam.

您必须通过自己的应用商店或加载器来更新某些应用。 其中的一些示例包括Adobe套件(取决于Creative Cloud桌面应用程序)以及通过Steam安装的游戏。

These apps usually can’t be updated manually, so you’ll have to open the launcher to see and install any pending updates.

这些应用通常无法手动更新,因此您必须打开启动器才能查看并安装所有待处理的更新。

如何更新Safari扩展 (How to Update Safari Extensions)

If you’re running macOS Catalina or later, Safari extensions are installed via the Mac App Store. They update via the “Updates” page, the same as any other app from the Mac App Store. They’ll also update without a prompt, provided “Automatic Updates” is enabled.

如果您运行的是macOS Catalina或更高版本,则可通过Mac App Store安装Safari扩展。 它们通过“更新”页面进行更新,与Mac App Store中的任何其他应用程序相同。 如果启用了“自动更新”,它们也将在没有提示的情况下进行更新。

On versions of macOS prior to Catalina, you might need to manually check for updates under Safari > Preferences > Extensions. Just click an extension, and then click “Check for Updates” if that option is there.

在Catalina之前的macOS版本上,您可能需要在Safari>首选项>扩展名下手动检查更新。 只需单击一个扩展名,然后单击“检查更新”(如果存在该选项)。

Using Chrome or Firefox? Their extensions should be handled by the browser itself. Chrome tends to take care of these on its own terms, but you can also force Chrome to update extensions, if you prefer.

使用Chrome或Firefox? 它们的扩展名应由浏览器本身处理。 Chrome浏览器倾向于按自己的意愿来处理这些问题,但如果愿意,您也可以强制Chrome更新扩展程序

如何更新自制软件 (How to Update Homebrew Apps)

Homebrew is a command-line based package manager that allows you to install popular apps via the command line. Homebrew works a lot like Linux package managers. It makes it quick and easy to download and update apps without having to manually download or click anything.

Homebrew是基于命令行的软件包管理器,它使您可以通过命令行安装流行的应用程序。 Homebrew的工作方式与Linux软件包管理器非常相似。 它使您可以快速,轻松地下载和更新应用程序,而无需手动下载或单击任何内容。

To update apps via Homebrew, you’ll have to install them via Homebrew. If you don’t already have Homebrew installed on your Mac, this won’t really apply. If you do, though, you can force an update check for all Homebrew apps with a single command.

要通过Homebrew更新应用,您必须通过Homebrew安装它们。 如果您尚未在Mac上安装Homebrew ,则此方法实际上并不适用。 但是,如果您这样做,则可以使用单个命令对所有Homebrew应用程序强制进行更新检查。

First, open “Terminal” by either searching for it in “Spotlight” or navigating to Applications > Utilities. Type the following and press Enter to update Homebrew:

首先,通过在“ Spotlight”中搜索“终端”或导航至“应用程序”>“实用程序”来打开“终端”。 键入以下内容,然后按Enter键更新Homebrew:

brew update
Updating "Homebrew" for macOS in "Terminal."

Homebrew will update itself and its app catalog if necessary. Next, type the following and hit Enter:

如有必要,Homebrew将更新自身及其应用程序目录。 接下来,键入以下内容,然后按Enter:

brew outdated

This will check for any outdated apps. You can then execute the following to update everything:

这将检查所有过时的应用程序。 然后,您可以执行以下更新所有内容:

brew upgrade

To update a specific app, you’ll need to know its “formula.” This is the label Homebrew uses to identify apps. For example, Firefox uses “firefox.” So, to update Firefox specifically, you would execute the following:

要更新特定的应用,您需要知道其“公式”。 这是Homebrew用于标识应用程序的标签。 例如,Firefox使用“ firefox”。 因此,要专门更新Firefox,可以执行以下操作:

brew upgrade firefox

You can check out the Homebrew Documentation for more commands.

您可以查看Homebrew文档以获取更多命令。

您可以随时手动检查版本 (You Can Always Manually Check Versions)

If you’re unsure if an app is up-to-date, and you can’t find a “Check for Updates” button anywhere, you can always check manually.

如果您不确定某个应用程序是否是最新的,并且在任何地方都找不到“检查更新”按钮,则可以随时进行手动检查。

To do so, launch the app, and then click the menu with its name at the top of the screen. Click “About <App Name>” to see some information about the app, including its version number.

为此,请启动该应用程序,然后单击菜单名称在屏幕顶部的菜单。 单击“关于<应用程序名称>”以查看有关该应用程序的一些信息,包括其版本号。

An "About" dialog box for "WhatsApp" with the version number.

You can now head to the app’s homepage and check whether there’s a new version available. If there is, you can download and update it the way we described in the “How to Update Apps You Didn’t Purchase in the App Store” section above.

您现在可以转到应用程序的主页,并检查是否有可用的新版本。 如果有的话,您可以按照上面“如何更新未在App Store中购买的应用程序”部分中所述的方式下载和更新它。

It’s important to keep software up to date, and the same is true for macOS. You can learn how to update macOS to the latest version to keep your machine as secure as possible.

保持软件最新很重要,macOS也是一样。 您可以学习如何将macOS更新到最新版本,以确保机器尽可能安全。

翻译自: https://www.howtogeek.com/686766/how-to-update-all-your-mac-apps/

mac 应用程序沙箱

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值