分类
未分类

Parallels Desktop 14 Apple Hypervisor对比Parallels Hypervisor

闲着没事对比下PD14里的Apple Hypervisor和Parallels Hypervisor,对比项目为Fritz Chess Benchmark以及VS2019调试同一web项目的内存占用,结论是性能大致相同,内存占用上Apple Hypervisor完胜

Apple Hypervisor Parallels Hypervisor
Fritz Chess Benchmark 7.56 7.51
VS调试内存占用 3.24G free, 20% pressure 1.24G free, 69% pressure
wired 1.14G 5.14G
active 3.17G 1.23G
分类
未分类

Win10管理员权限运行命令行访问网络驱动器

Win10挂在的网络驱动器,用管理员权限运行的CMD是访问不到的,需要重新挂在一次

net use

可以罗列所有用户下已挂载的网络驱动器,复制下路径再

net use (挂载盘符:) (路径)

就可以顺利访问了

之前还可以用修改注册表的方式来实现,但在Win10某一次更新之后就不可以了,我使用微软官方提供的解决方法也不行.

分类
未分类

MacOS强制隐藏菜单栏和Dock

玩EU4的时候发现windowed fullscreen的实现出问题了,游戏没有新建一个工作区且菜单栏和Dock都没有隐藏,还好,可以通过修改info.plist的方式来强制隐藏,再自己手动把游戏拖入新建工作区,曲线实现全屏窗口

HOI4和Stellaris没发现此问题

首先要找到EU4的执行文件,Steam右键-本地文件-浏览本地文件

右键EU4.app,浏览包内容-Contents文件夹内就有info.plist了

按照字母排序,插入此键值(比如LSUIP***必须在JSUPK****的后面,在MSUIP***的前面)

<key>LSUIPresentationMode</key>
<integer>4</integer>

键值从0-4,数字越大,隐藏的元素越多

Value: 0
Normal mode. In this mode, all standard system UI elements are visible. This is the default value.
Value: 1
Content suppressed mode. In this mode, system UI elements in the content area of the screen are hidden. UI elements may show themselves automatically in response to mouse movements or other user activity. For example, the Dock may show itself when the mouse moves into the Dock’s auto-show region.
Value: 2
Content hidden mode. In this mode, system UI elements in the content area of the screen are hidden and do not automatically show themselves in response to mouse movements or user activity.
Value: 3
All hidden mode. In this mode, all UI elements are hidden, including the menu bar. Elements do not automatically show themselves in response to mouse movements or user activity.
Value: 4
All suppressed mode. In this mode, all UI elements are hidden, including the menu bar. UI elements may show themselves automatically in response to mouse movements or other user activity. This option is available only in Mac OS X 10.3 and later.

参考来源:https://apple.stackexchange.com/questions/5327/is-it-possible-to-hide-the-dock-on-a-per-application-basis

分类
折腾

通过mas-cli从App Store 下载老版本 macOS 安装程序

最近需要装10.9的虚拟机,发现App Store的已购项目里不再显示老版本的系统了(除了测试版),还好只是隐藏而不是移除,可以通过mas-cli来强制下载,当然前提是你的账户中确实拥有这些操作系统.

brew install mas

在App Store中登录你的Apple ID,在Mojave中mas不在支持命令行内登录

mas install (Product Identifier 软件识别号)

软件识别号

macOS 10.7 Lion	444303913
macOS 10.8 Mountain Lion	537386512
macOS 10.9 Mavericks	675248567
macOS 10.10 Yosemite	915041082
macOS 10.11 El Capitan	1147835434(适用於无法升级至 Sierra 开始的新系统的机种)
macOS 10.11 El Capitan	1018109117(适用於其他可用的 mac 机种)
macOS 10.12 Sierra	1127487414
macOS 10.13 High Sierra	1246284741

识别号转自:https://zhuanlan.zhihu.com/p/29743904