{"id":13620299,"url":"https://github.com/Nigh/ahk-autoupdate-template","last_synced_at":"2025-04-14T19:31:48.619Z","repository":{"id":70977788,"uuid":"417034191","full_name":"Nigh/ahk-autoupdate-template","owner":"Nigh","description":"ahk app with autoupdate template","archived":false,"fork":false,"pushed_at":"2025-03-29T10:54:48.000Z","size":1773,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T11:30:42.518Z","etag":null,"topics":["autohotkey","autohotkey-v2"],"latest_commit_sha":null,"homepage":"","language":"AutoHotkey","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/Nigh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"ko_fi":"xianii","custom":["https://paypal.me/xianii","https://afdian.net/@xianii"]}},"created_at":"2021-10-14T07:37:28.000Z","updated_at":"2025-03-29T10:54:50.000Z","dependencies_parsed_at":"2024-01-22T01:09:42.525Z","dependency_job_id":"ccf076f4-3e9c-4eb8-ac4f-15f4b611b579","html_url":"https://github.com/Nigh/ahk-autoupdate-template","commit_stats":null,"previous_names":[],"tags_count":7,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nigh%2Fahk-autoupdate-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nigh%2Fahk-autoupdate-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nigh%2Fahk-autoupdate-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nigh%2Fahk-autoupdate-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nigh","download_url":"https://codeload.github.com/Nigh/ahk-autoupdate-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248945950,"owners_count":21187414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["autohotkey","autohotkey-v2"],"created_at":"2024-08-01T21:00:54.267Z","updated_at":"2025-04-14T19:31:48.606Z","avatar_url":"https://github.com/Nigh.png","language":"AutoHotkey","funding_links":["https://ko-fi.com/xianii","https://paypal.me/xianii","https://afdian.net/@xianii"],"categories":["AutoHotkey"],"sub_categories":[],"readme":"# AHK v2.0 auto update template\n\n![](logo.png)\n\n`logo.png`(modified) from https://www.pngrepo.com/\n\n`icon.ico` is converted from the `logo.png`  at https://cloudconvert.com/png-to-ico with `48x48` dimension\n\n\u003e tested on Autohotkey 2.0-beta.3\n\n## how it works\n\nWhen publish release on Github, upload a additional `version.txt` file.\n\nThen the script would download the file and check if there is newer version. If there is, then download it.\n\n## Setup\n\n### `update.ahk`\n\n- the `update_log` would be shown once through the `msgbox` after success update\n\n### `meta.ahk`\n\n- set `version`\n- set `ahkFilename` to your script name, it would compile `%ahkFilename%.ahk` to `%binaryFilename%.exe`\n- ~~set `downloadUrl` to your github release URL~~\n- set your GitHub id(`GitHubID`) and Repo name (`repoName`)\n\n### `tray.ahk`\n\n- setup your tray icon behavior here.\n\n### `icon.ico`\n\n- put your app icon here.\n\n### notice\n\nversion is compared by `(\\d+)\\.(\\d+)\\.(\\d+)`\n\n## Usage\n\n1. Run `distribution.ahk`, is will compile your script into binary, and then compress it into zip. At the same time, it will genarate the `version.txt`. And then, this two file would be moved into `dist` directory.\n2. Upload the two files in the `dist` directory to your release.\n3. Everything would work.\n\n## Template Usage\n\nClick [Use this template](https://github.com/Nigh/ahk-autoupdate-template/generate)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNigh%2Fahk-autoupdate-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNigh%2Fahk-autoupdate-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNigh%2Fahk-autoupdate-template/lists"}