diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 592367a7..e376e1a3 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -2,17 +2,11 @@ name: Release on: workflow_dispatch: + push: + tags: + - 'v*' jobs: - setup: - runs-on: ubuntu-latest - outputs: - DATE: ${{ steps.get_date.outputs.DATE }} - steps: - - name: Get current date - id: get_date - run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT - windows: strategy: matrix: @@ -181,8 +175,8 @@ jobs: name: Final2x-linux-pip-${{ matrix.os-version }}-unpacked path: dist/linux-unpacked/*.7z - Release: - needs: [setup, windows, macos, linux-pip] + github: + needs: [windows, macos, linux-pip] runs-on: ubuntu-latest steps: - uses: actions/download-artifact@v4 @@ -199,9 +193,4 @@ jobs: - name: Create Release and Upload Release Asset uses: softprops/action-gh-release@v2 with: - name: Release ${{ needs.setup.outputs.DATE }} - tag_name: ${{ needs.setup.outputs.DATE }} - body: Auto Release. - draft: false - prerelease: false files: dist/* diff --git a/README.md b/README.md index 0f7a90e6..5364d100 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ A cross-platform image super-resolution tool. -- News🎉: Enhance a video? Try [VSET](https://github.com/EutropicAI/VSET)! +- News🎉: Final2x v4.0.0 is now available! It uses the [cccv](https://github.com/EutropicAI/cccv) backend, supporting custom models and more. See [custom model demo](https://github.com/EutropicAI/cccv_demo_remote_model). - News🎉: Final2x v3.0.0 is now available, support Nvidia 50 series GPUs now! ### Screenshots @@ -47,7 +47,7 @@ In first time, you need to run the command above in terminal to allow the app to For Linux User, you need to install the dependencies first. -Make sure you have Python >= 3.9 and PyTorch >= 1.13 installed +Make sure you have Python >= 3.9 and PyTorch >= 2.0 installed ```bash pip install Final2x-core diff --git a/package.json b/package.json index 208a5785..f18b3de5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "Final2x", "productName": "Final2x", - "version": "3.0.0", + "version": "4.0.0", "description": "A cross-platform image super-resolution tool.", "author": "Tohrusky", "homepage": "https://github.com/EutropicAI/Final2x", @@ -21,12 +21,12 @@ "build": "electron-vite build", "postinstall": "electron-builder install-app-deps", "fetchcore": "node ./resources/download-core.js", - "build:mac-arm64": "pnpm run build && electron-builder --mac --arm64", - "build:mac-x64": "pnpm run build && electron-builder --mac --x64", - "build:win-arm64": "pnpm run build && electron-builder --win --arm64 --dir", - "build:win-x64": "pnpm run build && electron-builder --win --x64 --dir", - "build:linux-x64": "pnpm run build && electron-builder --linux --x64", - "build:linux-arm64": "pnpm run build && electron-builder --linux --arm64" + "build:mac-arm64": "pnpm run build && electron-builder --mac --arm64 --publish=never", + "build:mac-x64": "pnpm run build && electron-builder --mac --x64 --publish=never", + "build:win-arm64": "pnpm run build && electron-builder --win --arm64 --dir --publish=never", + "build:win-x64": "pnpm run build && electron-builder --win --x64 --dir --publish=never", + "build:linux-x64": "pnpm run build && electron-builder --linux --x64 --publish=never", + "build:linux-arm64": "pnpm run build && electron-builder --linux --arm64 --publish=never" }, "dependencies": { "@intlify/unplugin-vue-i18n": "^6.0.8",