Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
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
syntax_j
mycard
Commits
057b4c34
Commit
057b4c34
authored
Jan 27, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b57225bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
apps.js
apps.js
+2
-2
No files found.
apps.js
View file @
057b4c34
...
@@ -59,11 +59,11 @@ eventemitter.on('install', (app, options) => {
...
@@ -59,11 +59,11 @@ eventemitter.on('install', (app, options) => {
let
tar
;
let
tar
;
if
(
db
.
platform
==
'
win32
'
)
{
if
(
db
.
platform
==
'
win32
'
)
{
let
xz
=
child_process
.
spawn
(
path
.
join
(
__dirname
,
'
bin
'
,
'
xz.exe
'
),
[
'
-d
'
,
'
-c
'
,
path
.
join
(
__dirname
,
app
.
id
+
'
.tar.xz
'
)],
{
stdio
:
[
'
inherit
'
,
'
pipe
'
,
'
inherit
'
]});
tar
=
child_process
.
spawn
(
path
.
join
(
__dirname
,
'
bin
'
,
'
tar.exe
'
),
[
'
fx
'
,
'
-
'
],
{
tar
=
child_process
.
spawn
(
path
.
join
(
__dirname
,
'
bin
'
,
'
tar.exe
'
),
[
'
fx
'
,
'
-
'
],
{
cwd
:
local
.
path
,
cwd
:
local
.
path
,
stdio
:
[
xz
.
stdout
,
'
inherit
'
,
'
inherit
'
]
stdio
:
[
'
pipe
'
,
'
inherit
'
,
'
inherit
'
]
});
});
child_process
.
spawn
(
path
.
join
(
__dirname
,
'
bin
'
,
'
xz.exe
'
),
[
'
-d
'
,
'
-c
'
,
path
.
join
(
__dirname
,
app
.
id
+
'
.tar.xz
'
)],
{
stdio
:
[
'
inherit
'
,
tar
.
stdin
,
'
inherit
'
]});
}
else
{
}
else
{
tar
=
child_process
.
spawn
(
'
tar
'
,
[
'
fx
'
,
path
.
join
(
__dirname
,
app
.
id
+
'
.tar.xz
'
),
'
-C
'
,
local
.
path
],
{
stdio
:
'
inherit
'
});
tar
=
child_process
.
spawn
(
'
tar
'
,
[
'
fx
'
,
path
.
join
(
__dirname
,
app
.
id
+
'
.tar.xz
'
),
'
-C
'
,
local
.
path
],
{
stdio
:
'
inherit
'
});
}
}
...
...
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