美文网首页
Electron使用介绍

Electron使用介绍

作者: 起航者de风景 | 来源:发表于2017-04-02 16:52 被阅读0次

[转载自http://get.ftqq.com/7870.get]

<html lang="zh-cmn-Hans">

<head>

<meta charset="utf-8">

<meta property="wb:webmaster" content="6fb2b4de5a6b35cc" />

<link rel="icon"

type="image/png"

href="/static/image/get32px.png">

<title>用Electron开发桌面应用 | @Get社区</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link href="/static/css/bootstrap.min.css" rel="stylesheet">

<link rel="stylesheet" href="/static/css/app.css?v=2014" type="text/css" >

<link rel="stylesheet" href="/static/css/jdc.icon.css?v=2014" type="text/css" >

<link rel="stylesheet" href="/static/css/jquery.jscrollpane.css" type="text/css" >

<link rel="stylesheet" href="/static/css/../components/jquery.atwho/dist/css/jquery.atwho.min.css" type="text/css" >

<link rel="stylesheet" href="http://cdn.staticfile.org/highlight.js/9.0.0/styles/solarized-light.min.css" type="text/css" >

<link rel="stylesheet" type="text/css" href="/static/css/yue.css">

<link rel="stylesheet" type="text/css" href="/static/css/article-btn.css">

<link rel="stylesheet" type="text/css" href="/static/css/imgshare.css">

<script src="http://cdn.staticfile.org/jquery/2.2.1/jquery.min.js"></script>

<script src="/static/script/bootstrap.min.js"></script>

<script src="/static/script/jquery.jscrollpane.min.js"></script>

<script src="/static/script/jquery.mousewheel.js"></script>

<script src="/static/script/../components/notifyjs/dist/notify-combined.min.js"></script>

<script src="/static/script/../components/jquery.onoff/dist/jquery.onoff.min.js"></script>

<script src="/static/script/../components/jquery.atwho/dist/js/jquery.atwho.min.js"></script>

<script src="/static/script/../components/Caret.js/dist/jquery.caret.min.js"></script>

<script src="/static/script/../components/jquery-waypoints/waypoints.min.js"></script>

<script src="http://cdn.staticfile.org/highlight.js/9.0.0/highlight.min.js"></script>

<script src="/static/script/app.js"></script>

<script type="text/javascript" src="/static/script/jquery.imgshare.js" ></script>

<script type="text/javascript" src="/static/script/timeago.js" ></script>

<script type="text/javascript" src="/static/script/locales/timeago.zh-cn.js" ></script>

<script>

window.zhuge = window.zhuge || [];

window.zhuge.methods = "_init debug identify track trackLink trackForm page".split(" ");

window.zhuge.factory = function(b) {

return function() {

var a = Array.prototype.slice.call(arguments);

a.unshift(b);

window.zhuge.push(a);

return window.zhuge

}

};

for (var i = 0; i < window.zhuge.methods.length; i++) {

var key = window.zhuge.methods[i];

window.zhuge[key] = window.zhuge.factory(key)

}

window.zhuge.load = function(b, x) {

if (!document.getElementById("zhuge-js")) {

var a = document.createElement("script");

var verDate = new Date();

var verStr = verDate.getFullYear().toString()

  • verDate.getMonth().toString() + verDate.getDate().toString();

a.type = "text/javascript";

a.id = "zhuge-js";

a.async = !0;

a.src = (location.protocol == 'http:' ? "http://sdk.zhugeio.com/zhuge-lastest.min.js?v=" : 'https://zgsdk.zhugeio.com/zhuge-lastest.min.js?v=') + verStr;

var c = document.getElementsByTagName("script")[0];

c.parentNode.insertBefore(a, c);

window.zhuge._init(b, x)

}

};

window.zhuge.load('e1189bf28dd14a39a2f72b3a47abc3b7');

</script>

</head>

<body id="body">

<div class="navbar navbar-fixed-top navbar-get" role="navigation" id="theheader">

<div class="container clearfix">

<a class="logo" href="/?c=default">

</a></li>

</ul>

转载必须保留来源和以上赞助商信息。

</div>

<div class="sinfo exp">

本文由 <a href="/1.user" target="_blank">Easy<span aria-hidden="true" class="jdc-jobdeer jdcicon"></span></a> 第一时间收藏到

GET,原文来自 → <a href="https://medium.com/@bojzi/building-a-desktop-application-with-electron-204203eeb658" target="_blank"> medium.com </a>

</div>

<ul class="get-article-actions">

<li><a href="http://snap.ftqq.com/imget.php?title=%E3%80%8C+%E7%94%A8Electron%E5%BC%80%E5%8F%91%E6%A1%8C%E9%9D%A2%E5%BA%94%E7%94%A8+%E3%80%8D%E7%94%A8JavaScript%EF%BC%8CNode.js%E5%92%8CEletron%E5%88%9B%E5%BB%BA%E5%8F%91%E5%A3%B0%E5%99%A8%E5%BA%94%E7%94%A8%E7%9A%84%E8%AF%A6%E7%BB%86%E6%8C%87%E5%8D%97%E3%80%82+via+%40GET%E7%A4%BE%E5%8C%BA+-+%E9%9D%A2%E6%9C%9D%E7%9F%A5%E8%AF%86%EF%BC%8C%E7%AE%80%E6%B4%81%E9%9B%85%E8%87%B4+%E2%86%92+&url=http%3A%2F%2Fget.ftqq.com%2F7870.gets&source=4289046952&pic=" target="_blank">分享到微博</a></li>

<li class="kblink-7870"><a href="javascript:add2kb('7870','top');" >收藏本文</a></li>

<li class="followlink-1"><a href="javascript:follow('1');void(0);">关注@Easy</a></li>

</ul>

<div class="visible-xs-block wxlast">

<center>

<p>「GetParty」</p>

<p>关注微信号,推送好文章</p>

<p>微信中长按图片即可关注</p>

<p><a href="/?fr=qrbt" class="btn btn-success">更多精选文章</a></p>

</center>

</div>

<div id="article-7870">

<a href="javascript:toggle_inline_comment('7870','article');void(0);" class="get" name="comment"><span class="jdc-coffee"></span>评论(4)</a>

<div class="top20"></div>

</div>

<script>toggle_inline_comment('7870','article');

$(".timeago").timeago();</script>

<div class="hbox"></div>

</div>

<script>

$( document ).ready(function() {

highlight();

// 支持图片分享到微博

setTimeout( function()

{

$('.get-article-area').imgShare();

} , 2000 );

});

</script>

</div>

<div class="hidden-xs col-sm-3 sidebar-offcanvas" id="sidebar" role="navigation">

<input class="nh" type="checkbox" onchange="change2('https://medium.com/@bojzi/building-a-desktop-application-with-electron-204203eeb658');$(this).prop('checked', false);" />

<script type="text/javascript">

$('input.nh').onoff();

</script>

<script>

$('.sinfo.exp').waypoint(function(direction) {

if( direction == 'down' )

{

$("#wechat_code").show();

}

if( direction == 'up' )

{

$("#wechat_code").hide();

}

},{ offset:'bottom-in-view'});

</script>

<div id="wechat_code">

<p>关注微信号,推送好文章</p>

</div> </div>

</div>

<div class="get-last"></div>

<div class="get-user-menu">

<a href="/?c=weibo&a=login" class="link">微博一键登入</a><span class="top" ><a href="#"><span class="jdc-arrow-up-thick"></span></a></span>

</div>

<div class="modal fade" id="get_float" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" >

<div class="modal-dialog">

</div>

</div>

<div id="get_aside" class="clearfix">

<div class="pull-right"><a href="javascript:hide_aside();void(0);" class="get btn">×</a></div>

<div class="content"><center class="top50">

</center></div>

</div>

<div id="shadow_dom"></div>

<script type="text/javascript">

//emojify.run();

//$('#get_float').modal();

$(window).scroll( function()

{

var value = $(document).scrollTop();

//console.log('in value='+value);

if ( value > 0 )

$("#theheader").addClass('smaller');

else

$("#theheader").removeClass('smaller');

});

if( $(".snapbox").length > 0 )

$(".snapbox").append($("<div class='floatingfooter'></div>"));

$( document ).ready(function() {

$( '.yue a[href^="http://"]' ).attr( 'target','_blank' );

$( '.yue a[href^="https://"]' ).attr( 'target','_blank' );

});

</script>

</div>

</body>

</html>

相关文章

网友评论

      本文标题:Electron使用介绍

      本文链接:https://www.haomeiwen.com/subject/nkpgottx.html