|
| 1 | +name: Release |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + tags: |
| 6 | + - 'v*' |
| 7 | + |
| 8 | +permissions: |
| 9 | + contents: write |
| 10 | + |
| 11 | +jobs: |
| 12 | + build: |
| 13 | + name: Build on ${{ matrix.os }} |
| 14 | + runs-on: ${{ matrix.os }} |
| 15 | + strategy: |
| 16 | + matrix: |
| 17 | + os: [ubuntu-latest, windows-latest, macos-latest] |
| 18 | + |
| 19 | + steps: |
| 20 | + - name: Checkout code |
| 21 | + uses: actions/checkout@v4 |
| 22 | + |
| 23 | + - name: Set up Python |
| 24 | + uses: actions/setup-python@v5 |
| 25 | + with: |
| 26 | + python-version: '3.9' |
| 27 | + |
| 28 | + - name: Install system dependencies (Linux) |
| 29 | + if: runner.os == 'Linux' |
| 30 | + run: | |
| 31 | + sudo apt-get update |
| 32 | + sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 |
| 33 | +
|
| 34 | + - name: Install dependencies |
| 35 | + run: | |
| 36 | + python -m pip install --upgrade pip |
| 37 | + pip install -r requirements.txt |
| 38 | + pip install pyinstaller |
| 39 | +
|
| 40 | + - name: Build executable (Windows) |
| 41 | + if: runner.os == 'Windows' |
| 42 | + run: | |
| 43 | + pyinstaller --onefile --windowed --name "QoderResetTool" qoder_reset_gui.py |
| 44 | +
|
| 45 | + - name: Build executable (macOS) |
| 46 | + if: runner.os == 'macOS' |
| 47 | + run: | |
| 48 | + pyinstaller --onefile --windowed --name "QoderResetTool" qoder_reset_gui.py |
| 49 | +
|
| 50 | + - name: Build executable (Linux) |
| 51 | + if: runner.os == 'Linux' |
| 52 | + run: | |
| 53 | + pyinstaller --onefile --windowed --name "QoderResetTool" qoder_reset_gui.py |
| 54 | +
|
| 55 | + - name: Upload build artifacts |
| 56 | + uses: actions/upload-artifact@v4 |
| 57 | + with: |
| 58 | + name: qoder-reset-tool-${{ runner.os }} |
| 59 | + path: dist/ |
| 60 | + |
| 61 | + release: |
| 62 | + name: Create GitHub Release |
| 63 | + needs: [build] |
| 64 | + runs-on: ubuntu-latest |
| 65 | + |
| 66 | + steps: |
| 67 | + - name: Checkout code |
| 68 | + uses: actions/checkout@v4 |
| 69 | + |
| 70 | + - name: Download all artifacts |
| 71 | + uses: actions/download-artifact@v4 |
| 72 | + |
| 73 | + - name: Create release archives |
| 74 | + run: | |
| 75 | + cd qoder-reset-tool-Linux && tar -czf ../qoder-reset-tool-linux.tar.gz * && cd .. |
| 76 | + cd qoder-reset-tool-Windows && zip -r ../qoder-reset-tool-windows.zip * && cd .. |
| 77 | + cd qoder-reset-tool-macOS && tar -czf ../qoder-reset-tool-macos.tar.gz * && cd .. |
| 78 | +
|
| 79 | + - name: Create GitHub Release |
| 80 | + uses: softprops/action-gh-release@v2 |
| 81 | + with: |
| 82 | + name: "Qoder-Free ${{ github.ref_name }}" |
| 83 | + body: | |
| 84 | + ## Qoder-Free ${{ github.ref_name }} |
| 85 | +
|
| 86 | + ### ✨ Features |
| 87 | + - One-click reset functionality for Qoder application data |
| 88 | + - Machine ID reset with UUID generation |
| 89 | + - Telemetry data cleanup and privacy protection |
| 90 | + - Deep identity cleanup with comprehensive file removal |
| 91 | + - Hardware fingerprint reset for advanced anti-detection |
| 92 | + - Multi-language support (English, Vietnamese, Chinese, Russian) |
| 93 | + - Cross-platform compatibility (Windows, macOS, Linux) |
| 94 | + - Modern PyQt5-based GUI with professional styling |
| 95 | + - Version display in status bar |
| 96 | +
|
| 97 | + ### 📦 Downloads |
| 98 | + - **Windows**: `qoder-reset-tool-windows.zip` |
| 99 | + - **macOS**: `qoder-reset-tool-macos.tar.gz` |
| 100 | + - **Linux**: `qoder-reset-tool-linux.tar.gz` |
| 101 | +
|
| 102 | + ### 📋 Requirements |
| 103 | + - Python 3.7+ (if running from source) |
| 104 | + - PyQt5 >= 5.15.0 |
| 105 | + - requests >= 2.25.0 |
| 106 | + files: | |
| 107 | + qoder-reset-tool-linux.tar.gz |
| 108 | + qoder-reset-tool-windows.zip |
| 109 | + qoder-reset-tool-macos.tar.gz |
| 110 | + draft: false |
| 111 | + prerelease: false |
| 112 | + env: |
| 113 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
0 commit comments