Skip to content

Commit

Permalink
fix address library install
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitalita committed Oct 1, 2023
1 parent f783502 commit e863582
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/papyrus-lang-vscode/src/debugger/AddLibHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ export async function _checkAddressLibsInstalled(
return AddressLibInstalledState.installed;
}

// TODO: For some godforsaken reason, the address library names on Nexus mods for both SE and AE are the same.
// (i.e. "Address Library for SKSE Plugins")
// Need to handle this
export async function _installAddressLibs(
game: PapyrusGame,
ParentInstallDir: string,
Expand Down Expand Up @@ -370,7 +373,7 @@ export async function _installAddressLibs(
throw new Error('Asset list is corrupt');
}
const zipPath = path.join(downloadDir, asset.zipFile);
fs.rmSync(addressLibInstallPath, { recursive: true, force: true });
// fs.rmSync(addressLibInstallPath, { recursive: true, force: true });
await mkdirIfNeeded(addressLibInstallPath);
await extractZip(zipPath, {
dir: addressLibInstallPath,
Expand Down

0 comments on commit e863582

Please sign in to comment.