Skip to content

Commit

Permalink
Merge pull request #1 from vuongle2609/update-editor
Browse files Browse the repository at this point in the history
Update editor
vuongle2609 authored Mar 22, 2024
2 parents 717de39 + ac8ca37 commit 1bf8366
Showing 41 changed files with 1,200 additions and 326 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -24,7 +24,6 @@ jobs:
cache-dependency-path: 'package-lock.json'
node-version: 20

- run: 'ls'
- run: 'npm install'
- run: 'npm run build'
env:
4 changes: 4 additions & 0 deletions electron/main.ts
Original file line number Diff line number Diff line change
@@ -27,6 +27,8 @@ function createWindow() {
icon: path.join(process.env.VITE_PUBLIC, "electron-vite.svg"),
minWidth: 1024,
minHeight: 720,
autoHideMenuBar: true,
// frame: false,
webPreferences: {
preload: "preload.js",
// preload: path.join(__dirname, "preload.js"),
@@ -37,6 +39,8 @@ function createWindow() {
},
});

win.maximize();

remoteMain.enable(win.webContents);

// Test active push message to Renderer-process.
Loading

0 comments on commit 1bf8366

Please sign in to comment.