Skip to content

Commit

Permalink
Preparation for new version: v2024.11.7
Browse files Browse the repository at this point in the history
- All necessary metadata updated with the new version string and changelogs.
- Last minute bug fix regarding the Update function on Windows. (aria2 couldn't download to working directory)
- Screenshots updated again to reflect the latest bug fixes.
- README layout adjustments.
- All links in the Homepage set to download the latest binaries.
- python3-aria2p Python library updated for Flatpak.
  • Loading branch information
giantpinkrobots committed Nov 7, 2024
1 parent ea8b2ea commit 7938cdc
Show file tree
Hide file tree
Showing 13 changed files with 64 additions and 53 deletions.
28 changes: 18 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,36 @@
<p align="center"><img src="https://raw.githubusercontent.com/giantpinkrobots/varia/main/windows/icon.ico" width=200 /></p>
<h1 align="center">Varia</h1>
<h3 align="center">Download manager based on aria2</h3>
<center>
<p><img src="https://raw.githubusercontent.com/giantpinkrobots/varia/main/windows/icon.ico" width=200 /></p>

<h3 align="center"><a href="https://giantpinkrobots.github.io/varia">Homepage</a></h3>
# Varia

<br>
<h3>Download manager based on aria2</h3>

<p align="center"><a href="https://flathub.org/apps/io.github.giantpinkrobots.varia"><img src="https://dl.flathub.org/assets/badges/flathub-badge-i-en.svg" width=250 /></a></p>
<h3><a href="https://giantpinkrobots.github.io/varia">🌐 Homepage</a></h3>

<br>

<p align="center">

![](https://img.shields.io/github/commits-since/giantpinkrobots/varia/latest/main?label=commits%20since%20latest%20release) ![](https://img.shields.io/github/forks/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/stars/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/watchers/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/issues/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/issues-closed/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/issues-pr/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/issues-pr-closed/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/license/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/followers/giantpinkrobots.svg?style=social&label=Follow&maxAge=2592000)
| Download for Linux | Download for Windows | Browser Extension |
| -------- | ------- | ------- |
| [⬇ Flathub](https://flathub.org/apps/io.github.giantpinkrobots.varia) | [⬇ Installer](https://github.com/giantpinkrobots/varia/releases/download/v2024.11.7/varia-windows-setup-amd64.exe) | [❖ Firefox](https://addons.mozilla.org/firefox/addon/varia-integrator/) |
| [⬇ AUR (unofficial)](https://aur.archlinux.org/packages/varia) | [⬇ Portable](https://github.com/giantpinkrobots/varia/releases/download/v2024.11.7/varia-windows-portable-amd64.zip) | [❖ Chrome](https://chrome.google.com/webstore/detail/dacakhfljjhgdfdlgjpabkkjhbpcmiff) |

</p>
<br>

Varia is a simple download manager that conforms to the latest Libadwaita design guidelines, integrating nicely with GNOME. It uses the amazing aria2 to handle the downloads.

</center>

<p float="left" align="middle">
<img src="https://raw.githubusercontent.com/giantpinkrobots/varia/main/screenshots/Screenshot-Varia-1.png" width=400 />
<img src="https://raw.githubusercontent.com/giantpinkrobots/varia/main/screenshots/Screenshot-Varia-2.png" width=400 />
</p>

<p>

![](https://img.shields.io/github/commits-since/giantpinkrobots/varia/latest/main?label=commits%20since%20latest%20release) ![](https://img.shields.io/github/forks/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/stars/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/watchers/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/issues/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/issues-closed/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/issues-pr/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/issues-pr-closed/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/license/giantpinkrobots/varia.svg) ![](https://img.shields.io/github/followers/giantpinkrobots.svg?style=social&label=Follow&maxAge=2592000)

</p>

It supports basic functionality like continuing incomplete downloads from the previous session upon startup, pausing/cancelling all downloads at once, setting a speed limit, authentication with a username/password, setting the simultaneous download amount and setting the download directory.

## Get Varia
Expand Down
20 changes: 10 additions & 10 deletions data/io.github.giantpinkrobots.varia.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
<lang>es_ES</lang>
<lang>fa_IR</lang>
<lang>hi_IN</lang>
<lang>bg_BG</lang>
<lang>zh_CN</lang>
</languages>

<branding>
Expand Down Expand Up @@ -85,17 +87,15 @@ Varia uses GTK4 and Libadwaita for the user interface and utilizes Aria2 for the
</screenshots>

<releases>
<release version="v2024.5.7" date="2024-05-07">
<release version="v2024.11.7" date="2024-11-07">
<description translatable="yes">
<ul><li>Download scheduling: Start or stop downloading in given timespans.</li>
<li>cookies.txt file import support.</li>
<li>Remote timestamp support.</li>
<li>Options to filter by seeding and failed downloads in the sidebar.</li>
<li>Quit on completion option.</li>
<li>Start in background mode option.</li>
<li>Spanish language support.</li>
<li>Persian language support.</li>
<li>Hindi language support.</li></ul>
<ul><li>Support for opening .torrent files.</li>
<li>Downloads now show the estimated time remaining.</li>
<li>UI tweaks and fixes for a better layout.</li>
<li>Remote mode option is available again.</li>
<li>A lot of under the hood changes to fix bugs and improve performance.</li>
<li>Update to the GNOME 47 runtime and new Libadwaita widgets.</li>
<li>Support for Bulgarian and Chinese (China) languages.</li></ul>
</description>
</release>
</releases>
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ <h2>Quick and efficient download manager</h2>
</div>

<div id='windows-instructions' class='linux-instructions hidden' display='hidden'>
<div style="display: inline-block"><a href="https://github.com/giantpinkrobots/varia/releases/download/v2024.5.7/varia-windows-setup-amd64.exe" class="pill-button pill-button-ltblue"><img src="packageIcon.png" class="button-icon" style="filter: brightness(10%);">&nbsp;&nbsp;&nbsp;&nbsp;Installer</a></div>
<div style="display: inline-block"><a href="https://github.com/giantpinkrobots/varia/releases/download/v2024.11.7/varia-windows-setup-amd64.exe" class="pill-button pill-button-ltblue"><img src="packageIcon.png" class="button-icon" style="filter: brightness(10%);">&nbsp;&nbsp;&nbsp;&nbsp;Installer</a></div>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<div style="display: inline-block"><a href="https://github.com/giantpinkrobots/varia/releases/download/v2024.5.7/varia-windows-portable-amd64.zip" class="pill-button pill-button-ltblue"><img src="packageIcon.png" class="button-icon" style="filter: brightness(10%);">&nbsp;&nbsp;&nbsp;&nbsp;Portable</a></div>
<div style="display: inline-block"><a href="https://github.com/giantpinkrobots/varia/releases/download/v2024.11.7/varia-windows-portable-amd64.zip" class="pill-button pill-button-ltblue"><img src="packageIcon.png" class="button-icon" style="filter: brightness(10%);">&nbsp;&nbsp;&nbsp;&nbsp;Portable</a></div>

<br>
<br>
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('varia',
version: 'v2024.5.7',
version: 'v2024.11.7',
meson_version: '>= 0.62.0',
default_options: [ 'warning_level=2', 'werror=false', ],
)
Expand Down
24 changes: 12 additions & 12 deletions python3-aria2p.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ba/06/a07f096c664aeb9f01624f858c3add0a4e913d6c96257acb4fce61e7de14/certifi-2024.2.2-py3-none-any.whl",
"sha256": "dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1"
"url": "https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl",
"sha256": "922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz",
"sha256": "f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5"
"url": "https://files.pythonhosted.org/packages/f2/4f/e1808dc01273379acc506d18f1504eb2d299bd4131743b9fc54d7be4df1e/charset_normalizer-3.4.0.tar.gz",
"sha256": "223217c3d4f82c3ac5e29032b3f1c2eb0fb591b72161f86d93f5719079dae93e"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl",
"sha256": "c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f"
"url": "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl",
"sha256": "946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3"
},
{
"type": "file",
Expand All @@ -37,18 +37,18 @@
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl",
"sha256": "58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f"
"url": "https://files.pythonhosted.org/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl",
"sha256": "70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/a2/73/a68704750a7679d0b6d3ad7aa8d4da8e14e151ae82e6fee774e6e0d05ec8/urllib3-2.2.1-py3-none-any.whl",
"sha256": "450b20ec296a467077128bff42b73080516e71b56ff59a60a02bef2232c4fa9d"
"url": "https://files.pythonhosted.org/packages/ce/d9/5f4c13cecde62396b0d3fe530a50ccea91e7dfc1ccf0e09c228841bb5ba8/urllib3-2.2.3-py3-none-any.whl",
"sha256": "ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/1e/70/1e88138a9afbed1d37093b85f0bebc3011623c4f47c166431599fe9d6c93/websocket_client-1.7.0-py3-none-any.whl",
"sha256": "f4c3d22fec12a2461427a29957ff07d35098ee2d976d3ba244e688b8b4057588"
"url": "https://files.pythonhosted.org/packages/5a/84/44687a29792a70e111c5c477230a72c4b957d88d16141199bf9acb7537a3/websocket_client-1.8.0-py3-none-any.whl",
"sha256": "17b44cc997f5c498e809b22cdf2d9c7a9e71c02c8cc2b6c56e7c2d1239bfa526"
}
]
}
Binary file modified screenshots/Screenshot-Varia-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/Screenshot-Varia-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/Screenshot-Varia-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/Screenshot-Varia-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/Screenshot-Varia-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/variamain.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
variaVersion = "dev"
variaVersion = "v2024.11.7"

import gi
import sys
Expand Down
21 changes: 11 additions & 10 deletions src/window/sidebar.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,17 +250,18 @@ def show_about(app, variaapp, self, variaVersion):
dialog.set_application_icon("io.github.giantpinkrobots.varia")
dialog.set_translator_credits(_("translator-credits"))
dialog.set_artists(["Jakub Steiner"])
dialog.set_release_notes_version("v2024.5.7")
dialog.set_release_notes_version("v2024.11.7")
dialog.set_release_notes('''
<ul><li>Download scheduling: Start or stop downloading in given timespans.</li>
<li>cookies.txt file import support.</li>
<li>Remote timestamp support.</li>
<li>Options to filter by seeding and failed downloads in the sidebar.</li>
<li>Quit on completion option.</li>
<li>Start in background mode option.</li>
<li>Spanish language support.</li>
<li>Persian language support.</li>
<li>Hindi language support.</li></ul>''')
<ul><li>Support for opening .torrent files.</li>
<li>Downloads now show the estimated time remaining.</li>
<li>UI tweaks and fixes for a better layout.</li>
<li>Remote mode option is available again.</li>
<li>A lot of under the hood changes to fix bugs and improve performance.</li>
<li>Update to the GNOME 47 runtime and new Libadwaita widgets.</li>
<li>Support for Bulgarian and Chinese (China) languages.</li>
<li>(Only on Windows) Automatic update function.</li>
<li>(Only on Windows) Support for localization.</li>
<li>(Only on Windows) All icons are shown properly everywhere.</li></ul>''')

dialog.present(self)

Expand Down
16 changes: 9 additions & 7 deletions src/window/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,25 @@ def windows_updater(bannerButton, app, variaapp, parentWindow, variaVersion, mod
else:
checking_dialog = None

if os.path.exists("updater-all-releases.txt"):
os.remove("updater-all-releases.txt")
if os.path.exists(os.path.join(app.appdir, 'updater-all-releases.txt')):
os.remove(os.path.join(app.appdir, 'updater-all-releases.txt'))

thread = threading.Thread(target=lambda: start_update_check(variaVersion, app, variaapp, checking_dialog, mode))
thread.start()

def start_update_check(variaVersion, app, variaapp, checking_dialog, mode):
print(os.path.join(app.appdir, 'updater-all-releases.txt'))
process = subprocess.Popen(
[app.aria2cexec, '--quiet=true', '--console-log-level=warn', '--download-result=hide',
[os.path.join(os.getcwd(), app.aria2cexec), '--quiet=true', '--console-log-level=warn', '--download-result=hide',
'--out=updater-all-releases.txt', 'https://api.github.com/repos/giantpinkrobots/varia/releases'],
text=True, shell=True
text=True, shell=True, cwd = app.appdir
)

process.wait()

if os.path.exists("updater-all-releases.txt"):
all_releases = open("updater-all-releases.txt").read()
os.remove("updater-all-releases.txt")
if os.path.exists(os.path.join(app.appdir, 'updater-all-releases.txt')):
all_releases = open(os.path.join(app.appdir, 'updater-all-releases.txt')).read()
os.remove(os.path.join(app.appdir, 'updater-all-releases.txt'))
else:
latest_name_for_windows = "failed"

Expand All @@ -63,6 +64,7 @@ def start_update_check(variaVersion, app, variaapp, checking_dialog, mode):
except:
print("Couldn't check for updates.")
latest_name_for_windows = "failed"
break

latest_name_for_windows = contents["name"]
latest_windows_binary_url = 'https://github.com/giantpinkrobots/varia/releases/download/' + latest_name_for_windows + '/varia-windows-setup-amd64.exe'
Expand Down

0 comments on commit 7938cdc

Please sign in to comment.