Skip to content

Commit

Permalink
Added app icon (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovekyc authored Jan 12, 2017
1 parent ab1e9a3 commit c3f14de
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 6 deletions.
10 changes: 7 additions & 3 deletions app/core/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ import {store, read, remove} from './database';
const dir = process.cwd();
const indexPath = `file://${dir}/app/view/popup.html`;
const settingPath = `${dir}/app/setting.json`;
const mb = menubar({index: indexPath, height: 450});
const mb = menubar({
index: indexPath,
height: 450,
icon: `${dir}/app/resources/icon-menubar/icon-menubar.png`
});

function notifyDone(contents) {
notifier.notify({
title: 'You just have scrapped text',
message: contents.source,
// icon: `${dir}/app/resources/app-icon-retina-white/app-icon-retina-white@3x.png`,
// icon: `${dir}/app/resources/icon-app/icon-app@3x.png`,
sound: true
});
}
Expand All @@ -23,7 +27,7 @@ function notifyErr(err) {
notifier.notify({
title: 'Fail to scrap text',
message: err.message,
icon: `${dir}/app/resources/app-icon-retina-white/[email protected]`,
// icon: `${dir}/app/resources/app-icon-retina-white/[email protected]`,
sound: true
});
}
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added app/resources/icon-menubar/icon-menubar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/resources/icon-menubar/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/resources/icon-menubar/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/view/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class header extends React.Component {
<div style={{display: 'flex'}}>
<div style={{flexBasis: 16}}/>
<div style={{flexBasis: 20}}>
<img src={'../resources/app-icon-retina-white/app-icon-retina-white@3x.png'}
<img src={'../resources/icon-app/icon-app@3x.png'}
style={{height: 12, width: 12}}/>
</div>
<div style={{flexBasis: 13, flexShrink: 0}}/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundleExecutable</key>
<string>text-logger</string>
<key>CFBundleIconFile</key>
<string>test</string>
<string>app</string>
<key>CFBundleIdentifier</key>
<string>nl.superalloy.oss.text-logger</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand Down Expand Up @@ -54,7 +54,7 @@
<true/>
</dict>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2012-2016 Eloy Durán, Julien Blanchard. All rights reserved.</string>
<string>Copyright © 2017 Youngchan Kim</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
Expand Down
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.

0 comments on commit c3f14de

Please sign in to comment.