Skip to content

Commit

Permalink
fix: 忽略不必要的文件(夹)以减小发行包体积
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyaser authored and Nyaser committed Nov 21, 2024
1 parent c1d7980 commit 3c3f2fa
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 1,056 deletions.
25 changes: 12 additions & 13 deletions forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,24 @@ import { FuseV1Options, FuseVersion } from '@electron/fuses';

export const packagerConfig = {
asar: true,
name: 'ExamCountdown',
executableName: 'ExamCountdown',
ignore: [
".github",
".gitignore",
".gitpod.yml",
"website",
]
};
export const rebuildConfig = {};
export const makers = [
{
name: '@electron-forge/maker-squirrel',
config: {},
config: {
name: 'ExamCountdown',
authors: 'Nyasers',
},
},
// {
// name: '@electron-forge/maker-zip',
// platforms: ['darwin'],
// },
// {
// name: '@electron-forge/maker-deb',
// config: {},
// },
// {
// name: '@electron-forge/maker-rpm',
// config: {},
// },
];
export const plugins = [
{
Expand Down
Loading

0 comments on commit 3c3f2fa

Please sign in to comment.