Commit Graph

31 Commits

Author SHA1 Message Date
beyondkmp
f0cff95381 refactor(locales): fix locales errors (#5080) 2025-04-20 21:27:49 +08:00
kangfenmao
a224d9243f feat(locales): add locale cleanup functionality to after-pack script
- Introduced a new `remove-locales.js` script to handle the removal of unnecessary locale files based on the platform.
- Integrated the locale cleanup process into the `after-pack.js` script to ensure locales are managed during packaging.
2025-04-19 19:22:36 +08:00
beyondkmp
985996f01a chore(electron-builder): Simplify file renaming logic and remove space (#4919)
* chore(electron-builder): Disable universal installer option in NSIS configuration

* refactor(after-build): Change file handling to delete files with spaces and rename files in YAML data

- Updated the function to delete files containing spaces instead of renaming them.
- Enhanced YAML processing to rename files and their blockmaps, ensuring proper handling of setup and portable versions.
- Adjusted the final YAML output to reflect the new file names.

* refactor(after-build): Simplify file renaming logic and remove space handling script

- Updated the after-build script to rename artifact files by replacing spaces with hyphens.
- Removed the replace-spaces.js script as its functionality is now integrated into the after-build process.
- Adjusted the build process in package.json to reflect the changes in file handling.

* refactor(electron-builder): Update artifact build script reference and remove obsolete after-build script

- Changed the artifactBuildCompleted script reference in electron-builder.yml to point to the new script.
- Deleted the outdated after-build.js script, which is no longer needed for file handling.

* delete js-yml
2025-04-17 10:05:48 +08:00
beyondkmp
d94b7b64ea update electron-builder to 26.0.13 2025-04-14 21:52:58 +08:00
kangfenmao
bf037829f6 ci(after-build): move renameFilesWithSpaces call to the end of the process 2025-04-14 18:42:18 +08:00
kangfenmao
20a7f81c1e feat: add after-build script for renaming files and updating latest.yml
- Introduced a new script to rename files with spaces in the 'dist' directory.
- Updated 'latest.yml' to remove the first file entry and adjust paths accordingly.
- Enhanced build process for Windows to include the new script execution.
- Added js-yaml dependency for YAML file manipulation.
2025-04-14 17:14:45 +08:00
kangfenmao
f5fc1ffa08 refactor(after-pack): rename function to keepArchNodeFiles and update logic for retaining architecture-specific node modules
close PR#4522
2025-04-10 13:15:41 +08:00
kangfenmao
5b44e6a982 chore(version): 1.1.19 2025-04-07 16:04:48 +08:00
Sophon
c503e5eafd build: Add support for Windows ARM64 platform (#3431)
Co-authored-by: 亢奋猫 <kangfenmao@qq.com>
2025-04-06 09:35:08 +08:00
kangfenmao
3480ae5e2e feat(i18n): add machine translations for Greek, Spanish, French, and Portuguese
- Updated the translation script to output machine-generated translations for Greek, Spanish, French, and Portuguese.
- Adjusted file paths for translation outputs and ensured proper formatting in the translation prompts.
- Added a README file to indicate that the translations are machine-generated and should not be edited.
2025-03-22 23:41:17 +08:00
kangfenmao
fdcc83248d fix: i18n and lint 2025-03-22 22:31:43 +08:00
z-zeechung
5a3a27acd6 i18n: 新增自动i18n脚本。新增阿拉伯文,希腊文,西班牙文,法文,葡萄牙文翻译 (#3792)
* added auto i18n script. added arab, greek, spanish, france, portuguese translation

* remove arabian
2025-03-22 22:20:09 +08:00
kangfenmao
7172c390a0 feat: Synchronize and clean up localization files
This commit involves several improvements to localization files across different languages:
- Reordered and cleaned up translation keys
- Removed redundant entries
- Ensured consistent ordering of keys
- Added missing translations for various features
- Normalized whitespace and formatting
2025-02-21 14:15:36 +08:00
Chen Tao
dab6271101 feat: add i18n sync script (#1538)
* feat: add i18n sync script

* chore
2025-02-13 11:34:23 +08:00
kangfenmao
eeb46969cf feat: add windows platform support for node file detection and npm package download 2024-12-26 12:38:51 +08:00
kangfenmao
dbc806e925 chore(version): 0.9.1 2024-12-26 12:25:58 +08:00
kangfenmao
a7f098e4cc fix: build native module script 2024-12-26 12:25:58 +08:00
kangfenmao
dc657c4d49 refactor: knowledge base engine change to libsql 2024-12-26 10:00:37 +08:00
kangfenmao
086475c883 refactor: knowledge base database engine 2024-12-25 17:42:03 +08:00
kangfenmao
67dda878ae revert: cloudflare-worker.js 2024-12-24 17:38:30 +08:00
kangfenmao
6d395fba09 build: download npm node native modules 2024-12-24 17:24:38 +08:00
kangfenmao
ecf45e0c00 chore(version): 0.9.0 2024-12-23 17:07:26 +08:00
kangfenmao
59f3375f44 build: reduce package size 2024-12-23 14:22:37 +08:00
kangfenmao
d6e21a77ce chore(version): 0.8.26 2024-12-15 18:03:36 +08:00
牡丹凤凰
6c9d062e90 Update cloudflare-worker.js 2024-12-07 15:28:57 +08:00
kangfenmao
09c765cb0e build: add scripts/cloudflare-worker.js 2024-11-22 10:01:54 +08:00
kangfenmao
76fa54dc30 chore(version): 0.3.7 2024-07-26 11:04:02 +08:00
kangfenmao
76ad5adc3f ci: log notarized app name 2024-07-16 20:49:41 +08:00
kangfenmao
e9866a9fbb fix: process is not defined 2024-07-16 20:40:25 +08:00
kangfenmao
1cbfe2a707 0.2.0 2024-07-14 22:21:08 +08:00
kangfenmao
34b2e72352 chore(version): v0.1.0 2024-07-11 14:38:45 +08:00