diff --git a/.editorconfig b/.editorconfig index cf640d53..9f73416c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,4 +6,4 @@ indent_style = space indent_size = 2 end_of_line = lf insert_final_newline = true -trim_trailing_whitespace = true \ No newline at end of file +trim_trailing_whitespace = true diff --git a/electron-builder.yml b/electron-builder.yml index 01e7808b..37e61907 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -3,12 +3,14 @@ productName: Cherry Studio directories: buildResources: build files: - - '!**/.vscode/*' - - '!src/*' + - '!{.vscode,.yarn,.github}' - '!electron.vite.config.{js,ts,mjs,cjs}' - '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}' - '!{.env,.env.*,.npmrc,pnpm-lock.yaml}' - '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}' + - '!src/*' + - '!ollama' + asarUnpack: - resources/** win: