Skip to content

Commit cf2870f

Browse files
committed
Fixed issue where game resource deployment was improperly using link mode when not supported.
1 parent 11e6ab9 commit cf2870f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/electron.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2290,7 +2290,8 @@ class ElectronLoader {
22902290
return;
22912291
}
22922292

2293-
if (profile.modLinkMode) {
2293+
const linkMode = this.#checkLinkSupported(srcFilePath, [destFilePath]);
2294+
if (linkMode) {
22942295
fs.mkdirpSync(path.dirname(destFilePath));
22952296
fs.linkSync(srcFilePath, destFilePath);
22962297
} else {

0 commit comments

Comments
 (0)