Add browser support with Socket.io transport, authentication, performance-optimized IPC, and CI/CD (#925)
This commit is contained in:
12
app/src/mocks/electron.ts
Normal file
12
app/src/mocks/electron.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
// Mock electron module for browser environment
|
||||
export const shell = {
|
||||
openExternal: (url: string) => {
|
||||
if (typeof window !== 'undefined') {
|
||||
window.open(url, '_blank')
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
export default {
|
||||
shell,
|
||||
}
|
||||
Reference in New Issue
Block a user