Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
cpas6-install
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李金钢
cpas6-install
Commits
e89cd2ef
Commit
e89cd2ef
authored
Mar 31, 2026
by
李金钢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update build.js
parent
331ce748
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
build.js
build.js
+4
-3
No files found.
build.js
View file @
e89cd2ef
...
...
@@ -133,8 +133,9 @@ async function main() {
console
.
log
(
"Starting file copy..."
);
await
copyFiles
(
src
,
dest
,
subFolders
);
const
iss
=
'/CPAS6Setup_IASWithBom.iss'
// If it's a file, copy directly
fs
.
copyFile
(
".
/CPAS6Setup_IAS.iss"
,
dest
,
fs
.
constants
.
COPYFILE_FICLONE
,
(
err
)
=>
{
fs
.
copyFile
(
".
"
+
iss
,
dest
,
fs
.
constants
.
COPYFILE_FICLONE
,
(
err
)
=>
{
if
(
err
)
{
new
Error
(
`Error copying file:
${
err
}
`
);
}
...
...
@@ -147,7 +148,7 @@ async function main() {
// Run ISCC to compile the installer
console
.
log
(
"Running ISCC.exe..."
);
await
execCommand
(
`D:/InnoSetup6/ISCC.exe "
${
dest
}
/CPAS6Setup_IAS.iss
"`
);
await
execCommand
(
`D:/InnoSetup6/ISCC.exe "
${
dest
}
${
iss
}
"`
);
console
.
log
(
"ISCC.exe completed."
);
console
.
log
(
"Script execution completed successfully."
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment