可否写下工程搭建?
sollyu opened this issue · 9 comments
sollyu commented
可否写下工程搭建、编译、发布等步骤?
外门程序员想手动编译。
Fxxk-XueXiQiangGuo commented
需要安装 nodejs 和 npm
是不需要编译的,直接可以运行
npm install electron@3.0.15
npx electron .
打包
npm install electron-packager
npx electron-packager . fuck-xuexiqiangguo \
--executable-name="Fuck学习强国" \
--electron-version="3.0.15" --overwrite --asar --icon="logo.png" \
--ignore="node_modules" --ignore="package-lock.json"
njzjz commented
需要安装 nodejs 和 npm
是不需要编译的,直接可以运行
npm install electron@3.0.15 npx electron .
打包
npm install electron-packager npx electron-packager . fuck-xuexiqiangguo \ --executable-name="Fuck学习强国" \ --electron-version="3.0.15" --overwrite --asar --icon="logo.png" \ --ignore="node_modules" --ignore="package-lock.json"
Can you publish the source code to npm?
cs6699 commented
这个软件只能玩视频,要是能自动答题就更完美了
unixzii commented
需要安装 nodejs 和 npm
是不需要编译的,直接可以运行npm install electron@3.0.15 npx electron .
打包
npm install electron-packager npx electron-packager . fuck-xuexiqiangguo \ --executable-name="Fuck学习强国" \ --electron-version="3.0.15" --overwrite --asar --icon="logo.png" \ --ignore="node_modules" --ignore="package-lock.json"Can you publish the source code to npm?
@njzjz You said you had reported the author of this issue, I don't think you need this cheat app. What performance art are you performing? You just make me SUCK.
njzjz commented
Why do you think so? These two things are unrelated.
If you think you have freedom of speech, I also have the freedom to report. If you have the right to object to someone, I also have the right to oppose your opposition.
… On Mar 7, 2019, at 00:37, Cyandev ***@***.***> wrote:
需要安装 nodejs 和 npm
是不需要编译的,直接可以运行
npm install ***@***.***
npx electron .
打包
npm install electron-packager
npx electron-packager . fuck-xuexiqiangguo \
--executable-name="Fuck学习强国" \
--electron-version="3.0.15" --overwrite --asar --icon="logo.png" \
--ignore="node_modules" --ignore="package-lock.json"
Can you publish the source code to npm?
@njzjz You said you had reported the author of this issue, I don't think you need this cheat app. What performance art are you performing? You just make me SUCK.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
ciao1 commented
大佬可以的!我还想自己搞个程序..无奈编程能力弱渣
metalbreeze commented
xming+虚机用不了,
不论是纯linux版本,
还是src 目录下 执行 “npx electron .”
没有任何错误,过一会就退出了(xeyes、xclock没有问题)
有啥办法么?
h4xx3d commented
实测必须把png转换为ico才能正常打包,否则rcedit.exe找不到图标文件
op69qs commented
nodejs有版本要求吗