Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Headlamp
Commits
51b6e343
Unverified
Commit
51b6e343
authored
3 years ago
by
Joaquim Rocha
Committed by
GitHub
3 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #338 from kinvolk/linux_arm
app: Build also Linux ARM versions
parents
9efd0fd9
0ab74499
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/package.json
+16
-2
app/package.json
app/scripts/build-backend.js
+2
-0
app/scripts/build-backend.js
with
18 additions
and
2 deletions
+18
-2
app/package.json
+
16
-
2
View file @
51b6e343
...
...
@@ -24,8 +24,22 @@
"artifactName"
:
"${productName}-${version}-${os}-${arch}.${ext}"
,
"linux"
:
{
"target"
:
[
"AppImage"
,
"tar.gz"
{
"target"
:
"AppImage"
,
"arch"
:
[
"x64"
,
"armv7l"
,
"arm64"
]
},
{
"target"
:
"tar.gz"
,
"arch"
:
[
"x64"
,
"armv7l"
,
"arm64"
]
}
],
"executableName"
:
"headlamp"
,
"maintainer"
:
"Kinvolk <hello@kinvolk.io>"
,
...
...
This diff is collapsed.
Click to expand it.
app/scripts/build-backend.js
+
2
-
0
View file @
51b6e343
...
...
@@ -6,6 +6,8 @@ exports.default = async context => {
let
arch
=
context
.
arch
;
if
(
arch
===
'
x64
'
)
{
arch
=
'
amd64
'
;
}
else
if
(
arch
===
'
armv7l
'
)
{
arch
=
'
arm
'
;
}
let
osName
=
''
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help