{"id":23452246,"url":"https://github.com/nomis51/crossover-window-detection","last_synced_at":"2026-04-27T20:32:08.212Z","repository":{"id":57131826,"uuid":"440955847","full_name":"nomis51/crossover-window-detection","owner":"nomis51","description":"A window detection library for CrossOver","archived":false,"fork":false,"pushed_at":"2021-12-22T21:46:06.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-30T15:43:48.715Z","etag":null,"topics":["crossover","detection","winapi","window","windows"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nomis51.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-22T18:54:15.000Z","updated_at":"2022-04-17T22:14:46.000Z","dependencies_parsed_at":"2022-09-03T11:41:22.932Z","dependency_job_id":null,"html_url":"https://github.com/nomis51/crossover-window-detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nomis51/crossover-window-detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomis51%2Fcrossover-window-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomis51%2Fcrossover-window-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomis51%2Fcrossover-window-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomis51%2Fcrossover-window-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nomis51","download_url":"https://codeload.github.com/nomis51/crossover-window-detection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomis51%2Fcrossover-window-detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32354566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crossover","detection","winapi","window","windows"],"created_at":"2024-12-24T01:14:09.904Z","updated_at":"2026-04-27T20:32:08.188Z","avatar_url":"https://github.com/nomis51.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crossover-window-detection\n## Requirements\n- An Electron app (Please take a look at the requirements of [electron-edge-js](https://www.npmjs.com/package/electron-edge-js) to know the exact version of Electron vs Node.js you need)\n- Depending the version of Node.js you have, you might need to install [Windows Build Tools](https://www.npmjs.com/package/windows-build-tools) before you try to install this package\n- A Windows system\n- .NET 4.5+ (You most likely already have it)\n\n## Installation\nVia [NPM](https://www.npmjs.com/package/@nomis51/crossover-window-detection)\n\n`npm i @nomis51/crossover-window-detection`\n\n## Usage\n\n```js\nconst { getForegroundWindowInfos } = require('@nomis51/crossover-window-detection');\n\n// Considering in this example that Google Chrome is the current foreground window\ntry {\n  getForegroundWindowInfos(infos =\u003e {\n    if (!infos) return;\n    console.log(infos) // { \"title\": \"Google Chrome\", \"processPath\": \"C:\\Program Files\\Google Chrome\\bin\\chrome.exe\" }\n  });\n}\ncatch (e) {\n  console.error(e)\n}\n```\n\n## Dev\nThe C# test project runs on .NET 5.0, so you'll need that (or downgrade the project).\nThe library itself is .NET Standard 2.0.\n\nTo test the JS part outside of Electron, locally install [edge-js](https://www.npmjs.com/package/edge-js) instead of the electron version and replace the import in index.js.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnomis51%2Fcrossover-window-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnomis51%2Fcrossover-window-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnomis51%2Fcrossover-window-detection/lists"}