小编Min*_*Liu的帖子

Mac:PD10 上的 Windows 10,缺少媒体驱动程序

我在 OS X Yosemite GM 上使用 Parallels Desktop 10。

我试图在我的 PD 10 上安装 Windows 10 TP,但是当我进入安装阶段时,它通知:“您的计算机需要的媒体驱动程序丢失。”。我尝试过操作系统类型 Windows 7/8/Other,都遇到了同样的问题。

问题出在哪儿?

mac parallels windows-10-preview

10
推荐指数
1
解决办法
8018
查看次数

launchd 似乎忽略了优胜美地的 StartCalendarInterval

我尝试使用launchd按时更新Homebrew。我的 plist 文件显示在这里:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>ms.liu.homebrew.update</string>
  <key>UserName</key>
  <string>LiuMS</string>
  <key>ProcessType</key>
  <string>Background</string>
  <key>EnvironmentVariables</key>
  <key>ProgramArguments</key>
  <array>
    <string>/usr/local/bin/brew</string>
    <string>update</string>
  </array>
  <key>StartCalendarInterval</key>
  <dict>
    <key>Hour</key>
    <integer>20</integer>
    <key>Minute</key>
    <integer>0</integer>
  </dict>
  <key>StandardOutPath</key>
  <string>/usr/local/logs/ms.liu.homebrew.update.out</string>
  <key>StandardErrorPath</key>
  <string>/usr/local/logs/ms.liu.homebrew.update.err</string>
</dict>
</plist>
Run Code Online (Sandbox Code Playgroud)

它确实以某种方式工作:我可以launchctl start ms.liu.homebrew.update手动执行以更新我的 Homebrew。但是,launchd 不会定期执行此服务:对 stdout 重定向到的文件的最后更改是两天前。

我试图获取有关此服务的信息,但一无所获:

> launchctl print user/%MyPID%/ms.liu.homebrew.update`` 
Could not find service "ms.liu.homebrew.update" in domain for uid: %MyPID%
Run Code Online (Sandbox Code Playgroud)

看起来我还没有成功加载我的服务。如何?我使用过,launchctl load但似乎已被弃用。手册页推荐引导程序:

> launchctl bootstrap user/%MyPID% %Path-to-plist%
> %Path-to-plist%: Service cannot load in …
Run Code Online (Sandbox Code Playgroud)

launchd homebrew launchctl macos

9
推荐指数
1
解决办法
1549
查看次数