1
0
mirror of https://github.com/i-net-software/JWebAssembly.git synced 2025-03-16 02:48:51 +01:00

search for exact wat2wasm executable

This commit is contained in:
Volker Berlin 2020-06-18 22:39:30 +02:00
parent 72732a2829
commit 01565f090c

@ -107,7 +107,8 @@ class Wat2Wasm {
if( file.isDirectory() ) {
searchExecuteable( file );
} else {
if( file.getName().contains( "wat2wasm" ) ) {
String name = file.getName();
if( name.equals( "wat2wasm" ) || name.equals( "wat2wasm.exe" ) ) {
command = file.getAbsolutePath();
}
}