mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-06-22 10:02:20 +00:00
L3 polish: rename exe binary via CMakeLists BINARY_NAME
This commit is contained in:
parent
8631860cd1
commit
c523ed3ef2
1 changed files with 5 additions and 0 deletions
|
|
@ -139,6 +139,11 @@ jobs:
|
|||
echo "L3: brand → ${APP}"
|
||||
grep -c "${APP}" Cargo.toml libs/portable/Cargo.toml libs/portable/src/main.rs flutter/windows/runner/Runner.rc | sed 's/^/ /'
|
||||
|
||||
# Имя exe-файла: Flutter формирует его из CMakeLists.txt → BINARY_NAME = "rustdesk".
|
||||
# Меняем переменную, чтобы итоговый exe назывался ${APP}.exe (а не rustdesk.exe).
|
||||
sed -i -e "s|set(BINARY_NAME \"rustdesk\")|set(BINARY_NAME \"${esc}\")|" flutter/windows/runner/CMakeLists.txt
|
||||
grep BINARY_NAME flutter/windows/runner/CMakeLists.txt
|
||||
|
||||
- name: Restore bridge files
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue