nimchromepath

Thin lib to find if chrome exists on Windows, Mac, or Linux.

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:23

Tags

Installation

nimble install nimchromepath
choosenim install nimchromepath
git clone https://github.com/felipetesc/NimChromePath

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
nimchromepath - - - - - - -

Source

Repository https://github.com/felipetesc/NimChromePath
Homepage https://github.com/felipetesc/NimChromePath
Registry Source nimble_official

README

NimChromePath

Gets the chrome paths on Windows and *Nix Systems

nimble

License

MIT

Installation

nimble install nimchromepath

Documentation (available procs)

Get paths only to Windows Systems

proc getWinPaths(): seq[string]

Get paths only to *Nix Systems

proc getNixPaths(): seq[string]

Get paths on Windows or on *Nix Systems

proc getpaths(): seq[string]

Example:

Open Google Chrome in app mode

``` import osproc import nimchromepath

proc openURLLikeApp(url : string) : void = var paths = getpaths() if paths.len > 0 : var path = paths[0] path = path & " --app=" & url echo path discard osproc.execCmd(path)

openURLLikeApp("https://github.com/felipetesc/NimChromePath")

```