Skip to content

Commit

Permalink
Merge commit 'bed5346e508e51a0df717c8a05b1de6d41c41ec8' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgraph committed Jul 21, 2023
2 parents 3b389f7 + bed5346 commit 0a44fe0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"devDependencies": {
"@electron/notarize": "^2.1.0",
"dotenv": "^16.3.1",
"electron": "^25.3.0",
"electron": "^25.3.1",
"electron-builder": "^24.5.2",
"sumchecker": "^3.0.1"
}
Expand Down
10 changes: 5 additions & 5 deletions src/main/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ function createWindow (opt = {})

mainWindow.on('close', (event) =>
{
const win = event.sender
const index = windowsRegistry.indexOf(win)
const win = mainWindow;

if (__DEV__)
if (__DEV__)
{
const index = windowsRegistry.indexOf(win)
console.log('Window on close', index)
}

Expand Down Expand Up @@ -244,9 +244,9 @@ function createWindow (opt = {})
})

// Emitted when the window is closed.
mainWindow.on('closed', (event/*:WindowEvent*/) =>
mainWindow.on('closed', () =>
{
const index = windowsRegistry.indexOf(event.sender)
const index = windowsRegistry.indexOf(mainWindow)

if (__DEV__)
{
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ electron-updater@^6.1.1:
semver "^7.3.8"
typed-emitter "^2.1.0"

electron@^25.3.0:
electron@^25.3.1:
version "25.3.1"
resolved "https://registry.yarnpkg.com/electron/-/electron-25.3.1.tgz#898cbb5e54d17ad0014123a10f5febc17638c6a9"
integrity sha512-t0QXXqgf0/P0OJ9LU3qpcBMK+wL0FRwTQfooBaaG08v5hywPzc1yplfb3l4tS1xC0Ttw8IBaKLBeEoRgxBRHjg==
Expand Down

1 comment on commit 0a44fe0

@davidjgraph
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Downloaded draw.io-universal-21.6.5.dmg to ARM Mac M1 Mac OS 13.4. Tested create/save/reload/save diagram. Tested autosaving. Tested PDF export. No issues.

Downloaded draw.io-21.6.5-windows-installer.exe to windows 11 Pro 22H2 build 22621.1555. Tested create/save/reload/save diagram. Tested autosaving. Tested PDF export. No issues.

https://drawio.atlassian.net/projects/DS/versions/11347

Please sign in to comment.