try to fix build

pull/289/head
Mikael Finstad 2020-03-31 15:43:20 +08:00
rodzic 2eae21d61e
commit 3c5429f580
2 zmienionych plików z 1 dodań i 5 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -8,7 +8,7 @@
"homepage": "./",
"scripts": {
"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",
"test": "react-scripts test",
"eject": "react-scripts eject",