-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(stage-tamagotchi): system tray #32
Conversation
✅ Deploy Preview for drizzle-orm-duckdb-wasm ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for airi-vtuber ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
}) | ||
|
||
onMounted(() => { | ||
// Is this a good idea? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to export this file for @proj-airi/stage-web
to include in types
option in tsconfig.json
.
packages/stage-ui/src/electron.d.ts
Outdated
electron: ElectronAPI | ||
api: unknown |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
electron: ElectronAPI | |
api: unknown | |
electron?: ElectronAPI | |
api?: unknown |
Optional since it may not exist.
|
||
onMounted(() => { | ||
// Is this a good idea? | ||
if (window.electron) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (window.electron) { | |
if (window.electron != null) { |
@@ -178,6 +179,26 @@ onStreamEnd(async () => { | |||
|
|||
onUnmounted(() => { | |||
lipSyncStarted.value = false | |||
if (window.electron) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (window.electron) { | |
if (window.electron != null) { |
No description provided.