{"id":26887131,"url":"https://github.com/kencorma/electron-swapper","last_synced_at":"2026-05-04T12:33:35.025Z","repository":{"id":284224458,"uuid":"954230751","full_name":"KenCorma/electron-swapper","owner":"KenCorma","description":"Transform a Electron App to be compatiable with older windows via Supermium","archived":false,"fork":false,"pushed_at":"2025-04-19T23:43:36.000Z","size":814,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T12:45:08.855Z","etag":null,"topics":["electron","electron-app","electronjs","legacy","supermium","win32","windows","windows-10","windows-7","windows-8","windows-vista","windows-xp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KenCorma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-24T18:59:55.000Z","updated_at":"2025-04-19T23:42:14.000Z","dependencies_parsed_at":"2025-04-09T23:25:30.099Z","dependency_job_id":"8dde8f1d-bbe5-429e-946d-2c8e1dd3bcbf","html_url":"https://github.com/KenCorma/electron-swapper","commit_stats":null,"previous_names":["kencorma/electron-swapper"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/KenCorma/electron-swapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KenCorma%2Felectron-swapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KenCorma%2Felectron-swapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KenCorma%2Felectron-swapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KenCorma%2Felectron-swapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KenCorma","download_url":"https://codeload.github.com/KenCorma/electron-swapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KenCorma%2Felectron-swapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32607567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: 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":["electron","electron-app","electronjs","legacy","supermium","win32","windows","windows-10","windows-7","windows-8","windows-vista","windows-xp"],"created_at":"2025-03-31T19:27:55.381Z","updated_at":"2026-05-04T12:33:35.020Z","avatar_url":"https://github.com/KenCorma.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Electron Swapper \r\n\r\n### ALPHA \r\n\r\n**Right now this is still in development, the ONLY available electron version is 30.1.5 x64, so if the target app is not compatiable with that then there might be issues.**\r\n\r\nElectron Swapper is a windows program that will swap an App's electron core with a Supermium version ( or supplied mirror ) to enable broad win32 support across Windows generations. \r\n\r\n## Process\r\n\r\nThe exe that you click when you run an Electron app is just the base Electron app that points to app.asar. This is generic enough to be able to swapped out and still run the app like normal. \r\n\r\nProviding this app with a target, it will use string-search to probe the target exe and extract the Electron version. It will then download a Supermium version and replace all the file ( while generating a backup). It will create a new shortcut that links the new electron.exe with the target's app.asar that can be used to run the app like normal. \r\n\r\nProviding this app with a .receipt file will undo the swapping that was performed before. \r\n\r\nDragging the target exe or receipt into the swapper exe will trigger the app to run with the default settings ( Supermium + Closest version). Run the app via command prompt or powershell to enable more commands, like override-url to set the path to a zip that contains electron ( this will also override the version ). \r\n\r\n## Usage\r\n\r\n```\r\npositional arguments:\r\n  dragTarget            Enables Drag and Drop targets for default swapping or reverting\r\n\r\noptions:\r\n  -h, --help            show this help message and exit\r\n  -v, --version         Print Version\r\n  -t PATH, --target PATH\r\n                        Path to a electron app's .exe to be injected\r\n  -r PATH, --revert PATH\r\n                        Path to receipt file to revert the injection\r\n  -ov \"x.y.z\", --override-version \"x.y.z\"\r\n                        Use this version instead of them one from the target\r\n  -ou URL, --override-url URL\r\n                        Overide the url used to inject target with new electron\r\n  -oa x32 / x64, --override-arch x32 / x64\r\n                        Override which arch to use\r\n  --verbose NUMBER      Level of verbosity, 0 - 2, lower is less\r\n```\r\n\r\n## Building\r\n\r\nPip install all the imports if you don't already have them. Download PypInstaller and use the .spec file to build swapper.py .\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkencorma%2Felectron-swapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkencorma%2Felectron-swapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkencorma%2Felectron-swapper/lists"}