vault backup: 2025-07-21 19:17:56

This commit is contained in:
2025-07-21 19:17:56 +01:00
parent 28102efb79
commit 69822126b0
3 changed files with 33 additions and 7 deletions

View File

@@ -13,7 +13,7 @@
"state": {
"type": "markdown",
"state": {
"file": "Proton/Mount & Blade 2 Bannerlord.md",
"file": "Proton/Mount & Blade 2 Bannerlord/Mount & Blade 2 Bannerlord.md",
"mode": "source",
"source": false
},
@@ -94,7 +94,7 @@
"state": {
"type": "backlink",
"state": {
"file": "Proton/Mount & Blade 2 Bannerlord.md",
"file": "Proton/Mount & Blade 2 Bannerlord/Mount & Blade 2 Bannerlord.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@@ -113,7 +113,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "Proton/Mount & Blade 2 Bannerlord.md",
"file": "Proton/Mount & Blade 2 Bannerlord/Mount & Blade 2 Bannerlord.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
},
@@ -142,7 +142,7 @@
"state": {
"type": "outline",
"state": {
"file": "Proton/Mount & Blade 2 Bannerlord.md",
"file": "Proton/Mount & Blade 2 Bannerlord/Mount & Blade 2 Bannerlord.md",
"followCursor": false,
"showSearch": false,
"searchQuery": ""
@@ -180,10 +180,12 @@
"omnisearch:Omnisearch": false
}
},
"active": "384b6e2cd8382bcb",
"active": "de1688dc8ab3f207",
"lastOpenFiles": [
"Proton/Mount & Blade 2 Bannerlord/symlink-bannerlord.sh",
"Proton/Mount & Blade 2 Bannerlord",
"README.md",
"Proton/Mount & Blade 2 Bannerlord.md",
"Proton/Mount & Blade 2 Bannerlord/Mount & Blade 2 Bannerlord.md",
"Proton",
"Welcome.md"
]

View File

@@ -11,7 +11,7 @@
4. Rename `Mono.Cecil.dll` to `Mono.Cecil.dll.bak`
5. Symlink all files from $STEAM_COMPAT_INSTALL_PATH/Modules/Bannerlord.Harmony/bin/Win64_Shipping_Client/ to the current directory. You can use this script:
5. Download `symlink-bannerlord.sh`, place in the same directory. This will symlink all files from `$STEAM_COMPAT_INSTALL_PATH/Modules/Bannerlord.Harmony/bin/Win64_Shipping_Client/`(Files from the Harmony mod) to the current directory.
```
#!/bin/bash

View File

@@ -0,0 +1,24 @@
#!/bin/bash
SOURCE_DIR=../../Modules/Bannerlord.Harmony/bin/Win64_Shipping_Client
LOG_FILE=symlinks-created.txt
> "$LOG_FILE" # Empty the log file
for file in "$SOURCE_DIR"/*; do
base=$(basename "$file")
if [ ! -e "$base" ]; then
ln -s "$file" .
echo "$base" >> "$LOG_FILE"
echo "Linked: $base"
else
if [ -L "$base" ]; then
echo "$base" >> "$LOG_FILE"
echo "Skipped (symlink already exists): $base"
else
echo "SHOULD NOT HAPPEN"
fi
fi
done
echo "Symlinking complete. Reversible via: xargs rm < $LOG_FILE"