feat: Implemented AppImage building
This commit is contained in:
parent
d8f471dadc
commit
6a288f765e
38 changed files with 1036 additions and 147 deletions
|
|
@ -23,6 +23,15 @@ async function cleanup ()
|
|||
|
||||
if (Bun.env.HEADLESS)
|
||||
{
|
||||
// Called by outside force
|
||||
process.on('message', ({ type }) =>
|
||||
{
|
||||
if (type === 'exitapp')
|
||||
{
|
||||
cleanup();
|
||||
}
|
||||
});
|
||||
// Called by user
|
||||
events.on('exitapp', () =>
|
||||
{
|
||||
process.send?.({ type: 'exitapp' });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue