mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
build: add deb and rpm build config
This commit is contained in:
parent
9403236d7e
commit
ae8cc3bcfb
1 changed files with 9 additions and 2 deletions
|
@ -17,6 +17,7 @@ const config: ForgeConfig = {
|
||||||
packagerConfig: {
|
packagerConfig: {
|
||||||
asar: true,
|
asar: true,
|
||||||
icon: "./images/icon.png",
|
icon: "./images/icon.png",
|
||||||
|
executableName: "Hydra",
|
||||||
extraResource: [
|
extraResource: [
|
||||||
"./resources/hydra.db",
|
"./resources/hydra.db",
|
||||||
"./resources/icon_tray.png",
|
"./resources/icon_tray.png",
|
||||||
|
@ -34,11 +35,17 @@ const config: ForgeConfig = {
|
||||||
new MakerSquirrel({
|
new MakerSquirrel({
|
||||||
setupIcon: "./images/icon.ico",
|
setupIcon: "./images/icon.ico",
|
||||||
}),
|
}),
|
||||||
new MakerZIP({}, ["darwin"]),
|
new MakerZIP({}, ["darwin", "linux"]),
|
||||||
new MakerRpm({}),
|
new MakerRpm({
|
||||||
|
options: {
|
||||||
|
mimeType: ["x-scheme-handler/hydralauncher"],
|
||||||
|
bin: './Hydra'
|
||||||
|
},
|
||||||
|
}),
|
||||||
new MakerDeb({
|
new MakerDeb({
|
||||||
options: {
|
options: {
|
||||||
mimeType: ["x-scheme-handler/hydralauncher"],
|
mimeType: ["x-scheme-handler/hydralauncher"],
|
||||||
|
bin: './Hydra'
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue