From 05906539d7353438d2507587382776202492ac35 Mon Sep 17 00:00:00 2001 From: Bryan Gerlach Date: Thu, 20 Nov 2025 17:06:49 -0600 Subject: [PATCH] change permissions on custom.txt --- .github/patches/cycle_monitor.diff | 14 +++++++------- .github/workflows/generator-windows.yml | 5 +++++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/patches/cycle_monitor.diff b/.github/patches/cycle_monitor.diff index 2f0c554..9df31e8 100644 --- a/.github/patches/cycle_monitor.diff +++ b/.github/patches/cycle_monitor.diff @@ -1,5 +1,5 @@ diff --git a/flutter/lib/desktop/widgets/remote_toolbar.dart b/flutter/lib/desktop/widgets/remote_toolbar.dart -index 839ea1a81..9cee52263 100644 +index bc3757f1e..ba6509802 100644 --- a/flutter/lib/desktop/widgets/remote_toolbar.dart +++ b/flutter/lib/desktop/widgets/remote_toolbar.dart @@ -317,6 +317,7 @@ class _RemoteToolbarState extends State { @@ -10,7 +10,7 @@ index 839ea1a81..9cee52263 100644 sessionId: widget.ffi.sessionId, dragging: _dragging, fractionX: _fractionX, -@@ -2460,6 +2460,7 @@ class RdoMenuButton extends StatelessWidget { +@@ -2460,6 +2461,7 @@ class RdoMenuButton extends StatelessWidget { class _DraggableShowHide extends StatefulWidget { final String id; @@ -18,7 +18,7 @@ index 839ea1a81..9cee52263 100644 final SessionID sessionId; final RxDouble fractionX; final RxBool dragging; -@@ -2472,6 +2472,7 @@ class _DraggableShowHide extends StatefulWidget { +@@ -2472,6 +2474,7 @@ class _DraggableShowHide extends StatefulWidget { const _DraggableShowHide({ Key? key, required this.id, @@ -26,7 +26,7 @@ index 839ea1a81..9cee52263 100644 required this.sessionId, required this.fractionX, required this.dragging, -@@ -2583,6 +2583,7 @@ class _DraggableShowHideState extends State<_DraggableShowHide> { +@@ -2583,6 +2586,7 @@ class _DraggableShowHideState extends State<_DraggableShowHide> { mainAxisSize: MainAxisSize.min, children: [ _buildDraggable(context), @@ -34,9 +34,9 @@ index 839ea1a81..9cee52263 100644 Obx(() => buttonWrapper( () { widget.setFullscreen(!isFullscreen.value); -@@ -2689,3 +2689,50 @@ Widget _buildPointerTrackWidget(Widget child, FFI? ffi) { - ), - ); +@@ -2742,3 +2746,50 @@ class EdgeThicknessControl extends StatelessWidget { + return slider; + } } + +class _CycleMonitorMenu extends StatelessWidget { diff --git a/.github/workflows/generator-windows.yml b/.github/workflows/generator-windows.yml index 6a72daa..6958ca5 100644 --- a/.github/workflows/generator-windows.yml +++ b/.github/workflows/generator-windows.yml @@ -584,6 +584,11 @@ jobs: run: | echo -n "${{ inputs.custom }}" | cat > ./rustdesk/custom.txt + - name: change permissions on custom.txt + shell: pwsh + run: | + icalcs ./rustdesk/custom.txt /grant Everyone:(F) + - name: Build self-extracted executable shell: bash if: env.UPLOAD_ARTIFACT == 'true'