forked from shaytan/rdgen
remove the calls to api.rustdesk.com when checking for updates
This commit is contained in:
3
.github/workflows/docker-build.yml
vendored
3
.github/workflows/docker-build.yml
vendored
@@ -20,6 +20,9 @@ jobs:
|
|||||||
elif [[ "${{ github.ref_type }}" == "tag" ]]; then
|
elif [[ "${{ github.ref_type }}" == "tag" ]]; then
|
||||||
echo "IMAGE_TAG=${{ github.ref_name }}" >> "$GITHUB_ENV"
|
echo "IMAGE_TAG=${{ github.ref_name }}" >> "$GITHUB_ENV"
|
||||||
echo "CREATE_IMAGE=true" >> "$GITHUB_ENV"
|
echo "CREATE_IMAGE=true" >> "$GITHUB_ENV"
|
||||||
|
elif [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
|
||||||
|
echo "IMAGE_TAG=latest" >> "$GITHUB_ENV"
|
||||||
|
echo "CREATE_IMAGE=true" >> "$GITHUB_ENV"
|
||||||
else
|
else
|
||||||
echo "CREATE_IMAGE=false" >> "$GITHUB_ENV"
|
echo "CREATE_IMAGE=false" >> "$GITHUB_ENV"
|
||||||
fi
|
fi
|
||||||
|
|||||||
1
.github/workflows/generator-android.yml
vendored
1
.github/workflows/generator-android.yml
vendored
@@ -417,6 +417,7 @@ jobs:
|
|||||||
if: fromJson(inputs.extras).removeNewVersionNotif == 'true'
|
if: fromJson(inputs.extras).removeNewVersionNotif == 'true'
|
||||||
run: |
|
run: |
|
||||||
sed -i -e 's|updateUrl.isNotEmpty|false|' ./flutter/lib/desktop/pages/desktop_home_page.dart
|
sed -i -e 's|updateUrl.isNotEmpty|false|' ./flutter/lib/desktop/pages/desktop_home_page.dart
|
||||||
|
sed -i '/let (request, url) =/,/Ok(())/{/Ok(())/!d}' ./src/common.rs
|
||||||
|
|
||||||
- name: Report Status
|
- name: Report Status
|
||||||
uses: fjogeleit/http-request-action@v1
|
uses: fjogeleit/http-request-action@v1
|
||||||
|
|||||||
1
.github/workflows/generator-linux.yml
vendored
1
.github/workflows/generator-linux.yml
vendored
@@ -358,6 +358,7 @@ jobs:
|
|||||||
if: fromJson(inputs.extras).removeNewVersionNotif == 'true'
|
if: fromJson(inputs.extras).removeNewVersionNotif == 'true'
|
||||||
run: |
|
run: |
|
||||||
sed -i -e 's|updateUrl.isNotEmpty|false|' ./flutter/lib/desktop/pages/desktop_home_page.dart
|
sed -i -e 's|updateUrl.isNotEmpty|false|' ./flutter/lib/desktop/pages/desktop_home_page.dart
|
||||||
|
sed -i '/let (request, url) =/,/Ok(())/{/Ok(())/!d}' ./src/common.rs
|
||||||
|
|
||||||
- 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'
|
||||||
|
|||||||
1
.github/workflows/generator-macos.yml
vendored
1
.github/workflows/generator-macos.yml
vendored
@@ -473,6 +473,7 @@ jobs:
|
|||||||
if: fromJson(inputs.extras).removeNewVersionNotif == 'true'
|
if: fromJson(inputs.extras).removeNewVersionNotif == 'true'
|
||||||
run: |
|
run: |
|
||||||
sed -i -e 's|updateUrl.isNotEmpty|false|' ./flutter/lib/desktop/pages/desktop_home_page.dart
|
sed -i -e 's|updateUrl.isNotEmpty|false|' ./flutter/lib/desktop/pages/desktop_home_page.dart
|
||||||
|
sed -i '/let (request, url) =/,/Ok(())/{/Ok(())/!d}' ./src/common.rs
|
||||||
|
|
||||||
- name: Report Status
|
- name: Report Status
|
||||||
uses: fjogeleit/http-request-action@v1
|
uses: fjogeleit/http-request-action@v1
|
||||||
|
|||||||
1
.github/workflows/generator-windows.yml
vendored
1
.github/workflows/generator-windows.yml
vendored
@@ -412,6 +412,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sed -i -e 's|updateUrl.isNotEmpty|false|' ./flutter/lib/desktop/pages/desktop_home_page.dart
|
sed -i -e 's|updateUrl.isNotEmpty|false|' ./flutter/lib/desktop/pages/desktop_home_page.dart
|
||||||
|
sed -i '/let (request, url) =/,/Ok(())/{/Ok(())/!d}' ./src/common.rs
|
||||||
|
|
||||||
|
|
||||||
- name: run as admin
|
- name: run as admin
|
||||||
|
|||||||
Reference in New Issue
Block a user