-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
启动错误 #6
Comments
@freedomlang 噢 不好意思 可能是electronv1.x 开始废弃旧的用法了 你可以改用0.x版本 require('app')
require('browser-window')
require('clipboard')
require('native-image')
// =>
require('electron').app
require('electron').BrowserWindow
require('electron').clipboard
require('electron').nativeImage |
@fritx 按照官方的api说明修改后,可以启动了。但是,画面卡在登录成功的界面,并没有成功跳转微信客户端的界面。会不会连preload都变了? |
是这个 http://electron.atom.io/docs/api/browser-window/ |
👍 参照commit: huangruichang/md-editor@08ad699 |
@fritx 还是不行,就是跳转不了!问题还是在preload.js那里。以下是修改的地方!
preload.js
PS:终端没有任何提示! |
amazing 👍 |
诡异的是:我翻了一下官方的文档,发现有 我在init函数的开头添加alert测试了一下,是有反映的!是不是下面挂掉了?
|
@freedomlang OK了 |
@fritx 还是不跳转>_<,微信上点击登录了,但网页上还停留在提示“在手机上确认登录的画面”! |
怪了。。我上周末是ok的。。electron v1.2.5 |
@fritx 测试系统是Linux && electron 1.2.0。我在 |
错误信息如下
是我的electron的安装问题?BTW:electron的版本是1.2
The text was updated successfully, but these errors were encountered: