Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from rustdesk:master #4

Merged
merged 335 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
335 commits
Select commit Hold shift + click to select a range
0cab620
try old flutter and vcpkg
rustdesk Jun 20, 2024
8590205
fix ci
rustdesk Jun 20, 2024
58d86ac
change back to 3.16.9
rustdesk Jun 20, 2024
7db9543
change back to old settings, only use flutter 3.13.9
rustdesk Jun 20, 2024
3057396
try latest
rustdesk Jun 20, 2024
06fe972
try out 3.22.2 for android
rustdesk Jun 20, 2024
e95823f
for try out flutter 3.22.2
rustdesk Jun 20, 2024
80c5d59
fix ci
rustdesk Jun 20, 2024
0b32e74
test 3.13.9 on master for android
rustdesk Jun 20, 2024
42394fc
fix: android, two finger pan, scale (#8429)
fufesou Jun 21, 2024
1cb0e1c
try out 3.22.2
rustdesk Jun 21, 2024
3244395
try 3.22.2 playground
rustdesk Jun 21, 2024
32c4712
fix ci
rustdesk Jun 21, 2024
74cc5ab
fix: android prompt "Failed to stop voice call" on conn ended (#8434)
fufesou Jun 21, 2024
b2af79a
try out 3.16.0
rustdesk Jun 21, 2024
cdf97f8
try out 3.13.9 with master
rustdesk Jun 21, 2024
ff2e055
use flutter 3.13 for android because its video super slow on my phone
rustdesk Jun 21, 2024
0f6538c
add enable directx option, android software encoding half resolution …
21pages Jun 21, 2024
ffed29e
fix typo (#8436)
21pages Jun 21, 2024
bbf7d9e
fix: android, no voice call under android 11 (#8440)
fufesou Jun 22, 2024
1a21dff
Update Italian language (#8439)
bovirus Jun 22, 2024
3742b51
quality monitor, delay displays as 0 when fps is 0 (#8441)
21pages Jun 22, 2024
41a20b5
split web js to v1 and v2
rustdesk Jun 22, 2024
212e8e7
fix one missing file
rustdesk Jun 22, 2024
8b5ac39
Update ru.rs (#8442)
solokot Jun 22, 2024
416efe9
Update de.rs (#8443)
Mr-Update Jun 22, 2024
baeee64
build 43
rustdesk Jun 22, 2024
a9e0ea8
Update tw.rs (#8444)
xlionjuan Jun 23, 2024
40cb593
fix: mobile actions, position (#8446)
fufesou Jun 23, 2024
307827b
fix: mobile actions hide and mobile theme (#8447)
fufesou Jun 23, 2024
1a69d52
fix tile type droplist and change to build 44
rustdesk Jun 23, 2024
ef82cfa
update cs.rs (#8450)
jxdv Jun 23, 2024
65dd2b8
update sk.rs (#8449)
jxdv Jun 23, 2024
4947cf8
fix https://github.com/rustdesk/rustdesk/issues/8452
rustdesk Jun 23, 2024
65edd55
Update Ukrainian translation (#8453)
xalt7x Jun 24, 2024
1765c7b
fix multi display fps control (#8455)
21pages Jun 24, 2024
00ddd63
fix: ios, chat window position, wrong member value (#8464)
fufesou Jun 24, 2024
245f080
fix: mobile, chat menu, hide after tapping (#8465)
fufesou Jun 24, 2024
93133b9
if fps is adjusted below 30, not set fps to 30 when changing image qu…
21pages Jun 25, 2024
c1c2d26
fix, check video_queue len rather than len when refresh (#8469)
21pages Jun 25, 2024
f0dcc91
fix: wrong use of Instant sub, just after booting (#8470)
fufesou Jun 25, 2024
11bdd3c
fix: ios keyboard, composing input (#8471)
fufesou Jun 25, 2024
cb5fa85
build 45
rustdesk Jun 26, 2024
ef56aea
fix https://github.com/rustdesk/rustdesk/issues/8479
rustdesk Jun 26, 2024
49f848a
refactor
rustdesk Jun 26, 2024
dbbd917
fix: android cursor scale (#8478)
fufesou Jun 26, 2024
faf363c
add TelegramBot
rustdesk Jun 26, 2024
f17e17a
fix: mobile cursor, check null (#8481)
fufesou Jun 26, 2024
ef06b7d
add Belarusian locale (#8480)
stmc Jun 26, 2024
12d3c59
windows portable loading ui (#8490)
21pages Jun 27, 2024
9c7d4ef
not use nwg default features (#8492)
21pages Jun 27, 2024
b047730
Refact/android input changed notify clients (#8494)
fufesou Jun 27, 2024
c5d3c7f
Feat/android more actions (#8496)
fufesou Jun 27, 2024
aed212d
Update ru.rs (#8497)
solokot Jun 27, 2024
e79946b
telegram bot ui settings and code sending
rustdesk Jun 27, 2024
9e85154
telegram bot works now
rustdesk Jun 27, 2024
5bfdf05
/hello rather than hello to activate bot
rustdesk Jun 27, 2024
f8592e0
Update Italian language (#8502)
bovirus Jun 27, 2024
a18947e
fix typo
rustdesk Jun 27, 2024
cfd27c8
wakelock not block system sleep (#8504)
21pages Jun 27, 2024
e1140b1
Tidy up configuration files UNIX permissions (#7983)
HorlogeSkynet Jun 27, 2024
ab9e101
remove dpiAware from manifest in ci for self-extracted executable (#8…
21pages Jun 27, 2024
c1bbdaf
refact: mobile min cursor size, 12 (#8510)
fufesou Jun 27, 2024
d689bbf
refact: mobile more actions, divider (#8512)
fufesou Jun 27, 2024
ed3fb1e
bump to 1.2.7
rustdesk Jun 28, 2024
96aff38
Update Italian language (#8520)
bovirus Jun 28, 2024
3ae1638
fix extracted forground window not foreground (#8521)
21pages Jun 28, 2024
c062813
Upgrade arboard (#8522)
fufesou Jun 28, 2024
9f72d05
do not run self-host in ci commit flow
rustdesk Jun 28, 2024
a632718
typo
rustdesk Jun 29, 2024
1fd170b
fix: mobile more actions, check version 1.2.7 (#8526)
fufesou Jun 29, 2024
d67afa4
portable service only run on main display (#8525)
21pages Jun 29, 2024
f9b0a88
fix switch to primary display but can't see UAC (#8527)
21pages Jun 29, 2024
967e632
fix: win, multi-display settings changed (#8531)
fufesou Jun 29, 2024
1e400d2
Update winget-releaser to latest (#8532)
vedantmgoyal9 Jun 29, 2024
4b6ba79
Update ru.rs (#8533)
solokot Jun 29, 2024
5114a9d
shared memory size use the max resolution of all displays (#8534)
21pages Jun 29, 2024
2fb35c3
Update sk tr (#8535)
jxdv Jun 29, 2024
750368a
Update cs tr (#8536)
jxdv Jun 29, 2024
bd33476
fix: win, virtual display, privacy mode (#8537)
fufesou Jun 29, 2024
1f4c62e
fix: linux, arboard::new(), retry (#8538)
fufesou Jun 29, 2024
1252f45
fix 100% cpu usage of clipboard disabled on remote menu
rustdesk Jun 30, 2024
2116fec
wl-clipboard-rs 0.9 and refresh cargo.lock
rustdesk Jun 30, 2024
25d0ced
fix ci (#8543)
21pages Jun 30, 2024
1f129e6
change update_clipboard to threaded, since creating a context may tak…
rustdesk Jun 30, 2024
1719e47
remove debug code
rustdesk Jun 30, 2024
d537e25
Update nl.rs (#8546)
FastAct Jun 30, 2024
15fa80f
fix ci
rustdesk Jun 30, 2024
7631746
add type to all Getx put/get/delete/isRegistered (#8550)
21pages Jun 30, 2024
01672bc
clipboard image, not tested, todo: set_html
rustdesk Jun 30, 2024
84b5cd7
initialize change_count to 1 so that first data always got
rustdesk Jun 30, 2024
cd73368
make clipboard dropped after no sub
rustdesk Jun 30, 2024
3f2dfa5
fix ci
rustdesk Jun 30, 2024
14343e8
fix ci
rustdesk Jun 30, 2024
e71d86c
move clipboard in common.rs to clipboard.rs
rustdesk Jun 30, 2024
285e974
ci for linux x86_64 sciter deb and flatpak (#8545)
21pages Jul 1, 2024
0ab500c
bring fdroid.yml back
rustdesk Jul 1, 2024
62a8349
fix: clipboard data, decompress, buf too small (#8556)
fufesou Jul 1, 2024
625b610
Update de.rs (#8559)
Mr-Update Jul 1, 2024
a0dc38f
try fix linux arm64 build (#8560)
21pages Jul 1, 2024
51db8e7
fix: win, clipboard image (#8561)
fufesou Jul 1, 2024
8602b03
remove special treatment when only use permanent passwrod but no pas…
21pages Jul 2, 2024
2f40b9d
fix: build ios (#8570)
fufesou Jul 2, 2024
40019b8
Update Italian language (#8576)
bovirus Jul 3, 2024
182e8c4
Update de.rs (#8577)
Mr-Update Jul 3, 2024
6d2e985
res/vcpkg: Bump aom to 3.9.1, opus to 1.5.1 and libvpx to 1.14.1 (#8555)
basilgello Jul 3, 2024
d00582e
linux x11 rgb565 capture (#8580)
21pages Jul 3, 2024
e294daf
Bump vcpkg baseline to 2024.06.15 (#8582)
basilgello Jul 3, 2024
a6febb2
[WIP] Fix F-Droid version file workflow (#8583)
basilgello Jul 3, 2024
95f4274
vcpkg: sort triplets and restore local opus port for 1.5.1 (#8585)
basilgello Jul 3, 2024
9349210
Update lv.rs (#8591)
Kleofass Jul 3, 2024
92f5708
return x11 for tty session
rustdesk Jul 3, 2024
bea65f8
fix ci
rustdesk Jul 3, 2024
94addb1
update sk && cz tr (#8595)
jxdv Jul 4, 2024
86ff768
clear unwrap (#8605)
fufesou Jul 4, 2024
dfc224e
fix: #8599 (#8603)
fufesou Jul 4, 2024
4eeee5b
Update bg.rs (#8611)
nevaran Jul 4, 2024
c2bd1b8
Update ru.rs (#8610)
solokot Jul 4, 2024
f8f2686
Update es.rs (#8609)
flusheDData Jul 4, 2024
a9015bc
feat: clipboard svg (#8608)
fufesou Jul 4, 2024
92d0fe1
Revert "feat: clipboard svg (#8608)" (#8612)
rustdesk Jul 4, 2024
8747b98
Add basque language (#8597)
Thadah Jul 5, 2024
0511cdb
feat: clipboard svg (#8615)
fufesou Jul 5, 2024
48efdcf
add remove-preset-password-warning-of
rustdesk Jul 5, 2024
d4f3a87
change to remove-preset-password-warning
rustdesk Jul 5, 2024
90df80e
Update el.rs (#8628)
Vasilis553 Jul 6, 2024
ac88121
fix ci
rustdesk Jul 6, 2024
8621b93
add display-name option for https://github.com/rustdesk/rustdesk-serv…
rustdesk Jul 6, 2024
024220e
add more fine-grained hide options for https://github.com/rustdesk/ru…
rustdesk Jul 6, 2024
53dbc2f
add OPTION_DISABLE_UDP
rustdesk Jul 7, 2024
7d961d8
add assign function in device.py for user/strategy/ab
rustdesk Jul 7, 2024
3c7e24c
add MOUSE_MOVE_TIME to key event, may work for
rustdesk Jul 8, 2024
2af799f
Update nl.rs (#8632)
FastAct Jul 8, 2024
d093fdc
Translation (#8634)
xlionjuan Jul 8, 2024
c02b4f9
fix two tray icon on macos
rustdesk Jul 8, 2024
eb5ab4d
Update Italian language (#8645)
bovirus Jul 8, 2024
af66d2a
main window add block mask, cm add keyboard block (#8640)
21pages Jul 8, 2024
02572e9
fix: obx, no rx value (#8652)
fufesou Jul 8, 2024
d007408
Factor out F-Droid buildscript (#8625)
basilgello Jul 9, 2024
8a370e6
add hide-username-on-card, https://github.com/rustdesk/rustdesk-serve…
rustdesk Jul 9, 2024
6f74080
build_fdroid: Move sudo-deps back to f-droid spec (#8659)
basilgello Jul 9, 2024
0bb4d43
add custom client option to allow remote cm modification (#8660)
21pages Jul 9, 2024
f07936a
wayland not call check_get_displays_changed_msg (#8637)
21pages Jul 9, 2024
e2d217a
fix wayland Display::all() comment (#8664)
21pages Jul 9, 2024
0116475
feat: clipboard, multi format (#8672)
fufesou Jul 10, 2024
ef4d846
Revert "feat: clipboard, multi format (#8672)" (#8673)
rustdesk Jul 10, 2024
b5a7165
feat: android, controlled side, clipboard text (#8677)
fufesou Jul 11, 2024
2391b18
fix: ubuntu 18.04, service, Exec format error (#8680)
fufesou Jul 11, 2024
d8cee65
test old flutter for mac intel freeze issue
rustdesk Jul 12, 2024
170200f
Update playground.yml
rustdesk Jul 12, 2024
282ea02
Update playground.yml
rustdesk Jul 12, 2024
21f41e9
Update playground.yml
rustdesk Jul 12, 2024
0ea88ce
Update playground.yml
rustdesk Jul 12, 2024
821f724
videotoolbox ram codec (#8683)
21pages Jul 12, 2024
c2716c2
Update playground.yml
rustdesk Jul 12, 2024
d652b99
Update playground.yml
rustdesk Jul 12, 2024
fe513dd
Update playground.yml
rustdesk Jul 12, 2024
2c027cd
Update playground.yml
rustdesk Jul 12, 2024
1d59a7f
adjust uni_link_desktop version to make work with old flutter
rustdesk Jul 12, 2024
888e993
fix: unable to close on fullscreen (#8690)
fufesou Jul 12, 2024
b30f846
Update playground.yml
rustdesk Jul 12, 2024
c873b69
refact: unwrap offstage for cursor paint (#8693)
fufesou Jul 12, 2024
a532b36
Update playground.yml
rustdesk Jul 12, 2024
06e0414
Update playground.yml
rustdesk Jul 12, 2024
183ea47
Update playground.yml
rustdesk Jul 12, 2024
294a6ce
Update playground.yml
rustdesk Jul 13, 2024
9d26fec
Update playground.yml
rustdesk Jul 13, 2024
46605fa
Update playground.yml
rustdesk Jul 13, 2024
a95a6ab
Update playground.yml
rustdesk Jul 13, 2024
883c630
Update playground.yml
rustdesk Jul 13, 2024
f5bcc17
Update playground.yml
rustdesk Jul 13, 2024
8a1aced
Update playground.yml
rustdesk Jul 13, 2024
7a3100a
Update playground.yml
rustdesk Jul 13, 2024
5e8fe23
build_fdroid.sh: Fix review points by Licaon_Kter (#8701)
basilgello Jul 13, 2024
0dc6644
Update playground.yml
rustdesk Jul 13, 2024
9adc083
Update playground.yml
rustdesk Jul 13, 2024
d18e957
fix: mouse forward back (#8705)
fufesou Jul 13, 2024
30afe4f
refact: seperate audio device for voice call (#8703)
fufesou Jul 13, 2024
3367c54
Update playground.yml
rustdesk Jul 13, 2024
29b8875
Update playground.yml
rustdesk Jul 13, 2024
5f31211
Update playground.yml
rustdesk Jul 13, 2024
bed214b
Update playground.yml
rustdesk Jul 13, 2024
d0a54a6
hc
rustdesk Jul 13, 2024
3a0ece1
mobile view mode menu (#8707)
21pages Jul 14, 2024
e2a7e38
fix: build ios (#8709)
fufesou Jul 14, 2024
8512c2b
fix lan peers batch deletion (#8715)
21pages Jul 15, 2024
3f11d9c
remove Instant sub (#8714)
21pages Jul 15, 2024
eec879a
refact: macos, hide&show on leaving view (#8712)
fufesou Jul 15, 2024
0946668
mobile virtual display, resolution menu, proxy setting (#8717)
21pages Jul 15, 2024
0143eaf
install ffmpeg lib with vcpkg (#8724)
21pages Jul 16, 2024
72c96f2
remove unused vcpkg ffmpeg code (#8725)
21pages Jul 16, 2024
188f85b
F-Droid: enable hwcodec for future builds (#8726)
basilgello Jul 16, 2024
092e408
fix: try workaround, macos, subwindow, frozen (#8729)
fufesou Jul 17, 2024
a4565bf
try fix arm64 linux ci and publish error log (#8730)
21pages Jul 17, 2024
901505e
fix: macos, load multi dylib instances (#8731)
fufesou Jul 17, 2024
e283d33
Revert "try fix arm64 linux ci and publish error log (#8730)" (#8732)
21pages Jul 17, 2024
bc672b3
arm linux remove cuda-llvm option (#8735)
21pages Jul 17, 2024
930561f
remove unused protobuf
rustdesk Jul 17, 2024
6821bef
Update README-JP.md and ja.rs (#8737)
creeper-0910 Jul 17, 2024
875ac28
fix: macos, remove useless workaround (#8738)
fufesou Jul 17, 2024
f058779
OPTION_PRESET_STRATEGY_NAME, OPTION_PRESET_USERNAME
rustdesk Jul 17, 2024
9e931a6
change remove-preset-password-warning default value to Y
rustdesk Jul 17, 2024
b68d7a3
fix linux armv7 ffmpeg arch, linux x64 sciter add hwcodec feature (#8…
21pages Jul 17, 2024
5a8c8cb
hide-help-cards
rustdesk Jul 18, 2024
a72bc0f
hide-help-cards
rustdesk Jul 18, 2024
e9c8ba5
fix: macos, remove unused workaround (#8746)
fufesou Jul 18, 2024
edc5d86
fix hide-help-cards and fix https://github.com/rustdesk/rustdesk/issu…
rustdesk Jul 18, 2024
4846483
fix linux ffmpeg link, still link ffmpeg in hwcodec (#8747)
21pages Jul 18, 2024
a81d646
fix: desktop settings, disconnect, timeout (#8749)
fufesou Jul 18, 2024
c3c99ba
fix missing retry (#8750)
21pages Jul 18, 2024
2be0560
fix: windows, headless, not work when exiting RDP (#8753)
fufesou Jul 18, 2024
04c175c
fix custom client settings tab visibility (#8752)
21pages Jul 18, 2024
5c16a83
Revert vcpkg ffmpeg (#8751)
21pages Jul 18, 2024
85ded0a
no idea why publish sciter windows tar.gz, remove it
rustdesk Jul 18, 2024
2b54a55
buildin options and add to mobile (#8759)
21pages Jul 19, 2024
6ad6622
Update ja.rs (#8758)
creeper-0910 Jul 19, 2024
cf8ef25
fix: keyboard, linux, repeated keys, #6793 (#8757)
fufesou Jul 19, 2024
d3454f0
fix: move some crates to rustdesk-org (#8772)
dignow Jul 20, 2024
de375c9
fix: nixos's headless mode. (#8774)
Bot-wxt1221 Jul 21, 2024
c4f3c0f
Update ca.rs - Added new translation into Catalan and a few correctio…
diegogzorrilla Jul 22, 2024
4723d6a
mouse wrong commit ref
rustdesk Jul 22, 2024
22f3425
fix custom client show ip whiltelist warning (#8778)
21pages Jul 22, 2024
14b5051
remove end slash when setting server config (#8779)
21pages Jul 22, 2024
31e7b6a
refact: msi, revision version (#8782)
dignow Jul 22, 2024
b828768
Update ja.rs and Add "About Rustdesk" (#8784)
creeper-0910 Jul 23, 2024
22c6f5e
aggresive online query for self-hosting
rustdesk Jul 23, 2024
97f26f8
default-connect-password option
rustdesk Jul 23, 2024
eef091d
fix hide ab tag when custom client startup (#8795)
21pages Jul 23, 2024
2ffc2ad
enhance https://github.com/rustdesk/rustdesk-server-pro/discussions/325
rustdesk Jul 23, 2024
614086a
fix: mobile, query onlines, on active (#8796)
dignow Jul 23, 2024
a72a890
vcpkg deps (#8764)
basilgello Jul 23, 2024
2de8104
Update de.rs (#8801)
Mr-Update Jul 24, 2024
b26acde
Update Italian language (#8800)
bovirus Jul 24, 2024
51a60a7
Fix arm32 sciter build (#8803)
basilgello Jul 24, 2024
8a4a2b5
Remove existing /opt/artifacts/vcpkg in sciter builds (#8804)
basilgello Jul 24, 2024
57d1b1e
fix nextRgba not called when switching to texture render (#8792)
21pages Jul 24, 2024
79a1f88
fix: flutter remove setState in initState (#8807)
dignow Jul 24, 2024
c04f460
fix more bool options (#8809)
21pages Jul 24, 2024
39dbd89
fix: siwtching display, clear last old image (#8810)
dignow Jul 24, 2024
d73e0e1
fix: video service (#8812)
dignow Jul 24, 2024
f7e9057
fix: video service, do not skip refresh message (#8815)
dignow Jul 24, 2024
0451a1c
fix: mobile, server page, jumps on loading (#8819)
dignow Jul 24, 2024
2aef796
fix: mobile, conn page, jump on exiting remote (#8820)
dignow Jul 24, 2024
b967d49
refact: init values from initState to Constractor (#8817)
dignow Jul 25, 2024
baf70da
fix: trackpad, reverse horizontal scroll (#8827)
dignow Jul 25, 2024
bbdce8d
Send clipboard keystroke, https://github.com/rustdesk/rustdesk/discus…
rustdesk Jul 25, 2024
3999d49
fix: keep window pos after new conn (#8834)
fufesou Jul 25, 2024
1850d32
Update Italian language (#8838)
bovirus Jul 26, 2024
f0f50f0
fix: remove getRadio todo and delete contentPadding param (#8839)
zuiyu1998 Jul 26, 2024
be06c0d
tab border for desktop subwindow (#8842)
21pages Jul 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
230 changes: 0 additions & 230 deletions .github/workflows/build-macos-arm64.yml

This file was deleted.

6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ env:
# MIN_SUPPORTED_RUST_VERSION: "1.46.0"
# CICD_INTERMEDIATES_DIR: "_cicd-intermediates"
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
# vcpkg version: 2023.10.19
# vcpkg version: 2024.06.15
# for multiarch gcc compatibility
VCPKG_COMMIT_ID: "8eb57355a4ffb410a2e94c07b4dca2dffbee8e50"
VCPKG_COMMIT_ID: "f7423ee180c4b7f40d43402c2feb3859161ef625"

on:
workflow_dispatch:
Expand Down Expand Up @@ -112,6 +112,8 @@ jobs:
libgstreamer-plugins-base1.0-dev \
libgtk-3-dev \
libpulse-dev \
libva-dev \
libvdpau-dev \
libxcb-randr0-dev \
libxcb-shape0-dev \
libxcb-xfixes0-dev \
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/fdroid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Fdroid version file generation

on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+-[0-9]+'

jobs:
# https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/com.carriez.flutter_hbb.yml
# Finds latest release and transforms F-Droid version code from version as follows:
# X.Y.Z-A => X * 1e6 + Y * 1e4 + Z * 1e2 + A
update-fdroid-version-file:
name: Publish RustDesk version file for F-Droid updater
runs-on: ubuntu-latest
steps:
- name: Generate RustDesk version file
run: |
if [ "${GITHUB_REF_TYPE}" = "tag" ]; then
UPSTREAM_VERNAME="${GITHUB_REF##refs/tags/}"
UPSTREAM_VERNAME="${UPSTREAM_VERNAME##v}"
else
UPSTREAM_VERNAME="$(curl https://api.github.com/repos/rustdesk/rustdesk/releases/latest | jq -r .tag_name | sed 's/^v//')"
fi
UPSTREAM_VERCODE="$(echo "$UPSTREAM_VERNAME" | tr '.' ' ' | tr '-' ' ' | while read -r MAJOR MINOR PATCH REV; do [ -z "$MAJOR" ] && MAJOR=0; [ -z "$MINOR" ] && MINOR=0; [ -z "$PATCH" ] && PATCH=0; [ -z "$REV" ] && REV=0; echo "$(( 1000000 * $MAJOR + 10000 * $MINOR + 100 * $PATCH + $REV ))"; done)"
echo "versionName=$UPSTREAM_VERNAME" > rustdesk-version.txt
echo "versionCode=$UPSTREAM_VERCODE" >> rustdesk-version.txt
shell: bash

- name: Publish RustDesk version file
uses: softprops/action-gh-release@v1
with:
prerelease: true
tag_name: "fdroid-version"
files: |
./rustdesk-version.txt
Loading
Loading