mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-28 08:47:13 +09:00
Implement symlinking of shared mods
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.
This commit is contained in:
1 parent
2ff52a1cf2
commit
6a870be233
5 files changed
+135
-26
No files matched your search
@@ -13,6 +13,9 @@ Version 2.0.0
|
||||
- Added plugins directory to the views path. This makes it possible for
|
||||
plugins to render their own ejs views or pages in their own folders by
|
||||
using paths of the format "pluginName/path/to/page-or-view".
|
||||
- Replaced the per instance copy of the shared Factorio mods with
|
||||
symlinks. On Windows hard links are used instead due to the
|
||||
privileges requirements of symlinks.
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
@@ -25,6 +28,9 @@ Version 2.0.0
|
||||
- Removed config management from the command line and the server manager.
|
||||
- Moved ejs templates into views folder and changed their extension to
|
||||
.ejs. Breaks playerManager.
|
||||
- Mods are no longer copied from the per instance instanceMods directory.
|
||||
If you need per instance mods you can now place them directly in the mods
|
||||
directory inside the instance folder.
|
||||
|
||||
|
||||
Version 1.2.2
|
||||
|
||||
Reference in new issue
Block a user