Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional CD-ROM mount point for Linux. #271

Closed
AlexZaka opened this issue May 15, 2022 · 0 comments
Closed

Additional CD-ROM mount point for Linux. #271

AlexZaka opened this issue May 15, 2022 · 0 comments

Comments

@AlexZaka
Copy link

Additional CD-ROM mount point for Linux systems.

--- ./weasis-dicom/weasis-dicom-explorer/src/main/java/org/weasis/dicom/explorer/DicomDirImport.java.orig	2022-05-15 21:31:22.335914350 +0500
+++ ./weasis-dicom/weasis-dicom-explorer/src/main/java/org/weasis/dicom/explorer/DicomDirImport.java	2022-05-15 22:15:59.898708791 +0500
@@ -210,6 +210,7 @@
         addFiles(dvs, new File("/media"));
         addFiles(dvs, new File("/mnt"));
         addFiles(dvs, new File("/media/" + System.getProperty("user.name", "local"))); // NON-NLS
+        addFiles(dvs, new File("/run/media/" + System.getProperty("user.name", "local")));
       }
     } catch (Exception e) {
       LOGGER.error("Error when reading device directories: {}", e.getMessage());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants