Skip to content

Releases: Zalexanninev15/GRU

Version 3.1

24 Jul 15:50

Choose a tag to compare

🦄 What's new?

  • Added asset search by regular expressions (--regex)

Example:

gru.exe --repo obsproject/obs-studio --app obs64.exe --with "^OBS-Studio-(\d+\.\d+\.\d+)-Windows(-(?:x64|amd64|Portable|Portable-x64|x64-Portable))?\.zip$" --regex --main bin\64bit\obs64.exe
  • Added a feature to replace the version number in a direct link specified using --link, based on the version obtained from GitHub using the “magic” text <version> inserted in the appropriate place in the link.
  • The latest currently available console 7-Zip version is being used.
  • The Russian-language build is no longer published, as it is not necessary. This build is no longer being developed.

Version 3.0.2 + 3.0.3

24 Mar 09:20

Choose a tag to compare

Changes:

  • For nuget packages: added missing implementation of copying folders for applications.
  • Fixed inaccuracies in text outputs.
  • Fixed application process stopping for GRU builds without a manifest.
  • Updated the dependency for JSON parsing to the latest version.

Version 3.0.1

20 Feb 18:35
7df1d22

Choose a tag to compare

Changes:

  • Improved information messages.
  • By numerous requests, I have added the Russian [RU] version of the utility (without translation of the help information).

🦎 Version 3.0 «Chameleon»

15 Feb 17:55

Choose a tag to compare

