File tree Expand file tree Collapse file tree
src/main/java/git/artdeell/artvk Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111import it .unimi .dsi .fastutil .ints .Int2IntMap ;
1212import it .unimi .dsi .fastutil .ints .Int2IntMap .Entry ;
1313import it .unimi .dsi .fastutil .objects .ReferenceArrayList ;
14+
15+ import java .io .File ;
1416import java .nio .IntBuffer ;
1517import java .util .Collection ;
1618import java .util .HashSet ;
@@ -211,6 +213,11 @@ private static boolean isDeviceSuitable(final VkPhysicalDevice vkPhysicalDevice)
211213 isSuitableDevice = false ;
212214 }
213215
216+ if (new File ("." ).getAbsolutePath ().contains ("ca.dnamobile.javalauncher" )) {
217+ ArtVK .LOGGER .warn ("Device [{}] does not support running in this environment" , deviceName );
218+ isSuitableDevice = false ;
219+ }
220+
214221 if (isSuitableDevice ) {
215222 ArtVK .LOGGER .debug ("Device [{}] is suitable" , deviceName );
216223 }
You can’t perform that action at this time.
0 commit comments