@flun/desktop-builder 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
1
  # 变更日志
2
+ ## [1.02] - 2026-07-03 10:43
3
+ ### 优化
4
+ - 简化使用示例;
2
5
  ## [1.01] - 2026-07-03 10:38
3
6
  ### 首发
4
7
  - 将任意 Node.js 网站一键打包为当前桌面应用('win', 'mac', 'linux')(基于 Electron),支持高度自定义配置;
package/index.d.ts CHANGED
@@ -25,12 +25,7 @@ declare module './lib/build.js' {
25
25
  * // 基础示例
26
26
  * import { build } from '@flun/desktop-builder';
27
27
  *
28
- * try {
29
- * await build();
30
- * } catch (err) {
31
- * console.error('❌ 失败:', err.message);
32
- * process.exit(1);
33
- * }
28
+ * await build();
34
29
  */
35
30
  declare module './index.js' {
36
31
  export { build } from './lib/build.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flun/desktop-builder",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "将任意 Node.js 网站一键打包为当前桌面应用('win', 'mac', 'linux')(基于 Electron),支持高度自定义配置;",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",