lonelyboylonely 发表于 2022-7-19 18:02

12.4下用的AMD_FrameBuffers

一直没看到人维护这个php脚本,我就修复了一下。只做了偏移量修复的工作,现在是能正确显示接口类型和接口数据。但是提示64行还是有一个错误,我不懂脚本语言,谁懂的加以完美一下吧。

另外需要说明的是12版本之后macos不再集成php,需要手动brew install php。

效果如下:





lonelyboylonely 发表于 2022-7-19 18:03

测试环境:MacOS 12.4

superxgz 发表于 2022-7-19 21:28

把45行分成两行
$globfile = glob("$file/Contents/MacOS/*");
$file = array_pop($globfile);

lonelyboylonely 发表于 2022-7-20 11:06

superxgz 发表于 2022-7-19 21:28 https://bbs.pcbeta.com/static/image/common/back.gif
把45行分成两行
$globfile = glob("$file/Contents/MacOS/*");
$file = array_pop($globfile);

试了,没改变,65行还是出错。

superxgz 发表于 2022-7-20 11:10

lonelyboylonely 发表于 2022-7-20 11:06 https://bbs.pcbeta.com/static/image/common/back.gif
试了,没改变,65行还是出错。

我这里是45行报错, 45行改了后就没有报错了

黄增光 发表于 2022-7-20 11:56

感谢分享啊

dlhonghan 发表于 2022-7-20 13:45

感谢分享      

cnchensh 发表于 2022-7-20 13:50

这个是要支持的啊~!

lonelyboylonely 发表于 2022-7-20 17:56

superxgz 发表于 2022-7-20 11:10 https://bbs.pcbeta.com/static/image/common/back.gif
我这里是45行报错, 45行改了后就没有报错了

那难道是php版本的问题?

dlhonghan 发表于 2022-7-21 19:22

brew install php 安装失败

lonelyboylonely 发表于 2022-7-21 23:13

dlhonghan 发表于 2022-7-21 19:22 https://bbs.pcbeta.com/static/image/common/back.gif
brew install php 安装失败

好的。我知道了

shanvy 发表于 2022-11-19 08:26

    这个脚本很好,哈哈

huawenliuwen 发表于 2022-11-19 10:41

膜拜,真厉害

老唱机1991 发表于 2022-11-28 16:19

学习一下,下来试试~

zhpmoke 发表于 2023-2-27 10:54

感谢分享啊

zhpmoke 发表于 2023-3-4 16:25

感谢分享啊
页: [1]
查看完整版本: 12.4下用的AMD_FrameBuffers