mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 07:30:41 +09:00
Add symlinkMods function which takes an instance and a shared mods folder as input and updates or creates the instance mods folder from it by symlinking the mods in the shared mods folder to the instance mods folder. On Windows this uses hard links as the symlinks require elevated privileges.
69 lines
1.3 KiB
Plaintext
69 lines
1.3 KiB
Plaintext
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
|
|
# Runtime data
|
|
pids
|
|
*.pid
|
|
*.seed
|
|
|
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
lib-cov
|
|
|
|
# Coverage directories used by tools like nyc and codecov
|
|
coverage
|
|
.nyc_output
|
|
|
|
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
|
.grunt
|
|
|
|
# node-waf configuration
|
|
.lock-wscript
|
|
|
|
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
|
build/Release
|
|
dist/
|
|
|
|
node_modules/*
|
|
|
|
Factorio*
|
|
/factorio
|
|
/instances
|
|
/sharedMods
|
|
/database
|
|
database/items.db
|
|
config.json
|
|
package-lock.json
|
|
secret-api-token.txt
|
|
mod_cache.json
|
|
static/pictures/spritesheet.js
|
|
static/pictures/spritesheet.png
|
|
static/external
|
|
saves
|
|
/test/temp/
|
|
|
|
# weird pattern to ignore sharedPlugins except not ignore some core modules
|
|
!sharedPlugins/
|
|
sharedPlugins/*
|
|
!sharedPlugins/inventoryImports/
|
|
!sharedPlugins/UPSdisplay/
|
|
!sharedPlugins/remoteCommands/
|
|
!sharedPlugins/researchSync/
|
|
!sharedPlugins/globalChat/
|
|
!sharedPlugins/clusterioMod/
|
|
!sharedPlugins/serverManager/
|
|
sharedPlugins/serverManager/database/*
|
|
sharedPlugins/serverManager/config.json
|
|
sharedPlugins/serverManager/secret-api-token.txt
|
|
!sharedPlugins/scenario_loader/
|
|
sharedPlugins/scenario_loader/scenarios
|
|
!sharedPlugins/statisticsExporter/
|
|
|
|
# File used for marking plugins as disabled
|
|
sharedPlugins/*/DISABLED
|
|
|
|
# IDE
|
|
.idea/
|
|
.vs/
|