1.0.17 • Published 1 year ago

pkg-exe-build v1.0.17

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

pkg-exe-build

中文文档

Configure Windows PKG package generated exe file icon and detailed information

install

run npm i pkg-exe-build -D

config

run npx pkg-exe-build init

> New Build Config File: exeBuild.config.js
> New Icon File: app.ico

The installation creates the 'exebuild.config. js' configuration file in the current project directory

module.exports = {
  file: "app.js", // entryFile
  icon: "app.ico",
  name: "name",
  description: "description",
  company: "company",
  version: "1.0.0",
  copyright: "copyright",
  pkg: {
    // https://github.com/vercel/pkg
    targets: ["node16-win-x64"],
    outputPath: "dist",
    assets: ["node_modules/**/*"],
  },
};

build

run npx pkg-exe-build build

> Download Binaries
> Read EXE
> Set Product Version
> Set File Version
> Set File Info
> Set Icon
> Generate EXE
> Save EXE
> Bundling App
> pkg@5.7.0
> Reusing base binaries built locally:
  C:\Users\Promise\.pkg-cache\v3.4\built-v16.15.0-win-x64
1.0.17

1 year ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago