Skip to content

Commit 21a5dc1

Browse files
committed
fix android server/key/api settings
1 parent e8af50a commit 21a5dc1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/generator-android.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,16 @@ jobs:
310310
sed -i '/adaptive_icon_background/a \ \ adaptive_icon_foreground: "../res/icon.png"' ./flutter/pubspec.yaml
311311
sed -i '/adaptive_icon_foreground:/a \ \ adaptive_icon_foreground_inset: 32' ./flutter/pubspec.yaml
312312
sed -i '/ic_launcher_background/d' ./flutter/android/app/src/main/res/values/colors.xml
313+
314+
- name: set server, key, and apiserver
315+
continue-on-error: true
316+
shell: bash
317+
run: |
318+
sed -i -e 's|rs-ny.rustdesk.com|${{ inputs.server }}|' ./libs/hbb_common/src/config.rs
319+
sed -i -e 's|OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=|${{ inputs.key }}|' ./libs/hbb_common/src/config.rs
320+
sed -i -e 's|https://admin.rustdesk.com|${{ inputs.apiServer }}|' ./src/common.rs
321+
# ./flutter/pubspec.yaml
322+
#sed -i '/intl:/a \ \ archive: ^3.6.1' ./flutter/pubspec.yaml
313323
314324
- name: change appname to custom
315325
if: inputs.appname != 'rustdesk'

0 commit comments

Comments
 (0)