diff --git a/.github/workflows/auto-building-pkg.yml b/.github/workflows/auto-building-pkg.yml index f63e43f..5400ecf 100644 --- a/.github/workflows/auto-building-pkg.yml +++ b/.github/workflows/auto-building-pkg.yml @@ -1,7 +1,6 @@ name: Auto Building Wine Runner(pkg) run-name: ${{ github.actor }} Auto Building Wine Runner(pkg) 🚀 on: - push: workflow_dispatch: jobs: Explore-GitHub-Actions: @@ -16,8 +15,9 @@ jobs: run: | # 配置环境 pacman -Sy - pacman -S debtap git sudo + pacman -S yay git sudo pacman -S dpkg qt5-base -y + yay install git clone https://github.com/gfdgd-xi/deep-wine-runner cd deep-wine-runner make package-deb -j4 @@ -25,7 +25,7 @@ jobs: cd .. mv spark-deepin-wine-runner*.pkg.tar.zst ../spark-deepin-wine-runner.pkg.tar.zst - name: upload result - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: spark-deepin-wine-runner.pkg.tar.zst path: spark-deepin-wine-runner.pkg.tar.zst diff --git a/.github/workflows/auto-building.yml b/.github/workflows/auto-building.yml index da8466f..31996ae 100644 --- a/.github/workflows/auto-building.yml +++ b/.github/workflows/auto-building.yml @@ -8,10 +8,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Building DEB - env: - GUSER: ${{ secrets.GUSER }} - PASSWORD: ${{ secrets.PASSWORD }} - UPLOADURL: ${{ secrets.UPLOADURL }} run: | # 配置环境 sudo apt update @@ -22,14 +18,24 @@ jobs: mv spark-deepin-wine-runner.deb ~ mv spark-deepin-wine-runner-ace.deb ~ - name: upload result - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: spark-deepin-wine-runner.deb path: /home/runner/spark-deepin-wine-runner.deb - name: upload result - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: spark-deepin-wine-runner-ace.deb path: /home/runner/spark-deepin-wine-runner-ace.deb - + - name: Building DEB (termux) + run: | + cd deep-wine-runner + make package-deb-termux -j4 + mv spark-deepin-wine-runner-termux.deb ~ + - name: upload result + uses: actions/upload-artifact@v3 + with: + name: spark-deepin-wine-runner-termux.deb + path: /home/runner/spark-deepin-wine-runner-termux.deb + \ No newline at end of file diff --git a/mainwindow.py b/mainwindow.py index 9727718..44aa1ae 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -2615,7 +2615,7 @@ else: #

©2020~{time.strftime("%Y")} By gfdgd xi

''' updateThings = "{} 更新内容:\n{}\n更新时间:{}".format(version, updateThingsString, updateTime, time.strftime("%Y")) try: - threading.Thread(target=requests.get, args=[parse.unquote(base64.b64decode("aHR0cDovLzEyMC4yNS4xNTMuMTQ0L3NwYXJrLWRlZXBpbi13aW5lLXJ1bm5lci9vcGVuL0luc3RhbGwucGhw").decode("utf-8")) + "?Version=" + version]).start() + threading.Thread(target=requests.get, args=[parse.unquote(base64.b64decode("aHR0cHM6Ly9zb3VyY2Vmb3JnZS5uZXQvcHJvamVjdHMvZGVlcC13aW5lLXJ1bm5lci13aW5lLWRvd25sb2FkL2ZpbGVzL29wZW4tdGltZS8=").decode("utf-8")) + version + base64.b64decode("L2Rvd25sb2Fk").decode("utf-8")]).start() except: pass iconListUnBuild = json.loads(readtxt(f"{programPath}/IconList.json"))[0]