-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Description
感谢提供这么方便的插件,我还在用老版本的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
Metadata
Metadata
Assignees
Labels
No labels