Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
622 views
in Technique[技术] by (71.8m points)

怎么使用electron-builder在打包Linux系统上打包出.deb安装包?

我想在linux系统上把自己的electron-vue项目打成.deb包,但是electron-builder原始的配置只能打出.AppImage这个文件,这个文件是一个直接执行文件,并不会把应用安装到电脑上。请问我怎么配置package.json才能打出.deb的包呢。求大神指点!!!
附上package.json配置图:1589188412(1).png1589188469(1).png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

配置 linux 下的 target 就可以了


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...