diff --git a/README.md b/README.md index 662932a..7fdf697 100644 --- a/README.md +++ b/README.md @@ -72,10 +72,11 @@ surf tab.list ```bash surf install # Chrome (default) surf install --browser brave # Brave +surf install --browser helium # Helium surf install --browser all # All supported browsers ``` -Supported: `chrome`, `chromium`, `brave`, `edge`, `arc` +Supported: `chrome`, `chromium`, `brave`, `edge`, `arc`, `helium` ### Uninstall diff --git a/native/cli.cjs b/native/cli.cjs index 60768ab..45cd647 100755 --- a/native/cli.cjs +++ b/native/cli.cjs @@ -1775,7 +1775,7 @@ Arguments: Options: -b, --browser Browser(s) to install for (default: chrome) - Values: chrome, chromium, brave, edge, arc, all + Values: chrome, chromium, brave, edge, arc, helium, all Multiple: --browser chrome,brave Examples: @@ -1805,7 +1805,7 @@ Remove native messaging host configuration. Options: -b, --browser Browser(s) to uninstall from (default: chrome) - Values: chrome, chromium, brave, edge, arc, all + Values: chrome, chromium, brave, edge, arc, helium, all -a, --all Uninstall from all browsers and remove wrapper Examples: diff --git a/scripts/install-native-host.cjs b/scripts/install-native-host.cjs index 9d22828..bf0a6dc 100755 --- a/scripts/install-native-host.cjs +++ b/scripts/install-native-host.cjs @@ -39,6 +39,12 @@ const BROWSERS = { linux: null, win32: null, }, + helium: { + name: "Helium", + darwin: "Library/Application Support/net.imput.helium/NativeMessagingHosts", + linux: null, + win32: null, + }, }; const NODE_PATHS = { @@ -218,7 +224,7 @@ Arguments: Options: -b, --browser Browser(s) to install for (default: chrome) - Values: chrome, chromium, brave, edge, arc, all + Values: chrome, chromium, brave, edge, arc, helium, all Multiple: --browser chrome,brave Examples: @@ -233,7 +239,7 @@ function main() { if (!extensionId) { console.error("Error: Extension ID required"); - console.error("Usage: install-native-host.cjs [--browser chrome|brave|edge|all]"); + console.error("Usage: install-native-host.cjs [--browser chrome|chromium|brave|edge|arc|helium|all]"); console.error("\nFind your extension ID at chrome://extensions (enable Developer Mode)"); process.exit(1); } diff --git a/scripts/uninstall-native-host.cjs b/scripts/uninstall-native-host.cjs index fe0e3f8..239185b 100755 --- a/scripts/uninstall-native-host.cjs +++ b/scripts/uninstall-native-host.cjs @@ -37,6 +37,12 @@ const BROWSERS = { linux: null, win32: null, }, + helium: { + name: "Helium", + darwin: "Library/Application Support/net.imput.helium/NativeMessagingHosts", + linux: null, + win32: null, + }, }; function getWrapperDir() { @@ -137,7 +143,7 @@ Usage: uninstall-native-host.cjs [options] Options: -b, --browser Browser(s) to uninstall from (default: chrome) - Values: chrome, chromium, brave, edge, arc, all + Values: chrome, chromium, brave, edge, arc, helium, all -a, --all Uninstall from all browsers and remove wrapper Examples: