gpt4 book ai didi

android-studio - Android Studio 中的 Elevator.exe 更新

转载 作者:行者123 更新时间:2023-12-04 03:40:54 24 4
gpt4 key购买 nike

在 Android Studio 更新期间,注意到我的计算机上安装了电梯.exe(已验证发布者:JetBrains s.r.o)。此应用程序的用途是什么,为什么 Android Studio 需要它?

P.S - 我知道 Android Studio 由 IntelliJ 平台提供支持。

最佳答案

根据提交 historyintellij-community/bin/win/elevator.exe 的源代码中在 Github 上,第一次提交(2017 年 5 月 17 日)指出:

Add sudo-like tool for windows to deal with UAC

When admin user launches Intellij, Windows revokes many user privileges to improve safety for admin users (that is how UAC works).

One can't access "Program Files": any attempt to write something there leads on ACCESS_DENIED(5) error even if NTFS reports file is writable

The only way to elevate privileges is to launch process as elevated. "Elevator.sln" is Win32API app that launches command as elevated. See its sources for more info.



在 Windows 上,应用软件(如 IntelliJ 或 Android Studio)仅限于标准用户权限,直到管理员授权增加或提升发生。

由于 IntelliJ 为 Android Studio 提供支持,因此该文件显示在 Android Studio 更新中是有意义的。

关于android-studio - Android Studio 中的 Elevator.exe 更新,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53023013/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com