Skip to content

Commit

Permalink
Fix: show icon in product environment correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhu188 committed Mar 3, 2020
1 parent 45e16b6 commit 694a044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/windows/updateWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { LOAD_URL } from './../config'
const miniWinURL = process.env.NODE_ENV === 'development'
? `http://localhost:9080/#update`
: `${LOAD_URL}#update`
const previewIcon = process.env.NODE_ENV === 'development' ? '/images/tray.ico' : `${global.__static}/images/tray.ico`
const previewIcon = process.env.NODE_ENV === 'development' ? '/images/tray.ico' : `${global.__images}/images/tray.ico`
let updateWindow
const createUpdateWindow = function (BrowserWindow) {
if (updateWindow) return false
Expand Down

0 comments on commit 694a044

Please sign in to comment.