-
Notifications
You must be signed in to change notification settings - Fork 193
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
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = Ferdium => class Affine extends Ferdium {}; |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"id": "affine", | ||
"name": "Affine", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"config": { | ||
"hasCustomUrl": true, | ||
"serviceURL": "https://{affine}/" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { default: obj }; | ||
} | ||
|
||
const _path = _interopRequireDefault(require('path')); | ||
|
||
module.exports = Ferdium => { | ||
// TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
// const getMessages = () => { | ||
// // TODO: Insert your notification-finding code here | ||
// Ferdium.setBadge(0, 0); | ||
// }; | ||
// Ferdium.loop(getMessages); | ||
|
||
Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
}; |