Skip to content

Commit

Permalink
chore(package): support pack linux
Browse files Browse the repository at this point in the history
  • Loading branch information
yantze committed Jul 6, 2022
1 parent a938854 commit ce571c6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ When there are new changes in the code, open the command panel in the editor <kb
package the project, and the installation package in the `out` directory:

```shell
yarn pack
yarn run pack
```
10 changes: 10 additions & 0 deletions build/pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,15 @@ electronBuilder.build({
},
],
},
linux: {
artifactName: '${productName}-${version}.${ext}',
icon: 'build/icon/sumi.png',
target: [
{
target: 'deb',
arch: ['x64'],
},
],
},
},
});
2 changes: 1 addition & 1 deletion product.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"productName": "Sumi - OSS",
"productName": "OpenSumi-OSS",
"applicationName": "sumi-oss",
"dataFolderName": ".sumi-oss",
"version": "1.3.6",
Expand Down

0 comments on commit ce571c6

Please sign in to comment.