wip chrome

This commit is contained in:
Chakib Ben Ziane 2023-02-07 17:10:44 +01:00
parent 30c6584b88
commit 6932674bec
2 changed files with 3 additions and 0 deletions

1
chrome/chrome.go Normal file
View File

@ -0,0 +1 @@
package chrome

View File

@ -17,6 +17,7 @@ import (
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
// Load firefox browser modules // Load firefox browser modules
_ "git.sp4ke.xyz/sp4ke/gomark/firefox" _ "git.sp4ke.xyz/sp4ke/gomark/firefox"
_ "git.sp4ke.xyz/sp4ke/gomark/chrome"
) )
func main() { func main() {
@ -79,6 +80,7 @@ func main() {
// Add global flags from registered modules // Add global flags from registered modules
// we use GetModules to handle all types of modules // we use GetModules to handle all types of modules
modules := modules.GetModules() modules := modules.GetModules()
log.Debugf("loading %d modules", len(modules))
for _, mod := range modules { for _, mod := range modules {
modId := string(mod.ModInfo().ID) modId := string(mod.ModInfo().ID)