Adrià | bf3ff68 | 2014-07-19 20:32:17 +0200 | [diff] [blame] | 1 | { |
Adrià Vilanova Martínez | 86fda49 | 2022-05-31 15:05:21 +0200 | [diff] [blame] | 2 | #if defined(CHROMIUM || EDGE) |
Adrià | bf3ff68 | 2014-07-19 20:32:17 +0200 | [diff] [blame] | 3 | "manifest_version": 2, |
Adrià Vilanova Martínez | 86fda49 | 2022-05-31 15:05:21 +0200 | [diff] [blame] | 4 | #endif |
| 5 | #if defined(CHROMIUM_MV3 || EDGE_MV3) |
| 6 | "manifest_version": 3, |
| 7 | #endif |
avm99963 | f01af0e | 2020-12-26 23:11:10 +0100 | [diff] [blame] | 8 | "name": "__MSG_appName__", |
Adrià | bf3ff68 | 2014-07-19 20:32:17 +0200 | [diff] [blame] | 9 | "description": "__MSG_appDescription__", |
avm99963 | 1e9acd2 | 2021-01-16 16:14:34 +0100 | [diff] [blame] | 10 | "author": "Adrià Vilanova Martínez (@avm99963)", |
| 11 | "homepage_url": "https://gerrit.avm99963.com/plugins/gitiles/translateselectedtext/", |
avm99963 | f01af0e | 2020-12-26 23:11:10 +0100 | [diff] [blame] | 12 | "version": "0", |
| 13 | "version_name": "dirty", |
Adrià | bf3ff68 | 2014-07-19 20:32:17 +0200 | [diff] [blame] | 14 | "permissions": [ |
| 15 | "contextMenus", |
| 16 | "storage", |
| 17 | "notifications" |
| 18 | ], |
| 19 | "icons": { |
Adrià | 348cbb7 | 2014-11-09 22:20:09 +0100 | [diff] [blame] | 20 | "16": "icons/translate-16.png", |
| 21 | "32": "icons/translate-32.png", |
| 22 | "64": "icons/translate-64.png", |
| 23 | "128": "icons/translate-128.png", |
| 24 | "256": "icons/translate-256.png" |
Adrià | bf3ff68 | 2014-07-19 20:32:17 +0200 | [diff] [blame] | 25 | }, |
| 26 | "background": { |
Adrià Vilanova Martínez | 86fda49 | 2022-05-31 15:05:21 +0200 | [diff] [blame] | 27 | #if defined(CHROMIUM || EDGE) |
avm99963 | ce257a9 | 2020-12-27 00:07:13 +0100 | [diff] [blame] | 28 | "scripts": [ |
Adrià Vilanova Martínez | a197d86 | 2022-05-27 17:33:20 +0200 | [diff] [blame] | 29 | "background.bundle.js" |
avm99963 | ce257a9 | 2020-12-27 00:07:13 +0100 | [diff] [blame] | 30 | ], |
avm99963 | 866f73d | 2015-06-29 17:09:36 +0200 | [diff] [blame] | 31 | "persistent": false |
Adrià Vilanova Martínez | 86fda49 | 2022-05-31 15:05:21 +0200 | [diff] [blame] | 32 | #endif |
| 33 | #if defined(CHROMIUM_MV3 || EDGE_MV3) |
| 34 | "service_worker": "background.bundle.js" |
| 35 | #endif |
Adrià | bf3ff68 | 2014-07-19 20:32:17 +0200 | [diff] [blame] | 36 | }, |
| 37 | "options_page": "options.html", |
Adrià | 956b32a | 2015-01-01 20:03:07 +0100 | [diff] [blame] | 38 | "options_ui": { |
Adrià Vilanova Martínez | 86fda49 | 2022-05-31 15:05:21 +0200 | [diff] [blame] | 39 | #if defined(CHROMIUM || EDGE) |
| 40 | "chrome_style": true, |
| 41 | #endif |
| 42 | "page": "options.html" |
Adrià | 956b32a | 2015-01-01 20:03:07 +0100 | [diff] [blame] | 43 | }, |
Adrià Vilanova Martínez | 86fda49 | 2022-05-31 15:05:21 +0200 | [diff] [blame] | 44 | #if defined(CHROMIUM || EDGE) |
avm99963 | ce257a9 | 2020-12-27 00:07:13 +0100 | [diff] [blame] | 45 | "browser_action": {}, |
Adrià Vilanova Martínez | 86fda49 | 2022-05-31 15:05:21 +0200 | [diff] [blame] | 46 | #endif |
| 47 | #if defined(CHROMIUM_MV3 || EDGE_MV3) |
| 48 | "action": {}, |
| 49 | #endif |
Adrià Vilanova Martínez | e5263f1 | 2022-05-29 19:22:13 +0200 | [diff] [blame] | 50 | "default_locale": "en", |
Adrià Vilanova Martínez | 86fda49 | 2022-05-31 15:05:21 +0200 | [diff] [blame] | 51 | #if defined(CHROMIUM || EDGE) |
Adrià Vilanova Martínez | e5263f1 | 2022-05-29 19:22:13 +0200 | [diff] [blame] | 52 | "minimum_chrome_version": "86.0.4198.0" |
Adrià Vilanova Martínez | 86fda49 | 2022-05-31 15:05:21 +0200 | [diff] [blame] | 53 | #endif |
| 54 | #if defined(CHROMIUM_MV3 || EDGE_MV3) |
| 55 | "minimum_chrome_version": "96.0.4664.45" |
| 56 | #endif |
Adrià | bf3ff68 | 2014-07-19 20:32:17 +0200 | [diff] [blame] | 57 | } |