🦄 What's new?

  • Added the ability to work without administrator rights (unstable), file UpdateTools_no_manifest.zip
  • A new argument --ghost has been added, which allows you to search for asset matches not in one release, but in several recent ones, if a developer publishes different applications in the same repository in different releases.
  • A new argument has been added --wgetrc that prioritizes the configuration file instead of using the GRU argument properties. Support for wget (.wgetrc)
  • A new argument has been added --tcpud, which allows you to use the loader from Total Commander PowerUser (so far only "curl" is supported), the functionality may not be as stable as the other downloaders.
  • A new argument has been added --pre for pre-releases (if there are no stable ones or the pre-releases are newer than the stable ones)
  • A new argument has been added --before, which allows you to launch the prepare.bat before downloading the asset.
  • Added a new "gru-classic" tool (--tool gru-classic) that allows you to use the built-in GRU progress bar with a design from the first version of the GRU utility (version 1.x.x)
  • Implemented token support (GitHub personal access token) to work better with the GitHub API and increase the number of requests available to the user (--gh <personal access token>). Get personal access token.
  • Added a user-agent for requests to the GitHub API (--ua <user-agent>)
  • Added support for nuget packages (.nupkg) using the --nupkg flag. Sometimes, full versions of programs may be distributed in these packages (for example, Insomnia). Supported programs are compiled using .NET Framework 4.5-4.8.1 (inside the package, which is essentially a zip archive, there will be a "lib" folder containing the version folder of .NET Framework, the contents of which will be extracted.
  • Checking 7-Zip files for existence (7z.exe, 7z.dll), if the user has extracted only the executable file from the archive for some reason.
  • The latest currently available 7-Zip version is being used.
  • The executable file is signed.
  • Added information about the planned version 3.1 (most likely not in 2025, but I can't say anything for sure right now)

🪄 Improvements

  • The tool has been renamed: "bn" to "gru"
  • Support for latest versions of wget and improved curl support.
  • Returned and updated code of debugging (--debug)
  • Rewritten and simplified the text of the help using ChatGPT (almost completely up-to-date old version of the help)
  • Improvements for curl and wget downloaders.
  • Updated user-agent.
  • Optimized JSON parsing for releases, the used library for parsing has been updated to the latest version.
  • The build-in downloader ("gru") is used again by default.
  • Minor improvements and corrections.
  • Fixed a very long-standing issue with rendering the progress bar when using the "gru" downloader.

For those who will build the utility from the source code: do not update the libraries: trauma, console, tokio.
Updating at least one of these libraries to a higher version breaks the progress bar.

  • Fixed problems if no executable or text file was found for wget and curl utilities, which caused critical errors in code.
  • Fixed a bug with a missing version number if there are no stable releases.
  • Fixed a bug that could cause downloads to try to start even if no new version was found.

🔨 Building things

  • Improved build script build.ps1
  • Updated the compilation instructions for the Microsoft and Chocolatey dependency-free project, fixed minor issues.

Version 3.0 beta 3 / Final Beta (stability is 100%, but we still need to do something)

09 Feb 12:02

Choose a tag to compare

🦄 What's new?

  • Added the ability to work without administrator rights (unstable), file UpdateTools_no_manifest.zip
  • A new argument --ghost has been added, which allows you to search for asset matches not in one release, but in several recent ones, if a developer publishes different applications in the same repository in different releases.
  • A new argument has been added --wgetrc that prioritizes the configuration file instead of using the GRU argument properties. Support for wget (.wgetrc)
  • A new argument has been added --tcpud, which allows you to use the loader from Total Commander PowerUser (so far only "curl" is supported), the functionality may not be as stable as the other downloaders.
  • A new argument has been added --pre for pre-releases (if there are no stable ones or the pre-releases are newer than the stable ones)
  • A new argument has been added --before, which allows you to launch the prepare.bat before downloading the asset.
  • Added a new "gru-classic" tool (--tool gru-classic) that allows you to use the built-in GRU progress bar with a design from the first version of the GRU utility (version 1.x.x)
  • Implemented token support (GitHub personal access token) to work better with the GitHub API and increase the number of requests available to the user (--gh <personal access token>). Get personal access token.
  • Added a user-agent for requests to the GitHub API (--ua <user-agent>)
  • Checking 7-Zip files for existence (7z.exe , 7z.dll), if the user has extracted only the executable file from the archive for some reason.
  • The latest currently available 7-Zip version is being used.
  • The executable file is signed.
  • Added information about the planned version 3.1 (most likely not in 2025, but I can't say anything for sure right now)

🪄 Improvements

  • The tool has been renamed: "bn" to "gru"
  • Support for latest versions of wget and improved curl support.
  • Returned and updated code of debugging (--debug)
  • Rewritten and simplified the text of the help using ChatGPT (almost completely up-to-date old version of the help)
  • Improvements for curl and wget downloaders.
  • Updated user-agent.
  • Optimized JSON parsing for releases, the used library for parsing has been updated to the latest version.
  • The build-in downloader ("gru") is used again by default.
  • Minor improvements and corrections.
  • Fixed problems if no executable or text file was found for wget and curl utilities, which caused critical errors in code.
  • Fixed a bug with a missing version number if there are no stable releases.
  • Fixed a bug that could cause downloads to try to start even if no new version was found.

🔨 Building things

  • Improved build script build.ps1
  • Updated the compilation instructions for the Microsoft and Chocolatey dependency-free project, fixed minor issues.

Version 3.0 beta 2

29 Jan 10:22

Choose a tag to compare

Version 3.0 beta 2 Pre-release
Pre-release

Firstly, the numbering has changed. I think it's high time, especially because of the number of changes and the time spent on development, but the release of version 2.3 would not be as grandiose as 3.0.

🦄 What's new?

  • Added the ability to work without administrator rights (unstable), file UpdateTools_no_manifest.zip
  • A new argument has been added --wgetrc that prioritizes the configuration file instead of using the GRU argument properties. Support for wget (.wgetrc)
  • A new argument has been added --tcpud, which allows you to use the loader from Total Commander PowerUser (so far only "curl" is supported), the functionality may not be as stable as the other downloaders.
  • A new argument has been added --pre for pre-releases (if there are no stable ones or the pre-releases are newer than the stable ones). Example:
GRU.exe --repo FreeTubeApp/FreeTube --app FreeTube.exe --with "-win-x64-portable.zip" --pre
  • A new argument has been added --before, which allows you to launch the prepare.bat before downloading the asset.
  • The latest currently available 7-Zip version is being used.
  • The executable file is signed.

🪄 Improvements

  • The tool has been renamed: "bn" to "gru"
  • Support for latest versions of wget and improved curl support.
  • Returned and updated code of debugging (--debug)
  • Rewritten and simplified the text of the help using ChatGPT (almost completely up-to-date old version of the help)
  • Improvements for curl and wget downloaders.
  • Updated user-agent.
  • Optimized JSON parsing for releases, the used library for parsing has been updated to the latest version.
  • The build-in downloader ("gru") is used again by default.
  • Fixed problems if no executable or text file was found for wget and curl utilities, which caused critical errors in code.
  • Fixed a bug with a missing version number if there are no stable releases.
  • Fixed a bug that could cause downloads to try to start even if no new version was found.

🔨 Building things

  • Improved build script build.ps1
  • Updated the compilation instructions for the Microsoft and Chocolatey dependency-free project, fixed minor issues.

Version 2.3 beta 1

01 Dec 13:04

Choose a tag to compare

Version 2.3 beta 1 Pre-release
Pre-release

This is the first new version of GRU in a long time. Unstable build.

👉 Changes

  • Fixed problems if no executable or text file was found for "wget" and "curl" utilities, which caused critical errors in code
  • Updated the compilation instructions and compilation script for the Microsoft and Chocolatey dependency-free project, fixed minor issues
  • Fixed errors in the command help text
  • Improvements for "curl" and "wget" downloaders
  • Added support for "aria2c" as a downloader

It is distributed only as a single executable file: just download version 2.2 and replace gru.exe with the one downloaded from here.

🫡 Final version!

07 May 12:57

Choose a tag to compare

👋 The time has come to complete this project as well. Thank you to everyone who uses it, it was a really educational and interesting experience developing a CLI utility in the Rust programming language. I myself use this utility quite often for home projects, so it was very interesting for me to develop and improve it When a new version of the 7z console utility is released (probably in 2024), I will include the new version in the archive. That's all for now.

👉 Changes (437bacf)

🤘 New

  • Added user-agent support for downloading with curl or wget. By using this you can almost always get greater speed than without using it. The user agent is used even if it is not specified.

⚡ Improvements

  • The built-in downloader has been renamed from native (which confused people because they thought it was native for Windows) to integrated.
  • By default, the curl downloader is again used for downloading files, instead of the “integrated” one
  • Updated all dependencies (libraries) to the latest versions

July 8, 2024

The files of the console implementation of the 7-Zip archiver have been updated to version 24.07: UpdateTools2407.zip

🔥The Second Encounter

16 Mar 18:16
b8b4794

Choose a tag to compare

👉 Changes (#10)

🤘 New

  • Added support for multiple file downloaders (tools) to use, at the user's choice. Currently, there are 3 of them: "curl", "wget" and "native" (built-in downloader). The curl.exe and wget.exe executables are searched for by the utility in the C:Windows/System32 path. If the utilities are installed in a different path, it can be specified in the curl.txt and wget.txt files, respectively. When using the native one, the file downloader built into the utility is used, which does not require dependencies.
  • Added the ability to download files without linking to the release assets on GitHub. As an example, Visual Studio Code releases (files) are published on the official website, and only the version tag and a few release reference materials are located on GitHub.

⚡ Improvements

  • The temporary name for the downloaded file is now app.downloaded.
  • Usage examples are now available only in the repository, because the number of arguments used is too large and more usage examples have appeared, which overloads the utility's help.
  • Console window title text has been returned.

🤔 Other

  • Finalized removal of all obsolete and unused code.
  • Added more comments in source code.

Nothing is forgotten 🍇

28 Jan 14:52
6a1715d

Choose a tag to compare

🧓 It's been a long 8 months since the release of the previous version

After the release I started developing a new version, 1.6. However, I moved to Linux in 2023, and with that, I abandoned the project for a long time. But recently, I decided to wipe off the dust and finally release my long-forgotten version 1.6, which I renamed 2.0. Well, welcome to it!

👉 Changes (#9)

🤘 New

  • The curl utility is now used for downloading. For Windows 11 and Windows 10 version 1809+ it is built in, so these systems are now left alone in the system requirements. However, for legacy systems (Windows 10 version 1803 and earlier, Windows 8.1/8/7) there is information on returning support to GRU and, although not tested by me, I think it will work as expected. There is full compatibility with previous versions of GRU, meaning arguments.
  • The --details argument has also been added for the first item to display more information when downloading (by default it is disabled and displays simple progress and percentages)
  • Added output of values of important variables when debugging mode is enabled, "Press Enter" places are added. "Press Enter" places are added for debug mode. Added information about the debug mode
  • GRU now always runs with administrator privileges so that there are no problems with forced termination of application processes

⚡ Improvements

  • Improved readability of arguments
  • The console 7-Zip has been updated to the latest version (23.01)
  • All dependencies have been updated to the latest versions
  • Resolved problems with project compilation due to dependencies
  • Minor improvements have been made and a debugging mode --debug has been added for developers in case of utility problems. It will not be available to ordinary users 😁

🐞 Bug fixes

  • Fixed a bug that appeared in version 1.5 and could cause a file unpacking/copying error

🤔 Other

  • Added a script for quick build of executable with auto-add manifest for Administrator rights.
  • Unnecessary code sections have been removed
  • Removed unnecessary dependencies. The code using the removed dependencies is commented out to save me some interesting solutions