Pick a file in Files to edit it here.
174 + DefaultButton = ContentDialogButton.Primary,
175 + XamlRoot = Root.XamlRoot,
176 + };
177 + if (await dlg.ShowAsync() == ContentDialogResult.Primary)
178 + {
179 + _theme.SaveDeepVerify(deep.IsOn);
180 + ViewModel.DeepVerify = deep.IsOn;
181 + }
182 + }
183 +
184 private async void About_Click(object sender, RoutedEventArgs e)
185 {
186 if (Root.XamlRoot is null) return;
...
204 try { SshSyncService.LaunchElevatedBoxScript("unharden-firewall.ps1"); } catch { }
205 }
206
207 + private void Explorer_DragOver(object sender, DragEventArgs e)
208 + {
209 + if (e.DataView.Contains(StandardDataFormats.StorageItems))
210 + {
211 + e.AcceptedOperation = DataPackageOperation.Copy;
212 + try { e.DragUIOverride.Caption = "Copy here + sync"; e.DragUIOverride.IsCaptionVisible = true; } catch { }
213 + }
214 + }
215 +
216 + private async void Explorer_Drop(object sender, DragEventArgs e)
217 + {
218 + if (!e.DataView.Contains(StandardDataFormats.StorageItems)) return;
219 + var def = e.GetDeferral();
220 + try
221 + {
222 + var items = await e.DataView.GetStorageItemsAsync();
223 + var paths = items.Select(i => i.Path).Where(p => !string.IsNullOrEmpty(p)).ToList();
224 + await ViewModel.DropFilesAsync(paths);
225 + }
226 + catch { }
227 + finally { def.Complete(); }
228 + }
229 +
230 private async void Item_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
231 {
232 if ((e.OriginalSource as FrameworkElement)?.DataContext is not ExplorerItem it) return;
● All v2.6.0 changes in. Commit, push, build:
❯
⏵⏵ bypass permissions on (shift+tab to cycle) · ← for agents