mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
LWJGLInstaller: use constant instead of hardcoded filename
This commit is contained in:
parent
b69aed51c7
commit
253ee1bcf4
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ public class LWJGLInstaller {
|
|||
return (String) AccessController.doPrivileged(new PrivilegedExceptionAction() {
|
||||
public Object run() throws Exception {
|
||||
// create the temp directory
|
||||
File tempDir = new File(user_temp_dir + File.separator + ".lwjglinstall" + File.separator + System.currentTimeMillis());
|
||||
File tempDir = new File(user_temp_dir + File.separator + MASTER_INSTALL_DIR + File.separator + System.currentTimeMillis());
|
||||
if(!tempDir.mkdirs()) {
|
||||
throw new IOException("Failed to create directory: " + tempDir);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue