Code Monkey home page Code Monkey logo

Comments (8)

yinfei8 avatar yinfei8 commented on May 14, 2024 1

@FlyingStarlight
看到现象了,之前不方便构造你的场景。你加下QQ群:747590892

from luahelper.

yinfei8 avatar yinfei8 commented on May 14, 2024

image

from luahelper.

FlyingStarlight avatar FlyingStarlight commented on May 14, 2024

并不行,改成
C:\\lua53.exe
也并没有正确调用路径,还是以Lua Helper默认路径执行
@yinfei8

from luahelper.

yinfei8 avatar yinfei8 commented on May 14, 2024

@FlyingStarlight
你C盘下面有lua53.exe吗?

from luahelper.

yinfei8 avatar yinfei8 commented on May 14, 2024

@FlyingStarlight
麻烦下载最新的版本0.2.3兼容了/ 路径

from luahelper.

FlyingStarlight avatar FlyingStarlight commented on May 14, 2024

@FlyingStarlight 你C盘下面有lua53.exe吗?

不是有没有lua53.exe的问题
是在终端(PS/CMD)执行的指令就没有根据luaPath产生变化
新版本仍然无效,执行的命令仍为:

c:/Users/EXAMPLE USER/.vscode/extensions/yinfei.luahelper-0.2.3/debugger/luasocket/win/x64/lua5.4/lua54.exe -e "package.path = 'c:/Users/EXAMPLE USER/.vscode/extensions/yinfei.luahelper-0.2.3/debugger/?.lua;'.. package.path; package.cpath = 'c:/Users/"EXAMPLE USER"/.vscode/extensions/yinfei.luahelper-0.2.3/debugger/luasocket/win/x64/lua5.4/?.dll;'.. package.cpath; require('LuaPanda').start('127.0.0.1',8818);" "e:/MY/Lua/Test/test.lua"

期待结果为:

c:/lua53.exe -e "package.path = 'c:/Users/EXAMPLE USER/.vscode/extensions/yinfei.luahelper-0.2.3/debugger/?.lua;'.. package.path; package.cpath = 'c:/Users/"EXAMPLE USER"/.vscode/extensions/yinfei.luahelper-0.2.3/debugger/luasocket/win/x64/lua5.4/?.dll;'.. package.cpath; require('LuaPanda').start('127.0.0.1',8818);" "e:/MY/Lua/Test/test.lua"

from luahelper.

FlyingStarlight avatar FlyingStarlight commented on May 14, 2024

我看到插件源码怎么写了,自动判断了路径内找不到getLuaBinVersion就用默认
测试实际放一个lua53.exe在对应路径没问题
那看看怎么解决USER 1不能识别的问题吧,用新版插件仍存在这个问题

from luahelper.

MrScallion avatar MrScallion commented on May 14, 2024

windows上 getLuaBinVersion 可以通过执行lua -e "print(_VERSION)" 来获取版本号,直接执行lua -v会获取不到输出,其他操作系统没有试过

from luahelper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.