update README, remove un necessary instructions
This commit is contained in:
11
README.md
11
README.md
@@ -64,17 +64,6 @@ jsxhint --jsx-only .
|
||||
|
||||
There is a precommit hook that lints the code before commiting the changes.
|
||||
|
||||
### Load unpacked in Chrome (current in chrome store)
|
||||
|
||||
1. Clone repository to disk
|
||||
2. Remove `browser_specific_settings` key from manifest.json (only necessary for firefox)
|
||||
3. Go to `Settings` → `Extensions`
|
||||
4. Enable `Developer mode`
|
||||
5. Click `Load unpacked extension...`
|
||||
6. Select repository directory
|
||||
|
||||

|
||||
|
||||
### Troubleshooting
|
||||
|
||||
Check for errors by inspecting the extension.
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 114 KiB |
@@ -351,7 +351,7 @@ class WakaTimeCore {
|
||||
|
||||
getOperatingSystem(): Promise<string> {
|
||||
return new Promise((resolve) => {
|
||||
chrome.runtime.getPlatformInfo(function(info) {
|
||||
chrome.runtime.getPlatformInfo(function (info) {
|
||||
resolve(`${info.os}_${info.arch}`);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user