휴지통

· WEB/Electron
[Electron] 탐색기 여는 방법 shell을 이용해서 탐색기를 열 수 있다. const electron = require('electron'); const { shell } = electron; const app = electron.app || electron.remote.app; const appDir = app.getPath('userData'); // AppData 폴더 // 탐색기 열기 function openDir(url) { shell.showItemInFolder(appDir); } shell을 이용하면, 탐색기 열기 뿐만 아니라, 파일 열기 shell.openItem(fullPath), 선택한 아이템을 휴지통으로 보내는 기능 shell.moveItemToTrash(fullPath) 등..
S0PH1A
'휴지통' 태그의 글 목록