Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望能够在程序为我正在处理的项目运行时修补模块。我试过这个,但它不起作用:
qx[rm -r .precomp/*]; try require PSBot; try PSBot.test;
有可能吗?如果是这样,我该怎么做?
不,他们不能。CompUnits、编译单元或安装的模块是不可变的。您无法卸载模块以再次加载它,这就是您所说的hotfix。