1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-25 11:43:17 +01:00

try to fix build

This commit is contained in:
Mikael Finstad 2020-03-31 15:43:20 +08:00
parent 2eae21d61e
commit 3c5429f580
2 changed files with 1 additions and 5 deletions

View File

@ -1,4 +0,0 @@
npx svg2png src/icon.svg --output=build-resources/appx/StoreLogo.png --width=50 --height=50
npx svg2png src/icon.svg --output=build-resources/appx/Square150x150Logo.png --width=300 --height=300
npx svg2png src/icon.svg --output=build-resources/appx/Square44x44Logo.png --width=44 --height=44
npx svg2png src/icon.svg --output=build-resources/appx/Wide310x150Logo.png --width=620 --height=300

View File

@ -8,7 +8,7 @@
"homepage": "./", "homepage": "./",
"scripts": { "scripts": {
"start": "concurrently -k \"BROWSER=none PORT=3001 react-scripts start\" \"wait-on http://localhost:3001 && electron .\"", "start": "concurrently -k \"BROWSER=none PORT=3001 react-scripts start\" \"wait-on http://localhost:3001 && electron .\"",
"icon-gen": "mkdir -p build-resources/appx && ./generate-microsoft-icons.sh && mkdir -p icon-build && svg2png src/icon.svg -o ./icon-build/app-512.png -w 512 -h 512 && mkdir -p icns-build && icon-gen -i src/icon.svg -o ./icns-build --icns --icns-sizes 512,1024", "icon-gen": "mkdir -p icon-build && svg2png src/icon.svg -o ./icon-build/app-512.png -w 512 -h 512 && mkdir -p icns-build && icon-gen -i src/icon.svg -o ./icns-build --icns --icns-sizes 512,1024 && mkdir -p build-resources/appx && npx svg2png src/icon.svg --output=build-resources/appx/StoreLogo.png --width=50 --height=50 && npx svg2png src/icon.svg --output=build-resources/appx/Square150x150Logo.png --width=300 --height=300 && npx svg2png src/icon.svg --output=build-resources/appx/Square44x44Logo.png --width=44 --height=44 && npx svg2png src/icon.svg --output=build-resources/appx/Wide310x150Logo.png --width=620 --height=300",
"build": "yarn icon-gen && react-scripts build", "build": "yarn icon-gen && react-scripts build",
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject", "eject": "react-scripts eject",