Add cloundsync module for Darwin
This commit is contained in:
parent
70a8472c34
commit
50df388e1a
Binary file not shown.
|
@ -2,6 +2,8 @@ const EventEmitter = require('events');
|
|||
let addon = './discord_cloudsync.node'
|
||||
if(process.platform === "linux"){
|
||||
addon = './discord_cloudsync_linux.node'
|
||||
}else if(process.platform === "darwin") {
|
||||
addon = './discord_cloudsync_darwin.node'
|
||||
}
|
||||
const {CloudSync: CloudSyncNative} = require(addon);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
const VoiceEngine = require((process.platform === "linux") ? './discord_voice_linux.node' : (process.platform === "darwin" ? 'discord_voice_darwin.node' : './discord_voice.node');
|
||||
const VoiceEngine = require((process.platform === "linux") ? './discord_voice_linux.node' : (process.platform === "darwin") ? 'discord_voice_darwin.node' : './discord_voice.node');
|
||||
const ChildProcess = require('child_process');
|
||||
const path = require('path');
|
||||
const yargs = require('yargs');
|
||||
|
|
Loading…
Reference in New Issue