diff --git a/argv.coffee b/argv.coffee index caca30e..746210d 100644 --- a/argv.coffee +++ b/argv.coffee @@ -26,10 +26,9 @@ DEFAULT_OPTIONS = { print_version = -> console.log """ #{info.name} #{info.version}, #{info.description} - - Copyright (C) 2021 Bob Wen. All rights reserved. - License: AGPL-3.0 + Copyright (C) 2021 Bob Wen. All rights reserved. + Homepage: #{info.homepage} This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as diff --git a/package.json b/package.json index d18df2e..cf99702 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,12 @@ "b-linux-arm64": "npm run b -- -t linux-arm64-14.15.4 -o dists/htpdate-linux-arm64", "b-mac-x64": "npm run b -- -t mac-x64-14.15.3 -o dists/htpdate-mac-x64", "b-all": "npm run b-win-x86 && npm run b-win-x64 && npm run b-linux-x64 && npm run b-linux-arm64 && npm run b-mac-x64", + "c-win-x86": "cd dists && cp htpdate-x86.exe htpdate.exe && 7z a htpdate-windows-x86.7z htpdate.exe && rm htpdate.exe", + "c-win-x64": "cd dists && cp htpdate-x64.exe htpdate.exe && 7z a htpdate-windows-x64.7z htpdate.exe && rm htpdate.exe", + "c-linux-x64": "cd dists && cp htpdate-linux-x64 htpdate && 7z a htpdate-linux-x86.7z htpdate && rm htpdate", + "c-linux-arm64": "cd dists && cp htpdate-linux-arm64 htpdate && 7z a htpdate-linux-arm64.7z htpdate && rm htpdate", + "c-mac-x64": "cd dists && cp htpdate-mac-x64 htpdate && 7z a htpdate-mac-x64.7z htpdate && rm htpdate", + "compress": "npm run c-win-x86 && npm run c-win-x64 && npm run c-linux-x64 && npm run c-linux-arm64 && npm run c-mac-x64", "build": "npm run compile && npm run b-all && npm run clean", "test": "npx coffee index.coffee www.pool.ntp.org" },