This is a simple demo demonstrating how to integrate angular with electron using @angular/cli, by demonstrating how to select a folder and show it's absolute path.
这是一个很简单的例子(选择文件夹 并在 console 中显示 文件夹的绝对路径), 演示 在 @angular/cli 中 如何将 angular 和 electron 集成 进行桌面应用开发。
npm install -g electron @angular/cli
cd webapp
npm install
and then 然后
electron main.js