mirror of
https://github.com/bryangerlach/rdgen.git
synced 2025-11-29 08:33:23 +00:00
remove new version notification fix
This commit is contained in:
3
.github/workflows/generator-android.yml
vendored
3
.github/workflows/generator-android.yml
vendored
@@ -416,8 +416,7 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
if: fromJson(inputs.extras).removeNewVersionNotif == 'true'
|
if: fromJson(inputs.extras).removeNewVersionNotif == 'true'
|
||||||
run: |
|
run: |
|
||||||
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/removeNewVersionNotif.diff
|
sed -i -e 's|updateUrl.isNotEmpty|false|' ./flutter/lib/desktop/pages/desktop_home_page.dart
|
||||||
git apply removeNewVersionNotif.diff
|
|
||||||
|
|
||||||
- name: Report Status
|
- name: Report Status
|
||||||
uses: fjogeleit/http-request-action@v1
|
uses: fjogeleit/http-request-action@v1
|
||||||
|
|||||||
3
.github/workflows/generator-linux.yml
vendored
3
.github/workflows/generator-linux.yml
vendored
@@ -355,8 +355,7 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
if: fromJson(inputs.extras).removeNewVersionNotif == 'true'
|
if: fromJson(inputs.extras).removeNewVersionNotif == 'true'
|
||||||
run: |
|
run: |
|
||||||
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/removeNewVersionNotif.diff
|
sed -i -e 's|updateUrl.isNotEmpty|false|' ./flutter/lib/desktop/pages/desktop_home_page.dart
|
||||||
git apply removeNewVersionNotif.diff
|
|
||||||
|
|
||||||
- name: Restore bridge files
|
- name: Restore bridge files
|
||||||
if: matrix.job.arch == 'x86_64' || env.UPLOAD_ARTIFACT == 'true'
|
if: matrix.job.arch == 'x86_64' || env.UPLOAD_ARTIFACT == 'true'
|
||||||
|
|||||||
3
.github/workflows/generator-macos.yml
vendored
3
.github/workflows/generator-macos.yml
vendored
@@ -472,8 +472,7 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
if: fromJson(inputs.extras).removeNewVersionNotif == 'true'
|
if: fromJson(inputs.extras).removeNewVersionNotif == 'true'
|
||||||
run: |
|
run: |
|
||||||
wget https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/removeNewVersionNotif.diff
|
sed -i -e 's|updateUrl.isNotEmpty|false|' ./flutter/lib/desktop/pages/desktop_home_page.dart
|
||||||
git apply removeNewVersionNotif.diff
|
|
||||||
|
|
||||||
- name: Report Status
|
- name: Report Status
|
||||||
uses: fjogeleit/http-request-action@v1
|
uses: fjogeleit/http-request-action@v1
|
||||||
|
|||||||
4
.github/workflows/generator-windows.yml
vendored
4
.github/workflows/generator-windows.yml
vendored
@@ -409,9 +409,9 @@ jobs:
|
|||||||
- name: removeNewVersionNotif
|
- name: removeNewVersionNotif
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
if: fromJson(inputs.extras).removeNewVersionNotif == 'true'
|
if: fromJson(inputs.extras).removeNewVersionNotif == 'true'
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/removeNewVersionNotif.diff -Outfile removeNewVersionNotif.diff
|
sed -i -e 's|updateUrl.isNotEmpty|false|' ./flutter/lib/desktop/pages/desktop_home_page.dart
|
||||||
git apply removeNewVersionNotif.diff
|
|
||||||
|
|
||||||
|
|
||||||
- name: run as admin
|
- name: run as admin
|
||||||
|
|||||||
Reference in New Issue
Block a user