QuickXDev
QuickXDev copied to clipboard
player no exists,能兼容一下老版本吗?
感谢提供这么方便的插件,我还在用老版本的quick-x, 能兼容一下老版本的几个playerPath吗?我想应该也有很多人遇到我同样的问题,更新一次就要改一次player的路径,太感谢了!
修改办法: quickx.py 68 行开始
playerPath=""
if sublime.platform()=="osx":
playerPath=quick_cocos2dx_root+"/player3.app/Contents/MacOS/player3"
if not os.path.exists(playerPath):
playerPath=quick_cocos2dx_root+"/player/bin/mac/quick-x-player.app/Contents/MacOS/quick-x-player"
if not os.path.exists(playerPath):
playerPath=quick_cocos2dx_root+"/player/mac/player.app/Contents/MacOS/player"
elif sublime.platform()=="windows":
playerPath=quick_cocos2dx_root+"/player3.exe"
if not os.path.exists(playerPath):
playerPath=quick_cocos2dx_root+"/player/bin/win32/quick-x-player.exe"
if not os.path.exists(playerPath):
playerPath=quick_cocos2dx_root+"/player/win/player.exe"
if playerPath=="" or not os.path.exists(playerPath):
sublime.error_message("player no exists!")
return
这个每个版本都不一样的,提示文件也不一样,所以不只是player的问题,之前也有说过了。 你可以自己下载以前版本的包放到Packages目录下。下载地址:https://github.com/leitwolf/QuickXDev/releases
ok, 对sublime 不熟悉,用老版本的QuickXDev sublime 还会自动更新吗?
不通过Package Control安装的都不能。你可以在升级到3.2之后再从Package Control安装。 另外,一般也不会对老版本的有什么升级。现在我就是在维护而已,就是生成新的提示文件,改各种路径,开发新功能之类的比较少了。
明白了,太感谢了