-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
}); | ||
} | ||
|
@@ -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 | ||
}); | ||
} | ||
|
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
lib/text-logger-notifier/vendor/text-logger.app/Contents/MacOS/text-logger
Binary file not shown.
Binary file removed
BIN
-361 KB
lib/text-logger-notifier/vendor/text-logger.app/Contents/Resources/Terminal.icns
Binary file not shown.
Empty file modified
0
lib/text-logger-notifier/vendor/text-logger.app/Contents/Resources/en.lproj/Credits.rtf
100644 → 100755
Empty file.
Binary file removed
BIN
-261 KB
lib/text-logger-notifier/vendor/text-logger.app/Contents/Resources/test.icns
Binary file not shown.