开发者

How to ensure that paths for executables are added to path for Adobe AIR application?

开发者 https://www.devze.com 2023-04-11 04:33 出处:网络
I wok on desktop Adobe AIR application. It creates .DMG for mac os builds. It is actually command line application. What I want is the ability to call it from command line开发者_JS百科- add it .../*.a

I wok on desktop Adobe AIR application. It creates .DMG for mac os builds. It is actually command line application. What I want is the ability to call it from command line开发者_JS百科 - add it .../*.app/Content/MacOS to $PATH. Is there any standard way to do it with AIR ? I need it to work on Windows as well.

Thanks!


No standard way, that's for sure. It's out of scope of AIR. You probably should do that with the shell - something like SET %PATH% = %PATH% + ... Assuming your AIR application has access to shell interpreter, it can do it on first run right after install.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号