Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ä»åã¯ãElectronã®dialogã¢ã¸ã¥ã¼ã«ã使ã£ã¦ãããããã¨ãã£ã¦ã¿ã¾ãã dialogã¢ã¸ã¥ã¼ã«ã¯ãåãã©ãããã©ã¼ã ã®ãã¤ãã£ã´ã®ãã¤ã¢ãã°ã表示ããããã®ã¢ã¸ã¥ã¼ã«ã§ãã github.com åæºå Electronã¢ããªãåããã®ã«ãå¿ è¦ãªãã¡ã¤ã«ããã£ã¨ä½ã£ã¦ããã¾ãã package.son { "name":"dialog-test", "version":"0.1.0", "main":"main.js" } main.js var BrowserWindow = require('browser-window'); require('crash-reporter').start(); var mainWindow = null; app.on('window-all-closed', function(){ if(process.platform != 'dar
Electronã使ã£ã¦è¦æ ããæ´ãã¦ã¿ã Electronã¯JavaScriptã§ãã¹ã¯ãããã¢ããªã±ã¼ã·ã§ã³ãä½ãããã¼ã«ã§ãã ååã30åã§åºæ¥ããJavaScript (Electron) ã§ãã¹ã¯ãããã¢ããªãä½ã£ã¦é å¸ããã¾ã§ãã§ã¯ç°¡åãªã¢ããªãä½ã£ã¦é å¸ããã¨ããã¾ã§ããã¾ããã ãã¨ã¯ãã¤ãéãã® JS + HTML + CSS ã§ã¬ãªã¬ãªæ¸ãã¦ããã°ããã®ã§ãããã¾ãã¯è¦ãç®ããå ¥ããã¨ãããã¨ã§ãããå°ãã¢ããªã£ã½ãè¦æ ãã«ãã¦ã¿ã¾ãããã ã¡ãªã¿ã«ãMacã§ã¯ããããåä½ã確èªãã¾ããããWindowsã¯ç¥ãã¾ããã 大ä½åãããã«åãã¯ãã§ããããããã¡ã ã£ããWindowsçã®è¨è¿°ãæãã¦é ããã¨å©ããã¾ãã åºæ¬è¨å®ã¯ browser-window API㧠browser-windowã¯ã¢ããªã®ã¦ã£ã³ãã¦ã表示ããããã®APIã§ãã ä¾ãã°ã以ä¸ã¯åãªãin
Electronããtwitter APIãå©ããã¨ãã¦å°ãããã£ãã®ã§ã¡ã¢. Electronã«ãããOAuthã®ãã°ã¤ã³å¦çé¢é£ã®è©±ãªã®ã§, å¥ã«Twitterã ãã«éã£ã話ã§ã¯ãªãã¯ãã ããã£ãå 容 ééããåé¡ã¨ãã¦ã¯, ElectronããTwitterã®APIãå©ããã¨ããã®ã ãã©, oauth_verifierãä¸æãåå¾ã§ããªã, ã¨ããå 容ã . æå, oauthã®callbackã« 'file://' + __dirname + 'redirect.html'ã®ããã«ãã¡ã¤ã«ã¹ãã¼ãã®URLãæå®ãã¦ã¿ãã®ã ãã©, ä¸è¨ã®ããã«ã¨ã©ã¼ã表示ããã¦ãã¾ã£ã. ãã°ãã, oauth_verifierã®åå¾èªä½ã¯æåãã¦ãããã®, ç»é¢é·ç§»ã§ã³ã±ã¦ããã®ã¯æããã . é常, Electronã®ã¢ããªã§ã¯, rendererProcessä¸ã§location.hrefãåç §
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}