mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 23:32:26 +01:00
Fix loading command-line options handler.
--HG-- extra : rebase_source : 338b930769bf380fd627aa46b4c3659a5c257ca5
This commit is contained in:
@@ -1985,7 +1985,7 @@ const Dactyl = Module("dactyl", {
|
||||
dactyl.version = addon.version + " (created: @DATE@)";
|
||||
});
|
||||
|
||||
services.add("commandLineHandler", "@mozilla.org/commandlinehandler/general-startup;1?type=" + config.name);
|
||||
services.add("commandLineHandler", "@mozilla.org/commandlinehandler/general-startup;1?type=dactyl");
|
||||
|
||||
let commandline = services.get("commandLineHandler").optionValue;
|
||||
if (commandline) {
|
||||
|
||||
Reference in New Issue
Block a user