diff --git a/README.md b/README.md index f387932..2bb2e2d 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,8 @@ Then the script would download the file and check if there is newer version. If - set `version` - set `ahkFilename` to your script name, it would compile `%ahkFilename%.ahk` to `%binaryFilename%.exe` -- set `downloadUrl` to your github release URL +- ~~set `downloadUrl` to your github release URL~~ +- set your GitHub id(`GitHubID`) and Repo name (`repoName`) ### `tray.ahk` diff --git a/meta.ahk b/meta.ahk index 8cb7ab6..01bec39 100644 --- a/meta.ahk +++ b/meta.ahk @@ -1,14 +1,14 @@ FileEncoding("UTF-8") appName := "auto upgrader" -version := "0.3.4" +version := "0.4.0" versionFilename := "version.txt" ahkFilename := "app.ahk" binaryFilename := "app.exe" downloadFilename := "app.zip" -downloadUrl := "/Nigh/ahk-autoupdate-template/releases/latest/download/" +GitHubID := "Nigh" +repoName := "ahk-autoupdate-template" +downloadUrl := "/" GitHubID "/" repoName "/releases/latest/download/" update_log := " ( -Replaced compiler binary source -Removed dead GitHub mirror -Fixed property set in the compiled executable's version information +Rewrite updater.ahk with C, that will reduce the compiled binary by half. )"