리펙토링: Node.js 프로젝트 폴더 구조 적용

This commit is contained in:
2026-05-14 11:01:11 +09:00
parent 65ac35929a
commit dcd3c9a6e9
13 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "photo-renamer",
"version": "2.0.0",
"description": "사진 파일 이름 정리 앱",
"main": "src/main.js",
"main": "src/main/index.js",
"scripts": {
"start": "electron .",
"build": "electron-builder --mac --dir",
+1 -1
View File
@@ -20,7 +20,7 @@ function createWindow() {
show: false,
});
mainWindow.loadFile(path.join(__dirname, 'index.html'));
mainWindow.loadFile(path.join(__dirname, '../renderer/index.html'));
mainWindow.once('ready-to-show', () => {
mainWindow.show();
+2 -2
View File
@@ -1,7 +1,7 @@
import { state } from './state.js';
import * as pinchZoom from './handlers/pinchZoom.js';
import * as pinchZoom from './handlers/pinch-zoom.js';
import * as selection from './handlers/selection.js';
import * as dragDrop from './handlers/dragDrop.js';
import * as dragDrop from './handlers/drag-drop.js';
// ── DOM ──────────────────────────────────────────────
const grid = document.getElementById('grid');