Currently we always display the message:
Warning: Windows Defender may prevent the Java Packager from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\vdrozdov\AppData\Local\Temp".
the directory is calculated as System.getProperty("user.home").toString() + "\\AppData\\Local\\Temp";
seems like it's not correct for all cases, for example, when on my machine I launch javapackager via cygwin, it uses tmp dir from C:\cygwin\tmp\. If I launch it using win cmd, then it really uses C:\Users\vdrozdov\AppData\Local\Temp.
Looks like this needs to be corrected.
Warning: Windows Defender may prevent the Java Packager from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\vdrozdov\AppData\Local\Temp".
the directory is calculated as System.getProperty("user.home").toString() + "\\AppData\\Local\\Temp";
seems like it's not correct for all cases, for example, when on my machine I launch javapackager via cygwin, it uses tmp dir from C:\cygwin\tmp\. If I launch it using win cmd, then it really uses C:\Users\vdrozdov\AppData\Local\Temp.
Looks like this needs to be corrected.