终端禁用macbook pro独显

在终端输入命令

1
2
sudo pmset -a GPUSwitch 0
//0集显,1独显,2,自动