File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -224,8 +224,6 @@ Created by [Chris Grieser](https://chris-grieser.de/).</string>
224
224
<dict >
225
225
<key >colorindex </key >
226
226
<integer >3 </integer >
227
- <key >note </key >
228
- <string >chromium extension search </string >
229
227
<key >xpos </key >
230
228
<real >30 </real >
231
229
<key >ypos </key >
Original file line number Diff line number Diff line change @@ -81,21 +81,24 @@ function run() {
81
81
// determine name (SIC can be in one of these many locations)
82
82
let name = manifest . name ;
83
83
if ( name . startsWith ( "__MSG_" ) && manifest . short_name ) name = manifest . short_name ;
84
- if ( name . startsWith ( "__MSG_" ) ) {
85
- const msg = JSON . parse ( readFile ( root + "_locales/en/messages.json" ) ) ;
84
+ const msgsFile = root + "_locales/en/messages.json" ;
85
+ if ( name . startsWith ( "__MSG_" ) && fileExists ( msgsFile ) ) {
86
+ const msg = JSON . parse ( readFile ( msgsFile ) ) ;
86
87
name =
87
88
msg . extensionName ?. message ||
88
89
msg . name ?. message ||
89
90
msg . extName ?. message ||
90
91
msg . appName ?. message ||
91
- "[name not found]" ;
92
+ manifest . short_name ||
93
+ manifest . name ;
92
94
}
93
95
94
96
// determine options path
95
97
let optionsPath = manifest . options_ui ?. page || manifest . options_page || "" ;
96
98
97
99
// INFO EXCEPTIONS
98
100
if ( name === "Stylus" ) optionsPath = "manage.html" ;
101
+ if ( name === "Redirector" ) optionsPath = "redirector.html" ;
99
102
if ( id === "bbojmeobdaicehcopocnfhaagefleiae" ) name = "OptiSearch" ;
100
103
const anchor = specialAnchors [ name ] || "" ;
101
104
You can’t perform that action at this time.
0 commit comments