Skip to content

Commit

Permalink
Hotfix for Windows
Browse files Browse the repository at this point in the history
Fixed an issue where the updater would fail due to locked files.
  • Loading branch information
giantpinkrobots committed Nov 8, 2024
1 parent ae4c523 commit f579629
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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.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>
<div style="display: inline-block"><a href="https://github.com/giantpinkrobots/varia/releases/download/v2024.11.7-1/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.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>
<div style="display: inline-block"><a href="https://github.com/giantpinkrobots/varia/releases/download/v2024.11.7-1/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
6 changes: 3 additions & 3 deletions src/variamain.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
variaVersion = "v2024.11.7"
variaVersion = "v2024.11.7-1"

import gi
import sys
Expand Down Expand Up @@ -331,7 +331,7 @@ def exitProgram(self, app, variaapp, background):
variaapp.quit()

if self.update_executable != None:
os.system(self.update_executable)
subprocess.Popen([self.update_executable, "/SILENT", "SUPPRESSMSGBOXES", "SP-", "/NOICONS", "/MERGETASKS=\"!desktopicon\"", "&&", os.path.join(os.getcwd(), "variamain.exe")], shell=True)

return True

Expand All @@ -351,7 +351,7 @@ def aria2c_exiting_check(self, app, counter, variaapp, exiting_dialog):
print(thread.name)

if self.update_executable != None:
os.system(self.update_executable)
subprocess.Popen([self.update_executable, "/SILENT", "SUPPRESSMSGBOXES", "SP-", "/NOICONS", "/MERGETASKS=\"!desktopicon\"", "&&", os.path.join(os.getcwd(), "variamain.exe")], shell=True)

return

Expand Down

0 comments on commit f579629

Please sign in to comment.