mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix: ci
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
use super::{history::StoreHistory, store::StoreRef, *};
|
||||
use crate::sync::{Arc, RwLock};
|
||||
#[cfg(feature = "events")]
|
||||
use publisher::DocPublisher;
|
||||
|
||||
use super::{history::StoreHistory, store::StoreRef, *};
|
||||
use crate::sync::{Arc, RwLock};
|
||||
|
||||
#[cfg(feature = "debug")]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct DocStoreStatus {
|
||||
|
||||
@@ -111,56 +111,57 @@ const makers = [
|
||||
},
|
||||
},
|
||||
},
|
||||
!process.env.SKIP_BUNDLE && {
|
||||
name: '@electron-forge/maker-flatpak',
|
||||
platforms: ['linux'],
|
||||
/** @type {import('@electron-forge/maker-flatpak').MakerFlatpakConfig} */
|
||||
config: {
|
||||
options: {
|
||||
mimeType: linuxMimeTypes,
|
||||
productName,
|
||||
bin: productName,
|
||||
id: fromBuildIdentifier(appIdMap),
|
||||
icon: iconPngPath, // not working yet
|
||||
branch: buildType,
|
||||
files: [
|
||||
[
|
||||
'./resources/affine.metainfo.xml',
|
||||
'/usr/share/metainfo/affine.metainfo.xml',
|
||||
],
|
||||
],
|
||||
runtimeVersion: '25.08',
|
||||
modules: [
|
||||
{
|
||||
name: 'zypak',
|
||||
sources: [
|
||||
{
|
||||
type: 'git',
|
||||
url: 'https://github.com/refi64/zypak',
|
||||
tag: 'v2025.09',
|
||||
},
|
||||
!process.env.SKIP_BUNDLE &&
|
||||
false && {
|
||||
name: '@electron-forge/maker-flatpak',
|
||||
platforms: ['linux'],
|
||||
/** @type {import('@electron-forge/maker-flatpak').MakerFlatpakConfig} */
|
||||
config: {
|
||||
options: {
|
||||
mimeType: linuxMimeTypes,
|
||||
productName,
|
||||
bin: productName,
|
||||
id: fromBuildIdentifier(appIdMap),
|
||||
icon: iconPngPath, // not working yet
|
||||
branch: buildType,
|
||||
files: [
|
||||
[
|
||||
'./resources/affine.metainfo.xml',
|
||||
'/usr/share/metainfo/affine.metainfo.xml',
|
||||
],
|
||||
},
|
||||
],
|
||||
finishArgs: [
|
||||
// Wayland/X11 Rendering
|
||||
'--socket=wayland',
|
||||
'--socket=x11',
|
||||
'--share=ipc',
|
||||
// Open GL
|
||||
'--device=dri',
|
||||
// Audio output
|
||||
'--socket=pulseaudio',
|
||||
// Read/write home directory access
|
||||
'--filesystem=home',
|
||||
// Allow communication with network
|
||||
'--share=network',
|
||||
// System notifications with libnotify
|
||||
'--talk-name=org.freedesktop.Notifications',
|
||||
],
|
||||
],
|
||||
runtimeVersion: '25.08',
|
||||
modules: [
|
||||
{
|
||||
name: 'zypak',
|
||||
sources: [
|
||||
{
|
||||
type: 'git',
|
||||
url: 'https://github.com/refi64/zypak',
|
||||
tag: 'v2025.09',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
finishArgs: [
|
||||
// Wayland/X11 Rendering
|
||||
'--socket=wayland',
|
||||
'--socket=x11',
|
||||
'--share=ipc',
|
||||
// Open GL
|
||||
'--device=dri',
|
||||
// Audio output
|
||||
'--socket=pulseaudio',
|
||||
// Read/write home directory access
|
||||
'--filesystem=home',
|
||||
// Allow communication with network
|
||||
'--share=network',
|
||||
// System notifications with libnotify
|
||||
'--talk-name=org.freedesktop.Notifications',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
].filter(Boolean);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user