fix:mac pack error

This commit is contained in:
scarqin 2022-01-30 01:29:20 +08:00
parent 021afb94c0
commit 5f0eee50db
8 changed files with 12 additions and 7 deletions

View File

@ -26,7 +26,7 @@
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/polyfills.ts",
"assets": [
"src/favicon.ico",
"src/icon.ico",
"src/assets",
{
"glob": "**/*",

View File

@ -3,6 +3,7 @@
"directories": {
"output": "release/"
},
"publish": ["github"],
"files": [
"**/*",
"!**/*.ts",

View File

@ -1,11 +1,15 @@
{
"name": "eoapi",
"version": "0.0.1",
"description": "Angular 13 with Electron 16 (Typescript + SASS + Hot Reload)",
"homepage": "https://github.com/eolink/eoapi",
"description": "API ToolKit",
"homepage": "https://github.com/eolinker/eoapi",
"repository": {
"type": "git",
"url": "https://github.com/eolinker/eoapi"
},
"author": {
"name": "Maxime GRIS",
"email": "maxime.gris@gmail.com"
"name": "eoapi",
"email": "dev@eolink.com"
},
"keywords": [
"angular",
@ -35,7 +39,7 @@
"electron:serve-tsc": "tsc -p tsconfig.serve.json",
"electron:serve": "wait-on tcp:4200 && npm run electron:serve-tsc && electron . --serve",
"electron:local": "npm run build:prod && electron .",
"electron:build": "npm run build:prod && electron-builder build --publish=never",
"electron:build": "npm run build:prod && electron-builder build",
"test": "ng test --watch=false",
"test:watch": "ng test",
"unit": "jest",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

BIN
src/assets/icons/icon.icns Normal file

Binary file not shown.

BIN
src/assets/icons/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>EOAPI</title>
<base href="/" />
<base href="./" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="assets/icons/favicon.ico" />
</head>