mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Clipper: Disable incorrect detection of dev mode for Firefox extension
This commit is contained in:
parent
2b624a9aed
commit
58201fd6c3
@ -8,6 +8,7 @@ if (typeof browser !== 'undefined') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function env() {
|
function env() {
|
||||||
|
return 'prod';
|
||||||
return !('update_url' in browser_.runtime.getManifest()) ? 'dev' : 'prod';
|
return !('update_url' in browser_.runtime.getManifest()) ? 'dev' : 'prod';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Joplin Web Clipper",
|
"name": "Joplin Web Clipper",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
|
|
||||||
"description": "Gets and saves content from your browser to Joplin.",
|
"description": "Capture and save web pages and screenshots from your browser to Joplin.",
|
||||||
|
|
||||||
"homepage_url": "https://joplin.cozic.net",
|
"homepage_url": "https://joplin.cozic.net",
|
||||||
|
|
||||||
|
@ -42,6 +42,7 @@ class Bridge {
|
|||||||
}
|
}
|
||||||
|
|
||||||
env() {
|
env() {
|
||||||
|
return 'prod';
|
||||||
return !('update_url' in this.browser().runtime.getManifest()) ? 'dev' : 'prod';
|
return !('update_url' in this.browser().runtime.getManifest()) ? 'dev' : 'prod';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user