A png, of course
This commit is contained in:
parent
d3b748b873
commit
50b8638408
1 changed files with 14 additions and 15 deletions
|
@ -1,6 +1,5 @@
|
|||
// We HAVE to mark this while importing
|
||||
import {Utils} from "../Utils";
|
||||
|
||||
Utils.runningFromConsole = true;
|
||||
|
||||
import LayoutConfig from "../Customizations/JSON/LayoutConfig";
|
||||
|
@ -11,7 +10,6 @@ import {Translation} from "../UI/i18n/Translation";
|
|||
import Constants from "../Models/Constants";
|
||||
import * as all_known_layouts from "../assets/generated/known_layers_and_themes.json"
|
||||
import {LayoutConfigJson} from "../Customizations/JSON/LayoutConfigJson";
|
||||
|
||||
const sharp = require('sharp');
|
||||
|
||||
|
||||
|
@ -90,9 +88,10 @@ async function createManifest(layout: LayoutConfig) {
|
|||
icons.push({
|
||||
src: icon,
|
||||
sizes: "513x513",
|
||||
type: "image/svg"
|
||||
type: "image/png"
|
||||
})
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
console.log(icon)
|
||||
throw "Icon is not an svg for " + layout.id
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue