diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 1237063..17e10e8 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -130,10 +130,11 @@ jobs: - name: Prepare release files run: | mkdir -p release - cp artifacts/ubuntu-latest-build/SoftwareManager-dev-linux release/ - cp artifacts/windows-latest-build/SoftwareManager-dev-windows.exe release/ - cp artifacts/macos-latest-build/SoftwareManager-dev-macos release/ - chmod +x release/SoftwareManager-dev-linux release/SoftwareManager-dev-macos + SHORT_SHA="${{ steps.version.outputs.short_sha }}" + cp artifacts/ubuntu-latest-build/SoftwareManager-dev-*-linux release/SoftwareManager-dev-${SHORT_SHA}-linux + cp artifacts/windows-latest-build/SoftwareManager-dev-*-windows.exe release/SoftwareManager-dev-${SHORT_SHA}-windows.exe + 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/ - name: Create Release (Public) diff --git a/core/interface/gui.py b/core/interface/gui.py index 4f5c87e..65c7a73 100644 --- a/core/interface/gui.py +++ b/core/interface/gui.py @@ -38,6 +38,8 @@ from core.interface.utils.searchhelper import return_pressed from core.interface.dialogs.settings import settings_dialog from core.network.aria2_integration import dlprogress +print(os.path.abspath(__file__)) + def download_update(latest_version): old_filename = f"SoftwareManager-dev-{state.version}-windows.exe" new_filename = f"SoftwareManager-dev-{latest_version}-windows.exe"