mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
fix: try fix VSCode can't be found
This commit is contained in:
parent
9552e8b70e
commit
8b78930f34
3 changed files with 5 additions and 4 deletions
|
|
@ -37,6 +37,7 @@ exports.default = async (buildPath, electronVersion, platform, arch, callback) =
|
|||
console.log('Copying tiddlywiki dependency to dist');
|
||||
await fs.copy(path.join(projectRoot, 'node_modules', '@tiddlygit', 'tiddlywiki'), path.join(cwd, 'node_modules', '@tiddlygit', 'tiddlywiki'));
|
||||
await fs.copy(path.join(projectRoot, 'node_modules', 'dugite'), path.join(cwd, 'node_modules', 'dugite'));
|
||||
await fs.copy(path.join(projectRoot, 'node_modules', 'app-path'), path.join(cwd, 'node_modules', 'app-path'));
|
||||
await fs.copy(path.join(projectRoot, 'node_modules', 'zx'), path.join(cwd, 'node_modules', 'zx'));
|
||||
await exec(`npm i --legacy-building`, { cwd: path.join(cwd, 'node_modules', 'zx') });
|
||||
await exec(`npm i --legacy-building`, { cwd: path.join(cwd, 'node_modules', 'zx', 'node_modules', 'globby') });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue