fix: macOS docker badge range
This commit is contained in:
parent
d134be201d
commit
e829b05dec
|
|
@ -171,7 +171,11 @@ export const router = {
|
|||
}),
|
||||
),
|
||||
setMacOSBadge: t.procedure.input<number>().action(async ({ input }) => {
|
||||
app.setBadgeCount(input)
|
||||
if (app.dock) {
|
||||
app.dock.setBadge(input.toString())
|
||||
} else {
|
||||
app.setBadgeCount(input)
|
||||
}
|
||||
}),
|
||||
|
||||
saveImage: t.procedure.input<string>().action(async ({ input }) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue