From 9ba529977d7065d35dd74c5f670fe50a3f47ffca Mon Sep 17 00:00:00 2001
From: ZareMate <0.zaremate@gmail.com>
Date: Fri, 24 Jan 2025 23:04:48 +0100
Subject: [PATCH] Update file links in readme.md to include absolute paths and
adjust generation timestamp
---
auto list.py | 3 ++-
readme.md | 26 +++++++++++++-------------
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/auto list.py b/auto list.py
index a4e69e5..343a557 100644
--- a/auto list.py
+++ b/auto list.py
@@ -3,6 +3,7 @@ from datetime import datetime
from collections import defaultdict
import re
+absolute_path = 'https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/'
def process_build_version(name):
"""Put Build/v and everything after them in brackets and make game name bold"""
@@ -84,7 +85,7 @@ def get_file_listing():
total_files += len(files)
f.write(f'### {sub_cat} ({len(files)})\n')
for filename, rel_path in sorted(files):
- f.write(f'- [{filename}]({rel_path})\n')
+ f.write(f'- [{filename}]({absolute_path}{rel_path})\n')
f.write('\n')
f.write(f'
\n\n## Info\n- **Generated: {datetime.now().strftime("%Y-%m-%d %H:%M")}**\n')
diff --git a/readme.md b/readme.md
index b885be1..692834e 100644
--- a/readme.md
+++ b/readme.md
@@ -1,23 +1,23 @@
# File Listing
## Games (12)
### PC (5)
-- [**Dale and Dawson Stationery Supplies** [v1.0.13]](Games/PC/Dale.and.Dawson.Stationery.Supplies.v1.0.13-OFME.torrent)
-- [**Green Hell** [v2.7.2]](Games/PC/Green.Hell.v2.7.2-OFME.torrent)
-- [**Nuclear Nightmare** [Build.28102024]](Games/PC/Nuclear.Nightmare.Build.28102024-OFME.torrent)
-- [**Sons Of The Forest** [Build.20062024]](Games/PC/Sons.Of.The.Forest.Build.20062024-OFME.torrent)
-- [**Stationeers** [v0.2.4677.21598]](Games/PC/Stationeers.v0.2.4677.21598-OFME.torrent)
+- [**Dale and Dawson Stationery Supplies** [v1.0.13]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PC/Dale.and.Dawson.Stationery.Supplies.v1.0.13-OFME.torrent)
+- [**Green Hell** [v2.7.2]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PC/Green.Hell.v2.7.2-OFME.torrent)
+- [**Nuclear Nightmare** [Build.28102024]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PC/Nuclear.Nightmare.Build.28102024-OFME.torrent)
+- [**Sons Of The Forest** [Build.20062024]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PC/Sons.Of.The.Forest.Build.20062024-OFME.torrent)
+- [**Stationeers** [v0.2.4677.21598]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PC/Stationeers.v0.2.4677.21598-OFME.torrent)
### PCVR (7)
-- [**Among Us VR** [Build.14102022]](Games/PCVR/Among.Us.VR.Build.14102022-OFME.torrent)
-- [**BONEWORKS** [v1.6]](Games/PCVR/BONEWORKS.v1.6.torrent)
-- [**Bullet Roulette VR** [Build.10092020]](Games/PCVR/Bullet.Roulette.VR.Build.10092020-OFME.torrent)
-- [**Crossfire Sierra Squad** [v53476]](Games/PCVR/Crossfire.Sierra.Squad.v53476-OFME.torrent)
-- [**Deisim**](Games/PCVR/Deisim.torrent)
-- [**Real VR Fishing** [v2.560]](Games/PCVR/Real.VR.Fishing.v2.560-OFME.torrent)
-- [**VTOL VR** [Build.29122023]](Games/PCVR/VTOL.VR.Build.29122023-OFME.torrent)
+- [**Among Us VR** [Build.14102022]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PCVR/Among.Us.VR.Build.14102022-OFME.torrent)
+- [**BONEWORKS** [v1.6]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PCVR/BONEWORKS.v1.6.torrent)
+- [**Bullet Roulette VR** [Build.10092020]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PCVR/Bullet.Roulette.VR.Build.10092020-OFME.torrent)
+- [**Crossfire Sierra Squad** [v53476]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PCVR/Crossfire.Sierra.Squad.v53476-OFME.torrent)
+- [**Deisim**](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PCVR/Deisim.torrent)
+- [**Real VR Fishing** [v2.560]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PCVR/Real.VR.Fishing.v2.560-OFME.torrent)
+- [**VTOL VR** [Build.29122023]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PCVR/VTOL.VR.Build.29122023-OFME.torrent)
## Info
-- **Generated: 2025-01-24 23:00**
+- **Generated: 2025-01-24 23:04**
- **Total Files: 12**
\ No newline at end of file