1 Star 0 Fork 196

大肚黄/II-RPA

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
gulpfile.js 1.09 KB
Copy Edit Raw Blame History
guangzhou-luolixiang authored 2020-07-22 16:25 . 项目上传,
const gulp = require('gulp');
const path = require('path')
const createWindowsInstaller = require('electron-winstaller').createWindowsInstaller
gulp.task('default', function () {
getInstallerConfig()
.then(createWindowsInstaller)
.catch((error) => {
console.log(1)
console.error(error.message || error)
console.log(error)
process.exit(1)
})
function getInstallerConfig() {
const rootPath = path.join(__dirname, '/')
const outPath = path.join(rootPath)
console.log('creating windows installer')
console.log(path.join(rootPath, '/OutApp/'), outPath, path.join(outPath, '/OutApp'))
return Promise.resolve({
appDirectory: path.join(rootPath, './OutApp/robot-win32-x64'),
authors: 'Veintc',
noMsi: true,
outputDirectory: path.join(outPath, './OutApp/robot-designer'),
exe: 'robot.exe',
setupExe: 'robot.exe',
// loadingGif: No
// setupIcon: path.join(rootPath, 'app', 'img', 'icon.ico')
})
}
});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/zxsaas/II-RPA.git
git@gitee.com:zxsaas/II-RPA.git
zxsaas
II-RPA
II-RPA
master

Search