fix(electron): invalid isLinux function (#6065)

This commit is contained in:
JimmFly authored and GitHub committed 2024-03-12 10:17:53 +08:00
1 parent 716f679914
commit 33501d5fdc
1 file changed
+1 -1
@@ -13,7 +13,7 @@ export const isWindows = () => {
}; };
export const isLinux = () => { export const isLinux = () => {
return process.platform === 'win32'; return process.platform === 'linux';
}; };
interface MessagePortLike { interface MessagePortLike {