@@ -155,6 +155,12 @@ jobs:
155
155
with :
156
156
repository : rustdesk/rustdesk
157
157
158
+ - name : Restore bridge files
159
+ uses : actions/download-artifact@master
160
+ with :
161
+ name : bridge-artifact
162
+ path : ./
163
+
158
164
- name : Install ImageMagick on Windows
159
165
run : |
160
166
choco install -y imagemagick.app --no-progress
@@ -247,13 +253,6 @@ jobs:
247
253
- uses : Swatinem/rust-cache@v2
248
254
with :
249
255
prefix-key : ${{ matrix.job.os }}
250
-
251
- - name : Install flutter rust bridge deps
252
- run : |
253
- git config --global core.longpaths true
254
- cargo install flutter_rust_bridge_codegen --version ${{ env.FLUTTER_RUST_BRIDGE_VERSION }} --features "uuid"
255
- Push-Location flutter ; flutter pub get ; Pop-Location
256
- ~/.cargo/bin/flutter_rust_bridge_codegen --rust-input ./src/flutter_ffi.rs --dart-output ./flutter/lib/generated_bridge.dart
257
256
258
257
- name : Report Status
259
258
uses : fjogeleit/http-request-action@v1
@@ -355,18 +354,6 @@ jobs:
355
354
flutter pub run flutter_launcher_icons
356
355
cd ..
357
356
358
- - name : Report Status
359
- uses : fjogeleit/http-request-action@v1
360
- with :
361
- url : ${{ env.STATUS_URL }}
362
- method : ' POST'
363
- customHeaders : ' {"Content-Type": "application/json"}'
364
- data : ' {"uuid": "${{ inputs.uuid }}", "status": "30% complete"}'
365
-
366
- # - name: generate rustbridge
367
- # run: |
368
- # ~/.cargo/bin/flutter_rust_bridge_codegen --rust-input ./src/flutter_ffi.rs --dart-output ./flutter/lib/generated_bridge.dart
369
-
370
357
- name : Report Status
371
358
uses : fjogeleit/http-request-action@v1
372
359
with :
@@ -383,15 +370,7 @@ jobs:
383
370
Remove-Item -Path usbmmidd_v2\Win32 -Recurse
384
371
Remove-Item -Path "usbmmidd_v2\deviceinstaller64.exe", "usbmmidd_v2\deviceinstaller.exe", "usbmmidd_v2\usbmmidd.bat"
385
372
mv ./flutter/build/windows/x64/runner/Release ./rustdesk
386
- mv -Force .\usbmmidd_v2 ./rustdesk
387
-
388
- # - name: logo stuff
389
- # if: ${{ inputs.logolink != 'false' }}
390
- # continue-on-error: true
391
- # shell: bash
392
- # run: |
393
- # #echo "${{ inputs.logobase64 }}" | base64 -d > ./rustdesk/data/flutter_assets/assets/logo.png
394
-
373
+ mv -Force .\usbmmidd_v2 ./rustdesk
395
374
396
375
- name : icon stuff
397
376
if : ${{ inputs.iconlink != 'false' }}
0 commit comments