리펙토링: Node.js 프로젝트 폴더 구조 적용
This commit is contained in:
1 parent
65ac35929a
commit
dcd3c9a6e9
13 files changed
+4
-4
No files matched your search
+1
-1
@@ -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",
|
||||
|
||||
@@ -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();
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -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');
|
||||
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user