Skip to content

Commit 0d6a1eb

Browse files
committed
Enhance user experience
1 parent db0d452 commit 0d6a1eb

File tree

10 files changed

+8589
-6816
lines changed

10 files changed

+8589
-6816
lines changed

.gitattributes

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
* text=auto eol=lf
2+
3+
*.js text eol=lf
4+
*.jsx text eol=lf
5+
*.ts text eol=lf
6+
*.tsx text eol=lf
7+
*.css text eol=lf
8+
*.html text eol=lf
9+
*.md text eol=lf
10+
*.json text eol=lf
11+
*.yml text eol=lf
12+
*.yaml text eol=lf
13+
*.go text eol=lf
14+
15+
*.png binary
16+
*.jpg binary
17+
*.jpeg binary
18+
*.gif binary
19+
*.ico binary
20+
*.syso binary
21+
*.psd binary

gui/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@
2323
npm-debug.log*
2424
yarn-debug.log*
2525
yarn-error.log*
26+
27+
public/favicon.ico
28+
src/components/business/Brand/icon.png

gui/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "port-forwarder",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"private": true,
55
"dependencies": {
66
"axios": "^1.7.2",
@@ -14,11 +14,14 @@
1414
"scripts": {
1515
"start:app": "node ./build.js app",
1616
"start:gui": "node ./build.js gui",
17-
"build": "node ./build.js build-all",
17+
"prestart:gui": "npm run sync-icons",
18+
"build": "node ./build.js build-all",
1819
"build:app": "node ./build.js build-app",
1920
"build:gui": "node ./build.js build-gui",
21+
"prebuild:gui": "npm run sync-icons",
2022
"lint": "eslint ./build.js ./src",
21-
"lint:fix": "eslint ./build.js ./src --fix"
23+
"lint:fix": "eslint ./build.js ./src --fix",
24+
"sync-icons": "node -e \"const fs = require('fs'); fs.copyFileSync('../ico/icon.png', './src/components/business/Brand/icon.png'); fs.copyFileSync('../ico/icon.ico', './public/favicon.ico');\""
2225
},
2326
"eslintConfig": {
2427
"extends": [

0 commit comments

Comments
 (0)