From cc47350fab45e29712d9b8bc1514d09bfebf454d Mon Sep 17 00:00:00 2001 From: Bryan Gerlach Date: Wed, 19 Feb 2025 19:54:50 -0600 Subject: [PATCH] fix setup_server_tip --- .github/workflows/generator-windows.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/generator-windows.yml b/.github/workflows/generator-windows.yml index 405b51f..97a7618 100644 --- a/.github/workflows/generator-windows.yml +++ b/.github/workflows/generator-windows.yml @@ -228,19 +228,23 @@ jobs: sed -i -e 's|https://rustdesk.com/download|${{ fromJson(inputs.extras).downloadLink }}|' ./flutter/lib/mobile/pages/connection_page.dart sed -i -e 's|https://rustdesk.com/download|${{ fromJson(inputs.extras).downloadLink }}|' ./src/ui/index.tis - - name: allow custom.txt + - name: set server, key, and apiserver continue-on-error: true shell: bash run: | sed -i -e 's|rs-ny.rustdesk.com|${{ inputs.server }}|' ./libs/hbb_common/src/config.rs sed -i -e 's|OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=|${{ inputs.key }}|' ./libs/hbb_common/src/config.rs + sed -i -e 's|https://admin.rustdesk.com|${{ inputs.apiServer }}|' ./src/common.rs + # ./flutter/pubspec.yaml + sed -i '/intl:/a \ \ archive: ^3.6.1' ./flutter/pubspec.yaml + + - name: allow custom.txt + continue-on-error: true + run: | Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/allowCustom.diff -OutFile allowCustom.diff git apply allowCustom.diff Invoke-WebRequest -Uri https://raw.githubusercontent.com/bryangerlach/rdgen/refs/heads/master/.github/patches/removeSetupServerTip.diff -OutFile removeSetupServerTip.diff git apply removeSetupServerTip.diff - sed -i -e 's|https://admin.rustdesk.com|${{ inputs.apiServer }}|' ./src/common.rs - # ./flutter/pubspec.yaml - sed -i '/intl:/a \ \ archive: ^3.6.1' ./flutter/pubspec.yaml - name: Install LLVM and Clang