mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-12-12 06:14:09 +01:00
work on __resource -> fxmanifest and RDR compatibility
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
--server_only 'yes'
|
||||
server_script 'yarn_builder.js'
|
||||
4
resources/[system]/[builders]/yarn/fxmanifest.lua
Normal file
4
resources/[system]/[builders]/yarn/fxmanifest.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
fx_version 'adamant'
|
||||
game 'common'
|
||||
|
||||
server_script 'yarn_builder.js'
|
||||
@@ -41,7 +41,7 @@ const yarnBuildTask = {
|
||||
currentBuildingModule = resourceName;
|
||||
const process = child_process.fork(
|
||||
require.resolve('./yarn_cli.js'),
|
||||
['install'],
|
||||
['install', '--ignore-scripts'],
|
||||
{
|
||||
cwd: path.resolve(GetResourcePath(resourceName))
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user