# Pepper Ç÷¡½Ã Ç÷¯±×ÀÎ »ç¿ëÇϱâ ÇÊ¿äÇÏ´Ù¸é Pepper Ç÷¡½Ã Ç÷¯±×ÀÎÀ» »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. Electron¿¡¼­ pepper Ç÷¡½Ã Ç÷¯±×ÀÎÀ» »ç¿ëÇϱâ À§Çؼ­´Â, µû·Î pepper Ç÷¡½Ã Ç÷¯±×ÀÎÀÇ À§Ä¡¸¦ ÁöÁ¤ÇØ ÁÖ¾î¾ßÇÕ´Ï´Ù. ## Ç÷¡½Ã Ç÷¯±×ÀÎ ÁغñÇϱâ Å©·Ò ºê¶ó¿ìÀúÀÇ `chrome://plugins` ÆäÀÌÁö¿¡ Á¢¼ÓÇÑ ÈÄ `¼¼ºÎÁ¤º¸`¿¡¼­ Ç÷¡½Ã Ç÷¯±×ÀÎÀÇ À§Ä¡¿Í ¹öÀüÀ» ãÀ» ¼ö ÀÖ½À´Ï´Ù. Electron¿¡¼­ Ç÷¡½Ã Ç÷¯±×ÀÎÀ» Áö¿øÇϱâ À§Çؼ± ÀÌ µÎ °¡Áö¸¦ º¹»çÇØ ¿Í¾ß ÇÕ´Ï´Ù. ## Electron ½ºÀ§Ä¡ Ãß°¡ Ç÷¯±×ÀÎÀ» »ç¿ëÇϱâ À§ÇØ Á÷Á¢ÀûÀ¸·Î `--ppapi-flash-path` ¿Í `ppapi-flash-version` Ç÷¡±×¸¦ ready À̺¥Æ®°¡ È£ÃâµÇ±â Àü¿¡ Ãß°¡ÇؾßÇÕ´Ï´Ù. ±×¸®°í `browser-window`¿¡ `plugins` ½ºÀ§Ä¡µµ Ãß°¡ÇؾßÇÕ´Ï´Ù. ```javascript var app = require('app'); var BrowserWindow = require('browser-window'); // Report crashes to our server. require('crash-reporter').start(); // Keep a global reference of the window object, if you don't, the window will // be closed automatically when the javascript object is GCed. var mainWindow = null; // Quit when all windows are closed. app.on('window-all-closed', function() { if (process.platform != 'darwin') { app.quit(); } }); // Ç÷¡½Ã Ç÷¯±×ÀÎÀÇ À§Ä¡¸¦ ¼³Á¤ÇÕ´Ï´Ù. // WindowsÀÇ °æ¿ì, /path/to/pepflashplayer.dll // MacÀÇ °æ¿ì, /path/to/PepperFlashPlayer.plugin // LinuxÀÇ °æ¿ì, /path/to/libpepflashplayer.so app.commandLine.appendSwitch('ppapi-flash-path', '/path/to/libpepflashplayer.so'); // Specify flash version, for example, v17.0.0.169 app.commandLine.appendSwitch('ppapi-flash-version', '17.0.0.169'); app.on('ready', function() { mainWindow = new BrowserWindow({ 'width': 800, 'height': 600, 'web-preferences': { 'plugins': true } }); mainWindow.loadUrl('file://' + __dirname + '/index.html'); // Something else }); ``` ## `` ű׸¦ ÀÌ¿ëÇÏ¿© Ç÷¯±×ÀÎÀ» È°¼ºÈ­ `plugins` ¼Ó¼ºÀ» `` ű׿¡ Ãß°¡ÇÕ´Ï´Ù. ```html ```