Use new icon path
This commit is contained in:
parent
a9f67aa099
commit
97662d2e15
1 changed files with 4 additions and 3 deletions
|
|
@ -19,13 +19,14 @@ const STRINGS = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const ASSET_DIR = "assets/desktop";
|
const ASSET_DIR = "assets/desktop";
|
||||||
|
const AVIA_ASSET_DIR = "avia_assets";
|
||||||
|
|
||||||
const makers: ForgeConfig["makers"] = [
|
const makers: ForgeConfig["makers"] = [
|
||||||
new MakerSquirrel({
|
new MakerSquirrel({
|
||||||
name: STRINGS.name,
|
name: STRINGS.name,
|
||||||
authors: STRINGS.author,
|
authors: STRINGS.author,
|
||||||
iconUrl: `https://stoat.chat/app/assets/icon-DUSNE-Pb.ico`,
|
iconUrl: `https://stoat.chat/app/assets/icon-DUSNE-Pb.ico`,
|
||||||
setupIcon: `${ASSET_DIR}/icon.ico`,
|
setupIcon: `${AVIA_ASSET_DIR}/icon.ico`,
|
||||||
description: STRINGS.description,
|
description: STRINGS.description,
|
||||||
exe: `${STRINGS.execName}.exe`,
|
exe: `${STRINGS.execName}.exe`,
|
||||||
setupExe: `${STRINGS.execName}-setup.exe`,
|
setupExe: `${STRINGS.execName}-setup.exe`,
|
||||||
|
|
@ -88,7 +89,7 @@ if (!process.env.PLATFORM) {
|
||||||
productName: STRINGS.name,
|
productName: STRINGS.name,
|
||||||
productDescription: STRINGS.description,
|
productDescription: STRINGS.description,
|
||||||
categories: ["Network"],
|
categories: ["Network"],
|
||||||
icon: `${ASSET_DIR}/icon.png`,
|
icon: `${AVIA_ASSET_DIR}/icon.png`,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
@ -130,7 +131,7 @@ const config: ForgeConfig = {
|
||||||
asar: true,
|
asar: true,
|
||||||
name: STRINGS.name,
|
name: STRINGS.name,
|
||||||
executableName: STRINGS.execName,
|
executableName: STRINGS.execName,
|
||||||
icon: `${ASSET_DIR}/icon`,
|
icon: `${AVIA_ASSET_DIR}/icon`,
|
||||||
},
|
},
|
||||||
rebuildConfig: {},
|
rebuildConfig: {},
|
||||||
makers,
|
makers,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue