Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into merge/2025.01-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcphers committed Jan 21, 2025
2 parents df61a68 + a268bc8 commit 3874d72
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,20 @@ export class NativeWorkbenchEnvironmentService extends AbstractNativeEnvironment
@memoize
get filesToWait(): IPathsToWaitFor | undefined { return this.configuration.filesToWait; }

// --- Start Positron ---
// Always file downloads and uploads on Positron Desktop. These can be
// disabled in browser mode for security reasons (see
// BrowserWorkbenchEnvironmentService), but are always enabled in the
// desktop/Electron configuration.
get isEnabledFileDownloads(): boolean {
return true;
}

get isEnabledFileUploads(): boolean {
return true;
}
// --- End Positron ---

constructor(
private readonly configuration: INativeWindowConfiguration,
productService: IProductService
Expand Down

0 comments on commit 3874d72

Please sign in to comment.