mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-28 02:09:52 +01:00
fixing nodebb startup on windows
This commit is contained in:
@@ -41,7 +41,7 @@ module.exports = function(Meta) {
|
||||
|
||||
// Link paths
|
||||
async.each(filePaths, function(filePath, next) {
|
||||
fs[process.platform !== 'win32' ? 'symlink' : 'link'](filePath, path.join(soundsPath, path.basename(filePath)), 'file', next);
|
||||
fs.symlink(filePath, path.join(soundsPath, path.basename(filePath)), 'file', next);
|
||||
}, function(err) {
|
||||
if (!err) {
|
||||
winston.verbose('[sounds] Sounds OK');
|
||||
|
||||
Reference in New Issue
Block a user