# BaseElectronFrame **Repository Path**: zygameui/BaseElectronFrame ## Basic Information - **Project Name**: BaseElectronFrame - **Description**: 基于Haxe建造的基础Electron框架 - **Primary Language**: Haxe - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-25 - **Last Updated**: 2021-10-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## BaseElectronFrame 基于Haxe实现的基础Electron框架 ## 安装Electron ```shell sudo npm install electron -g ``` 确保命令行可正常运行: ```shell electron ./bin/ElectronSetup.js ``` ## 可更新bin中的内容,将网页实现内容更新到bin中。 网页入口为index.html ## 调用本地命令 需要引入command.js文件: ```html ``` 调起命令: ```js Command.cmd("echo 123",function(err,stdout,stderr){ //返回执行结果 trace(err,stdout,stderr); }); ```