mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Create and run build.js
This commit is contained in:
parent
98231b8d25
commit
9c149f3bb3
7 changed files with 126 additions and 37 deletions
|
|
@ -103,9 +103,7 @@ function copyStartupFiles() {
|
|||
}
|
||||
|
||||
// Use absolute path for source
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
const sourcePath = path.resolve(
|
||||
const sourcePath = path.join(
|
||||
__dirname,
|
||||
includePython() ? "startup-scripts/include-python" : "startup-scripts",
|
||||
file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue