mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-16 05:47:09 +08:00
build(electron): deb distro support (#8457)
Add simple .deb support. Note: 1. auto updater not tested 2. no wayland support 3. may requires --no-sandbox to run related to https://github.com/toeverything/AFFiNE/issues/3272 
This commit is contained in:
@@ -88,6 +88,18 @@ const makers = [
|
||||
],
|
||||
},
|
||||
},
|
||||
!process.env.SKIP_BUNDLE && {
|
||||
name: '@electron-forge/maker-deb',
|
||||
config: {
|
||||
bin: productName,
|
||||
options: {
|
||||
name: productName,
|
||||
productName,
|
||||
icon: iconX64PngPath,
|
||||
mimeType: ['x-scheme-handler/affine'],
|
||||
},
|
||||
},
|
||||
},
|
||||
].filter(Boolean);
|
||||
|
||||
/**
|
||||
@@ -119,6 +131,7 @@ export default {
|
||||
schemes: [productName.toLowerCase()],
|
||||
},
|
||||
],
|
||||
executableName: productName,
|
||||
asar: true,
|
||||
},
|
||||
makers,
|
||||
|
||||
Reference in New Issue
Block a user