@eziapp-org/builder 0.0.0-beta.4 → 0.0.0-beta.5

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.
@@ -143,10 +143,10 @@ class Builder {
143
143
  console.log(green("✓ assets generated."));
144
144
  }
145
145
  async genIcon() {
146
- const iconPath = "public/" + this.eziConfig.application.icon;
147
- if (!iconPath) {
146
+ if (!(this.eziConfig.application.icon)) {
148
147
  return;
149
148
  }
149
+ const iconPath = path.join("public", this.eziConfig.application.icon);
150
150
  try {
151
151
  const resizedPngBuffer = await (0, sharp_1.default)(iconPath)
152
152
  .resize(256, 256, { fit: 'cover' })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eziapp-org/builder",
3
- "version": "0.0.0-beta.4",
3
+ "version": "0.0.0-beta.5",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",