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

This commit is contained in:
JimmFly
2024-03-12 10:17:53 +08:00
committed by GitHub
parent 716f679914
commit 33501d5fdc

View File

@@ -13,7 +13,7 @@ export const isWindows = () => {
};
export const isLinux = () => {
return process.platform === 'win32';
return process.platform === 'linux';
};
interface MessagePortLike {