Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
srvpro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
srvpro
Commits
597fd4dd
Commit
597fd4dd
authored
Oct 01, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update pack
parent
4e22671d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ygopro-pre.js
ygopro-pre.js
+3
-3
No files found.
ygopro-pre.js
View file @
597fd4dd
...
@@ -344,7 +344,7 @@ var packDatas = function () {
...
@@ -344,7 +344,7 @@ var packDatas = function () {
execSync
(
'
cp -r "
'
+
config
.
db_path
+
'
script" "
'
+
config
.
db_path
+
'
expansions/script"
'
);
execSync
(
'
cp -r "
'
+
config
.
db_path
+
'
script" "
'
+
config
.
db_path
+
'
expansions/script"
'
);
execSync
(
'
cp -r "
'
+
config
.
db_path
+
'
pics" "
'
+
config
.
db_path
+
'
expansions/pics"
'
);
execSync
(
'
cp -r "
'
+
config
.
db_path
+
'
pics" "
'
+
config
.
db_path
+
'
expansions/pics"
'
);
execSync
(
'
cp -r "
'
+
config
.
db_path
+
'
pics/field" "
'
+
config
.
db_path
+
'
picture/field"
'
);
execSync
(
'
cp -r "
'
+
config
.
db_path
+
'
pics/field" "
'
+
config
.
db_path
+
'
picture/field"
'
);
var
proc
=
spawn
(
"
7za
"
,
[
"
a
"
,
"
-x!*.zip
"
,
"
-x!mobile.cdb
"
,
"
-x!cdb
"
,
"
-x!script
"
,
"
-x!pics
"
,
"
-x!picture
"
,
"
ygosrv233-pre.zip
"
,
"
*
"
],
{
cwd
:
config
.
db_path
,
env
:
process
.
env
});
var
proc
=
spawn
(
"
7za
"
,
[
"
a
"
,
"
-x!*.zip
"
,
"
-x!mobile.cdb
"
,
"
-x!cdb
"
,
"
-x!script
"
,
"
-x!pics
"
,
"
-x!
expansions/pics/thumbnail
"
,
"
-x!
picture
"
,
"
ygosrv233-pre.zip
"
,
"
*
"
],
{
cwd
:
config
.
db_path
,
env
:
process
.
env
});
proc
.
stdout
.
setEncoding
(
'
utf8
'
);
proc
.
stdout
.
setEncoding
(
'
utf8
'
);
proc
.
stdout
.
on
(
'
data
'
,
function
(
data
)
{
proc
.
stdout
.
on
(
'
data
'
,
function
(
data
)
{
//sendResponse("7z: "+data);
//sendResponse("7z: "+data);
...
@@ -358,7 +358,7 @@ var packDatas = function () {
...
@@ -358,7 +358,7 @@ var packDatas = function () {
execSync
(
'
rm -rf "
'
+
config
.
db_path
+
'
expansions/script" "
'
+
config
.
db_path
+
'
expansions/pics"
'
);
execSync
(
'
rm -rf "
'
+
config
.
db_path
+
'
expansions/script" "
'
+
config
.
db_path
+
'
expansions/pics"
'
);
sendResponse
(
"
电脑更新包打包完成。
"
);
sendResponse
(
"
电脑更新包打包完成。
"
);
});
});
var
proc2
=
spawn
(
"
7za
"
,
[
"
a
"
,
"
-x!*.zip
"
,
"
-x!expansions
"
,
"
-x!cdb
"
,
"
-x!pics/thumbnail
"
,
"
-x!picture
"
,
"
ygosrv233-pre-mobile.zip
"
,
"
*
"
],
{
cwd
:
config
.
db_path
,
env
:
process
.
env
});
var
proc2
=
spawn
(
"
7za
"
,
[
"
a
"
,
"
-x!*.zip
"
,
"
-x!expansions
/pics
"
,
"
-x!expansions/script
"
,
"
-x!cdb
"
,
"
-x!pics/thumbnail
"
,
"
-x!picture
"
,
"
ygosrv233-pre-mobile.zip
"
,
"
*
"
],
{
cwd
:
config
.
db_path
,
env
:
process
.
env
});
proc2
.
stdout
.
setEncoding
(
'
utf8
'
);
proc2
.
stdout
.
setEncoding
(
'
utf8
'
);
proc2
.
stdout
.
on
(
'
data
'
,
function
(
data
)
{
proc2
.
stdout
.
on
(
'
data
'
,
function
(
data
)
{
//sendResponse("7z: "+data);
//sendResponse("7z: "+data);
...
@@ -371,7 +371,7 @@ var packDatas = function () {
...
@@ -371,7 +371,7 @@ var packDatas = function () {
execSync
(
'
mv -f "
'
+
config
.
db_path
+
'
ygosrv233-pre-mobile.zip" "
'
+
file_path
+
'
"
'
);
execSync
(
'
mv -f "
'
+
config
.
db_path
+
'
ygosrv233-pre-mobile.zip" "
'
+
file_path
+
'
"
'
);
sendResponse
(
"
手机更新包打包完成。
"
);
sendResponse
(
"
手机更新包打包完成。
"
);
});
});
var
proc3
=
spawn
(
"
7za
"
,
[
"
a
"
,
"
-x!*.zip
"
,
"
-x!
mobile.cdb
"
,
"
-x!
expansions
"
,
"
-x!pics
"
,
"
ygosrv233-pre-2.zip
"
,
"
*
"
],
{
cwd
:
config
.
db_path
,
env
:
process
.
env
});
var
proc3
=
spawn
(
"
7za
"
,
[
"
a
"
,
"
-x!*.zip
"
,
"
-x!expansions
"
,
"
-x!pics
"
,
"
ygosrv233-pre-2.zip
"
,
"
*
"
],
{
cwd
:
config
.
db_path
,
env
:
process
.
env
});
proc3
.
stdout
.
setEncoding
(
'
utf8
'
);
proc3
.
stdout
.
setEncoding
(
'
utf8
'
);
proc3
.
stdout
.
on
(
'
data
'
,
function
(
data
)
{
proc3
.
stdout
.
on
(
'
data
'
,
function
(
data
)
{
//sendResponse("7z: "+data);
//sendResponse("7z: "+data);
...
...
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