diff --git a/build/tasks/build-task.coffee b/build/tasks/build-task.coffee index 52b3ffd8a..b29166ab5 100644 --- a/build/tasks/build-task.coffee +++ b/build/tasks/build-task.coffee @@ -25,7 +25,6 @@ module.exports = (grunt) -> cp 'atom.sh', path.join(appDir, 'atom.sh') cp 'package.json', path.join(appDir, 'package.json') - cp path.join('resources', 'atom.png'), path.join(appDir, 'atom.png') packageDirectories = [] nonPackageDirectories = [ diff --git a/src/browser/auto-update-manager.coffee b/src/browser/auto-update-manager.coffee index 3e7822fff..f1f782d10 100644 --- a/src/browser/auto-update-manager.coffee +++ b/src/browser/auto-update-manager.coffee @@ -89,7 +89,7 @@ class AutoUpdateManager dialog.showMessageBox type: 'info' buttons: ['OK'] - icon: path.join(process.resourcesPath, 'app', 'atom.png') + icon: path.resolve(__dirname, '..', '..', 'resources', 'atom.png') message: 'No update available.' title: 'No Update Available' detail: "Version #{@version} is the latest version." @@ -100,7 +100,7 @@ class AutoUpdateManager dialog.showMessageBox type: 'warning' buttons: ['OK'] - icon: path.join(process.resourcesPath, 'app', 'atom.png') + icon: path.resolve(__dirname, '..', '..', 'resources', 'atom.png') message: 'There was an error checking for updates.' title: 'Update Error' detail: message