mirror of
https://git.fuwafuwa.moe/SMLoadrDev/SMLoadr
synced 2024-11-05 13:44:33 +01:00
Fix memory calculation for android
This commit is contained in:
parent
f0c4811f16
commit
42f8ea1845
@ -5,9 +5,10 @@ const DarwinPlatform = require('./platforms/darwin');
|
||||
|
||||
function getMethods() {
|
||||
const classes = {
|
||||
'win32': WindowsPlatform,
|
||||
'linux': LinuxPlatform,
|
||||
'darwin': DarwinPlatform
|
||||
'win32': WindowsPlatform,
|
||||
'linux': LinuxPlatform,
|
||||
'android': LinuxPlatform,
|
||||
'darwin': DarwinPlatform
|
||||
};
|
||||
|
||||
return classes[process.platform];
|
||||
|
Loading…
Reference in New Issue
Block a user