GitHub - strongant/diskclone
Angular+Electron实现桌面硬盘克隆工具
First install or update your local project's npm tools:
# First install all the NPM tools: npm install # Or update npm update
Then run the bower:
# To download `angular-material...` some files in the `/bower_components` directory
bower installThen run the gulp tasks:
# To run `electron ./app/main.js` to start window or npm run start
gulp runBuild app
#To run `electron-packager . DiskClone --platform linux --arch x64 --version 1.1.3 --prune --out=dist/ --overwrite --icon =app/assets/img/appledisk.png --prune --ignore=node_modules/electron-prebuilt --ignore=node_modules/electron-packager --ignore =.git` to generate curent path 'dist' directory
npm run buildPackage app
#To run 'sudo zip -r d.zip dist/ && mv -f d.zip /tmp' zip app move to /tmp
npm run packView log file