Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window start error #467

Closed
gxy01 opened this issue Jun 5, 2018 · 2 comments · Fixed by #559
Closed

window start error #467

gxy01 opened this issue Jun 5, 2018 · 2 comments · Fixed by #559

Comments

@gxy01
Copy link

gxy01 commented Jun 5, 2018

I'am using 0.32 on win 10.
When i first start app, alert many errors.

After some work, I find code error at main.development.js:

let trayIconSrc = `${__dirname}/tray_icon.png`
if (process.platform === 'darwin') {
  trayIconSrc = `${__dirname}/[email protected]`
} else if (process.platform === 'win32') {
  trayIconSrc = `${__dirname}/tray_icon.ico`
}

On windows, I think the path should be '\' instead of '/'.

I use asar change file packged in app.asar, Evething is fine.

@ogustavo-pereira
Copy link
Member

@gxy01 thanks for the comment

@standin000
Copy link

it seems doesn't fix it in code repository, why close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants