Skip to content
This repository has been archived by the owner on Jul 23, 2023. It is now read-only.

Commit

Permalink
Fixed opening directories with spaces in path
Browse files Browse the repository at this point in the history
  • Loading branch information
Raicuparta committed May 24, 2021
1 parent 21cc72f commit 4f9c692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,5 @@ export function openDirectory(directoryPath: string) {
throw new Error(modsText.openNonExistingDirectoryError);
}

exec(`start ${path.resolve(directoryPath)}`);
exec(`start "open directory" "${path.resolve(directoryPath)}"`);
}

0 comments on commit 4f9c692

Please sign in to comment.