mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
search for exact wat2wasm executable
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user