Fix file link parameter order

This commit is contained in:
Nassim Jahnke 2022-12-22 16:26:04 +01:00
parent cdcbc5b4b8
commit b00a8ad771
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@ node_modules
node.exe
dist
node
work/
### STS ###
.apt_generated

View File

@ -397,7 +397,7 @@ public class VersionFactory extends HangarComponent {
// fileService.move(tmpVersionJar.toString(), platformJarPath);
// actually, lets do nothing here, in frontend only the primary platform is used for downloading anyways
} else {
fileService.link(platformJarPath, newVersionJarPath);
fileService.link(newVersionJarPath, platformJarPath);
}
}