mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
fix workflows
This commit is contained in:
@@ -130,10 +130,11 @@ jobs:
|
|||||||
- name: Prepare release files
|
- name: Prepare release files
|
||||||
run: |
|
run: |
|
||||||
mkdir -p release
|
mkdir -p release
|
||||||
cp artifacts/ubuntu-latest-build/SoftwareManager-dev-linux release/
|
SHORT_SHA="${{ steps.version.outputs.short_sha }}"
|
||||||
cp artifacts/windows-latest-build/SoftwareManager-dev-windows.exe release/
|
cp artifacts/ubuntu-latest-build/SoftwareManager-dev-*-linux release/SoftwareManager-dev-${SHORT_SHA}-linux
|
||||||
cp artifacts/macos-latest-build/SoftwareManager-dev-macos release/
|
cp artifacts/windows-latest-build/SoftwareManager-dev-*-windows.exe release/SoftwareManager-dev-${SHORT_SHA}-windows.exe
|
||||||
chmod +x release/SoftwareManager-dev-linux release/SoftwareManager-dev-macos
|
cp artifacts/macos-latest-build/SoftwareManager-dev-*-macos release/SoftwareManager-dev-${SHORT_SHA}-macos
|
||||||
|
chmod +x release/SoftwareManager-dev-*-linux release/SoftwareManager-dev-*-macos
|
||||||
ls -la release/
|
ls -la release/
|
||||||
|
|
||||||
- name: Create Release (Public)
|
- name: Create Release (Public)
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ from core.interface.utils.searchhelper import return_pressed
|
|||||||
from core.interface.dialogs.settings import settings_dialog
|
from core.interface.dialogs.settings import settings_dialog
|
||||||
from core.network.aria2_integration import dlprogress
|
from core.network.aria2_integration import dlprogress
|
||||||
|
|
||||||
|
print(os.path.abspath(__file__))
|
||||||
|
|
||||||
def download_update(latest_version):
|
def download_update(latest_version):
|
||||||
old_filename = f"SoftwareManager-dev-{state.version}-windows.exe"
|
old_filename = f"SoftwareManager-dev-{state.version}-windows.exe"
|
||||||
new_filename = f"SoftwareManager-dev-{latest_version}-windows.exe"
|
new_filename = f"SoftwareManager-dev-{latest_version}-windows.exe"
|
||||||
|
|||||||
Reference in New Issue
Block a user