Skip to content

Commit

Permalink
feat: setup release config #3
Browse files Browse the repository at this point in the history
Signed-off-by: seven <[email protected]>
  • Loading branch information
Blankll committed Jan 12, 2024
1 parent 770cda2 commit 6c4ee28
Show file tree
Hide file tree
Showing 5 changed files with 4,161 additions and 1,186 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ dist-ssr
/.vscode/
/release/
/coverage/

out/
53 changes: 53 additions & 0 deletions forge.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
const author = 'geekfun <[email protected]>';
const homepage = 'https://dockit.geekfun.club';
const description = 'A faster, better and more stable NoSQL desktop tools';
module.exports = {
packagerConfig: {
asar: true,
outDir: 'distributions',
},
rebuildConfig: {},
makers: [
{
name: '@electron-forge/maker-squirrel',
config: { authors: author, description },
},
{
name: '@electron-forge/maker-zip',
platforms: ['darwin'],
},
{
name: '@electron-forge/maker-dmg',
},
{
name: '@electron-forge/maker-deb',
config: {
options: { maintainer: author, homepage },
},
},
{
name: '@electron-forge/maker-rpm',
config: {
options: { homepage },
},
},
],
plugins: [
{
name: '@electron-forge/plugin-auto-unpack-natives',
config: {},
},
],
publishers: [
{
name: '@electron-forge/publisher-github',
config: {
repository: {
owner: 'geekfun',
name: 'dockit',
},
prerelease: true,
},
},
],
};
Loading

0 comments on commit 6c4ee28

Please sign in to comment.