mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-20 06:01:22 +08:00
feat: add matlab.md
cheatsheet (#21). 02d0a495a6
This commit is contained in:
@ -48,7 +48,7 @@
|
||||
</div></div><div class="h2wrap-body"><div class="wrap h3body-exist row-span-4"><div class="wrap-header h3wrap"><h3 id="快速开始"><a aria-hidden="true" tabindex="-1" href="#快速开始"><span class="icon icon-link"></span></a>快速开始</h3><div class="wrap-body">
|
||||
<!--rehype:wrap-class=row-span-4-->
|
||||
<p><a href="https://www.electronjs.org/">Electron</a> 是一个使用 JavaScript、HTML 和 CSS 构建桌面应用程序的框架</p>
|
||||
</div></div><div class="h3wrap-body"><h4 id="创建你的应用程序"><a aria-hidden="true" tabindex="-1" href="#创建你的应用程序"><span class="icon icon-link"></span></a>创建你的应用程序</h4>
|
||||
<h4 id="创建你的应用程序"><a aria-hidden="true" tabindex="-1" href="#创建你的应用程序"><span class="icon icon-link"></span></a>创建你的应用程序</h4>
|
||||
<ul class="style-timeline">
|
||||
<li>安装
|
||||
<pre class="language-bash"><code class="language-bash code-highlight"><span class="code-line"><span class="token function">mkdir</span> my-app <span class="token operator">&&</span> <span class="token builtin class-name">cd</span> my-app
|
||||
@ -115,7 +115,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<!--rehype:className=style-timeline-->
|
||||
</div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="关闭所有窗口时退出应用"><a aria-hidden="true" tabindex="-1" href="#关闭所有窗口时退出应用"><span class="icon icon-link"></span></a>关闭所有窗口时退出应用</h3><div class="wrap-body">
|
||||
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="关闭所有窗口时退出应用"><a aria-hidden="true" tabindex="-1" href="#关闭所有窗口时退出应用"><span class="icon icon-link"></span></a>关闭所有窗口时退出应用</h3><div class="wrap-body">
|
||||
<pre class="language-js"><code class="language-js code-highlight"><span class="code-line">app<span class="token punctuation">.</span><span class="token method function property-access">on</span><span class="token punctuation">(</span><span class="token string">'window-all-closed'</span><span class="token punctuation">,</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token arrow operator">=></span> <span class="token punctuation">{</span>
|
||||
</span><span class="code-line"> <span class="token keyword control-flow">if</span> <span class="token punctuation">(</span>process<span class="token punctuation">.</span><span class="token property-access">platform</span> <span class="token operator">!==</span> <span class="token string">'darwin'</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>
|
||||
</span><span class="code-line"> app<span class="token punctuation">.</span><span class="token method function property-access">quit</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
|
||||
@ -2002,7 +2002,7 @@
|
||||
<ul>
|
||||
<li><a href="https://simulatedgreg.github.io/electron-cheatsheet/">Electron 备忘清单</a> <em>(simulatedgreg.github.io)</em></li>
|
||||
</ul>
|
||||
</div></div></div></div></div><footer class="footer-wrap"><footer class="max-container">© 2022 Kenny Wang, All rights reserved.</footer></footer><script>
|
||||
</div></div><div class="h2wrap-body"></div></div></div></div><footer class="footer-wrap"><footer class="max-container">© 2022 Kenny Wang, All rights reserved.</footer></footer><script>
|
||||
if(('onhashchange' in window) && ((typeof document.documentMode==='undefined') || document.documentMode==8)) {
|
||||
window.onhashchange = function () {
|
||||
anchorPoint()
|
||||
|
Reference in New Issue
Block a user