feat: Implemented AppImage building
This commit is contained in:
parent
d8f471dadc
commit
6a288f765e
38 changed files with 1036 additions and 147 deletions
|
|
@ -42,7 +42,7 @@ const shortcutChangeDispatcher = setInterval(() =>
|
|||
window.dispatchEvent(new Event('shortcutsChanged'));
|
||||
isDirty = false;
|
||||
}, 100);
|
||||
import.meta.hot.dispose(() => clearInterval(shortcutChangeDispatcher));
|
||||
import.meta.hot?.dispose(() => clearInterval(shortcutChangeDispatcher));
|
||||
|
||||
function markDirtyThrottled ()
|
||||
{
|
||||
|
|
@ -50,7 +50,7 @@ function markDirtyThrottled ()
|
|||
}
|
||||
|
||||
window.addEventListener('focuschanged', markDirtyThrottled);
|
||||
import.meta.hot.dispose(() => window.removeEventListener('focuschanged', markDirtyThrottled));
|
||||
import.meta.hot?.dispose(() => window.removeEventListener('focuschanged', markDirtyThrottled));
|
||||
|
||||
export function useShortcutContext ()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue