[GH-ISSUE #3117] 我只想打包win64的安装包,请问npm 命令是啥? #2065

Closed
opened 2026-02-27 00:05:55 +03:00 by kerem · 7 comments
Owner

Originally created by @NB611 on GitHub (Nov 26, 2023).
Original GitHub issue: https://github.com/electerm/electerm/issues/3117

What feature you'd like to see or proposal(期望什么新功能/特性或者建议)

只打包win64的安装包npm 命令是啥?

Originally created by @NB611 on GitHub (Nov 26, 2023). Original GitHub issue: https://github.com/electerm/electerm/issues/3117 ### What feature you'd like to see or proposal(期望什么新功能/特性或者建议) 只打包win64的安装包npm 命令是啥?
kerem closed this issue 2026-02-27 00:05:55 +03:00
Author
Owner

@zxdong262 commented on GitHub (Nov 26, 2023):

npm install -g yarn
npm un node-pty serialport
npm i
npm i -S -E node-pty@1.1.0-beta2
npm i -S -E serialport@10.4.0
npm run prepare-build
node build/bin/build-win-nsis
<!-- gh-comment-id:1826738217 --> @zxdong262 commented on GitHub (Nov 26, 2023): ```sh npm install -g yarn npm un node-pty serialport npm i npm i -S -E node-pty@1.1.0-beta2 npm i -S -E serialport@10.4.0 npm run prepare-build node build/bin/build-win-nsis ```
Author
Owner

@zxdong262 commented on GitHub (Nov 26, 2023):

这个看不出来,我自己也没有在windows上构建过,也是用github ci构建的,有什么需求吗,要自己构建?

<!-- gh-comment-id:1826745065 --> @zxdong262 commented on GitHub (Nov 26, 2023): 这个看不出来,我自己也没有在windows上构建过,也是用github ci构建的,有什么需求吗,要自己构建?
Author
Owner

@NB611 commented on GitHub (Nov 26, 2023):

image
大哥 报这个错,知道啥问题吗?

<!-- gh-comment-id:1826745116 --> @NB611 commented on GitHub (Nov 26, 2023): ![image](https://github.com/electerm/electerm/assets/20264874/b3b8c1b6-4cd4-4bbf-b73a-a0c05e36133f) 大哥 报这个错,知道啥问题吗?
Author
Owner

@NB611 commented on GitHub (Nov 26, 2023):

我是在Codespaces里构建的,想着自己改改样式

<!-- gh-comment-id:1826745583 --> @NB611 commented on GitHub (Nov 26, 2023): 我是在Codespaces里构建的,想着自己改改样式
Author
Owner

@zxdong262 commented on GitHub (Nov 26, 2023):

设置里有自定义css,可以试试满足需求不

<!-- gh-comment-id:1826745741 --> @zxdong262 commented on GitHub (Nov 26, 2023): 设置里有自定义css,可以试试满足需求不
Author
Owner

@zxdong262 commented on GitHub (Nov 26, 2023):

如果用ci可以参考 https://github.com/electerm/electerm/blob/master/.github/workflows/win-nsis.yml

<!-- gh-comment-id:1826746072 --> @zxdong262 commented on GitHub (Nov 26, 2023): 如果用ci可以参考 https://github.com/electerm/electerm/blob/master/.github/workflows/win-nsis.yml
Author
Owner

@NB611 commented on GitHub (Nov 26, 2023):

ok,我试试。辛苦了

<!-- gh-comment-id:1826746084 --> @NB611 commented on GitHub (Nov 26, 2023): ok,我试试。辛苦了
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2065
No description provided.