chore: disable flatpak build because this was for testing anyways

This commit is contained in:
izzy
2025-10-08 17:36:36 +01:00
parent b1c702a033
commit ec7adaafe3
+57 -55
View File
@@ -51,64 +51,66 @@ const config: ForgeConfig = {
copyright: "Copyright (C) 2025 Revolt Platforms LTD", copyright: "Copyright (C) 2025 Revolt Platforms LTD",
}), }),
new MakerZIP({}), new MakerZIP({}),
new MakerFlatpak({ ...[
options: { new MakerFlatpak({
id: "chat.stoat.stoat-desktop", options: {
description: STRINGS.description, id: "chat.stoat.stoat-desktop",
productName: STRINGS.name, description: STRINGS.description,
productDescription: STRINGS.description, productName: STRINGS.name,
runtimeVersion: "21.08", productDescription: STRINGS.description,
icon: `${ASSET_DIR}/icon.png`, runtimeVersion: "21.08",
categories: ["Network"], icon: `${ASSET_DIR}/icon.png`,
modules: [ categories: ["Network"],
// use the latest zypak -- Electron sandboxing for Flatpak modules: [
{ // use the latest zypak -- Electron sandboxing for Flatpak
name: "zypak", {
sources: [ name: "zypak",
{ sources: [
type: "git", {
url: "https://github.com/refi64/zypak", type: "git",
tag: "v2025.09", url: "https://github.com/refi64/zypak",
}, tag: "v2025.09",
], },
}, ],
], },
finishArgs: [ ],
// default arguments found by running finishArgs: [
// DEBUG=electron-installer-flatpak* pnpm make // default arguments found by running
"--socket=x11", // DEBUG=electron-installer-flatpak* pnpm make
"--share=ipc", "--socket=x11",
"--device=dri", "--share=ipc",
"--socket=pulseaudio", "--device=dri",
"--filesystem=home", "--socket=pulseaudio",
"--env=TMPDIR=/var/tmp", "--filesystem=home",
"--share=network", "--env=TMPDIR=/var/tmp",
"--talk-name=org.freedesktop.Notifications", "--share=network",
// add Unity talk name for badges "--talk-name=org.freedesktop.Notifications",
"--talk-name=com.canonical.Unity", // add Unity talk name for badges
], "--talk-name=com.canonical.Unity",
// files: [ ],
// // is this necessary? // files: [
// // https://stackoverflow.com/q/79745700 // // is this necessary?
// ...[16, 32, 64, 128, 256, 512].map( // // https://stackoverflow.com/q/79745700
// (size) => // ...[16, 32, 64, 128, 256, 512].map(
// [ // (size) =>
// `assets/desktop/hicolor/${size}x${size}.png`, // [
// `/app/share/icons/hicolor/${size}x${size}/apps/chat.stoat.stoat-desktop.png`, // `assets/desktop/hicolor/${size}x${size}.png`,
// ] as [string, string], // `/app/share/icons/hicolor/${size}x${size}/apps/chat.stoat.stoat-desktop.png`,
// ), // ] as [string, string],
// [ // ),
// `assets/desktop/icon.svg`, // [
// `/app/share/icons/hicolor/scalable/apps/chat.stoat.stoat-desktop.svg`, // `assets/desktop/icon.svg`,
// ] as [string, string], // `/app/share/icons/hicolor/scalable/apps/chat.stoat.stoat-desktop.svg`,
// ], // ] as [string, string],
files: [], // ],
} as MakerFlatpakOptionsConfig, files: [],
/* as Omit< } as MakerFlatpakOptionsConfig,
/* as Omit<
MakerFlatpakOptionsConfig, MakerFlatpakOptionsConfig,
"files" "files"
> */ > */
}), }),
].slice(0, 0), // disable Flatpak build
new MakerDeb({ new MakerDeb({
options: { options: {
productName: STRINGS.name, productName: STRINGS.name,