From 1051324b56f0b4c1cc329a0f3322e15f7f780a52 Mon Sep 17 00:00:00 2001 From: kanym Date: Mon, 26 Oct 2026 16:04:26 +0100 Subject: [PATCH] chore: drop the stale README copies in JotunnModStub The root README is the one players get: package.ps1 and nexus-readme.py read it. JotunnModStub/README.md and Package/README.md had drifted for versions, and edits kept landing in them by mistake. Both are gone. The csproj links the root README, the publish scripts copy it into Package/ at release, and that generated copy is ignored. --- .gitignore | 4 +- JotunnModStub/Package/README.md | 114 -------------------- JotunnModStub/README.md | 157 ---------------------------- JotunnModStub/RacesOfValheim.csproj | 2 +- scripts/publish.ps1 | 3 +- scripts/publish.sh | 3 +- 6 files changed, 8 insertions(+), 275 deletions(-) delete mode 100644 JotunnModStub/Package/README.md delete mode 100644 JotunnModStub/README.md diff --git a/.gitignore b/.gitignore index f7973c2..e1a2a2e 100644 --- a/.gitignore +++ b/.gitignore @@ -27,4 +27,6 @@ Thumbs.db *.lnk # How to setup Configuration Manager -CONFIGURATION-MANAGER-HOWTO.md \ No newline at end of file +CONFIGURATION-MANAGER-HOWTO.md +# Written by scripts/publish.* on a Release build from the root README; never edit or commit it. +/JotunnModStub/Package/README.md diff --git a/JotunnModStub/Package/README.md b/JotunnModStub/Package/README.md deleted file mode 100644 index f4785ed..0000000 --- a/JotunnModStub/Package/README.md +++ /dev/null @@ -1,114 +0,0 @@ -# RacesOfValheim - -A comprehensive Valheim mod that allows you to play as different unique races, each offering distinct mechanics, visual transformations, and a deep progression system tailored to your journey in Valheim. - -## Features - -This mod currently introduces 4 custom races: - -### 1. Skeleton -- **Stamina-less Combat**: Skeletons do not consume stamina and do not use the stamina bar. -- **Undead Diet**: You cannot eat standard food. Instead, you gain maximum health automatically as you defeat Valheim's bosses to compensate for the lack of food buffs. -### 2. Skadi -- **Ice Affinity**: Gain unique resistance and affinity to the cold. - -### 3. Fenrir -- **Beast Form**: Transform into a powerful wolf-like beast. -- **Cultist Form**: Transform into a Cultist to wield fire abilities. -- **Progression**: The beast and cultist forms evolve as you defeat Valheim's bosses, granting new abilities, cooldown reductions, and power scaling. Immune to fall damage in both forms. - -### 4. Aswid -- **The Vampire**: A creature of the night with powerful life-draining abilities. -- **Bat Transformation**: Press `G` to transform into a bat. It flies where you look, like the Skadi's drake: W beats forward, Shift sprints, S beats backwards, and both cost stamina. Out of stamina you can only glide. -- **Vampiric Aura**: Always on (toggle with [I]): drains the life of nearby enemies, with a doubled radius at night. Silent in Bat form until The Queen falls (configurable). -- **Blood Magic Mastery**: You can cast Blood Magic items with infinite Eitr, relying purely on their health costs. -- **Night Prowler**: Your passive speed and jump bonuses double during the night. -- **Undead Vigor**: The Aswid has a large stamina pool that grows with every boss, on top of its food. You consume the lifeforce of fallen foes directly instead of eating standard food. -- **The Curse's Price**: By day under open sky the sun slows you, weakens your regeneration and burns you down to 30% health; a roof, a dungeon, the Swamp, the Mistlands, the night or your Eclipse shield you. You also take 25% more fire damage (until Fader) and 20% more pierce damage. Running water rejects you: swimming costs double stamina, and open water (sea, river or lake) burns you while you swim in it or fly over it, unless a boat carries you. Every weakness can be switched off in the config. - -## Installation (manual) -1. Install BepInExPack Valheim. -2. Install Jotunn. -3. Extract the contents of this mod into your `BepInEx/plugins` folder. - -## Changelog -**v1.0.0** -- Initial release with 4 distinct races. -- Added Aswid life-draining and night transformations. -- Complete progression system tied to Valheim's bosses. - -**v1.1.0** -- **Aswid**: Passive abilities (Speed and Jump) are now properly doubled during the night. -- **Aswid**: New Enslavement Power (Yagluth tier)! Press E on non-tameable, non-boss enemies to enslave them for 60 seconds (15-min cooldown). Enslaved thralls fight alongside you and drop standard loot. -- **Aswid**: Edible thralls are automatically consumed upon death, granting you their lifeforce (Fader tier). -- **Aswid**: Complete overhaul of the Food system. Added Mistlands and Ashlands creatures to the consumption map. Accurately scaled food stats based on creature health. -- **Aswid**: Excluded undead and inorganic creatures (Skeletons, Draugrs, Golems, etc.) from being edible. -- **Aswid**: Added a dynamic green light effect to all forms (Bonemass tier). - -**v1.2.0** -- **Multiplayer Sync**: Fully implemented visual syncing for Aswid forms (Bat, Mist) and Skadi forms (Bear, Wolf, Hatchling, Fader) so other players can see your transformations in multiplayer! -- **Aswid**: Scrapped the Fader (Surtling) visual override; reaching the final progression state now makes the player 10% taller and adds a flat +30 physical damage bonus. -- **Aswid**: Defeating enemies with physical attacks in the final state now automatically consumes them if you have food slots available. -- **General**: Eradicated remaining localizations of the old "Strigoi" name. - -**v1.3.0** -- **Progression Fix**: Fixed a massive bug where boss progression states were misaligned. Players no longer receive Eikthyr or higher-tier powers immediately upon starting a new game (State 1). All unlocks now perfectly match the corresponding boss defeat global keys. -- **Furling**: Fine-tuned the custom 3D Goblin Head trophy alignment and scaling. It now fits perfectly inside the player's skull, revealing only the goblin ears! -- **Documentation**: Added complete level-by-level progression lists to the README for all races. - -**v1.3.2** -- **Aswid**: Refined the Aswid's diet. Excluded undead/inorganic Ashlands creatures (Charred, Morgen). -- **Aswid**: Added a 4th stomach slot exclusively for Aswid prey! -- **Aswid**: Added a keybind (I) to toggle the automatic devour on/off. - -**v1.3.3** -- **Aswid**: Fixed a bug where devouring a mob would fail if the player was still in an attack or movement animation. -- **Aswid**: Added a passive lifesteal scaling mechanic! You now heal for 2% of the physical damage dealt per boss defeated (up to 14% at endgame). This amount is doubled during the night! - -## Race Progressions (Level-by-Level) - -### Aswid Progression -- **Base (No Bosses)**: Physical kills devour edible enemies, feeding you their blood (Vae Victis). Per boss defeated: +1 Armor, +2 physical damage, +1% Speed and Jump, +2% Lifesteal on physical hits, all doubled at night. +25 Maximum Stamina, plus 10 per boss. Blood Magic items cast with infinite Eitr. Vampiric Aura (toggle with I). Claws of the Beast. Weaknesses: sunlight, fire, pierce and running water (see above). -- **Eikthyr**: Bat Form (G Key, night only), flown on stamina. Tame boars (U Key). -- **The Elder**: Bat Form by day as well as night. -- **Bonemass**: No new power; the per-boss stats keep growing. -- **Moder**: Freezing Blood (immune to Freezing and Poison). Superhuman Senses (marks untamed creatures within 100m). Tame wolves. -- **Yagluth**: Eclipse (J Key, forces night around you for 60s, 15-minute cooldown). Dominate (Interact key, a non-boss enemy fights for you for 60s). Tame lox. -- **The Queen**: Mist Form (H Key: immune to physical and poison damage, double aura damage, breaks at sunrise). The Vampiric Aura works in Bat Form. -- **Fader**: Asmund: 10% taller, +30 damage on every attack. The fire weakness ends. Tame asksvin. - -### Skadi Progression -- **Base (No Bosses)**: Immune to Cold, Bonus Frost Damage, 50% Frost Resistance. -- **Eikthyr**: +20% Eitr Regen, Freezing to Cold (mountains act as normal cold), Cold Spell. -- **The Elder**: Drake Form (Cannot attack). -- **Bonemass**: Drake Form (Can attack). -- **Moder**: Moder Form (1 min duration, 10 min cooldown). -- **Yagluth**: Improved Cold Spell. Moder Form (1 min duration, 5 min cooldown). -- **The Queen**: Moder Form (Unlimited duration, no cooldown). -- **Fader**: Skeleton Dragon Form. - -### Skeleton Progression -- **Base (No Bosses)**: +50 Max Health. Undead Diet (Cannot eat mortal food, no stamina bar). -- **Eikthyr**: Poison Skeleton Model, Poison Immunity, 5% Lifesteal, +80 Max Health. -- **The Elder**: 10% Lifesteal, Auto-Stun on First Hit, +110 Max Health. -- **Bonemass**: 15% Lifesteal, Poison Attacks, +140 Max Health. -- **Moder**: Fire Skeleton Model, 20% Lifesteal, Fire Aura, Enhanced Regen, +170 Max Health. -- **Yagluth**: 25% Lifesteal, Auto Resurrect, +200 Max Health. -- **The Queen**: 30% Lifesteal, Summon on Kill (Max 3 Skeletons), +230 Max Health. -- **Fader**: 35% Lifesteal, Max 5 Summons, +275 Max Health. - -### Fenrir Progression -- **Base (No Bosses)**: Progressive stats (+3 Armor, +5 Damage, -10% Fall Damage, +3% Speed, +3% Jump per boss killed). -- **The Elder**: Wolf Form (Night). -- **Bonemass**: Wolf Form (Day/Night). Ulv Form (Night). -- **Moder**: Ulv Form (Day/Night). Fenring Form (Night). -- **Yagluth**: Cultist Form (Night - 1 min duration, 10 min cooldown). -- **The Queen**: Fenring Form (Day/Night). Cultist Form (Night - 1 min duration, 5 min cooldown). -- **Fader**: Cultist Form (Day/Night). - -### Furling Progression -- **Eikthyr**: Master of Shadows (Bonus attack damage when in the dark or at night). -- **The Elder**: The Wickerman (-50% Fire and Poison damage, increased to -90% if it's from an arrow). -- **Bonemass**: Dance of the Dead (Ignore certain crafting costs). -- **Moder**: The Man/Woman on the Silver Mountain (Doubles normal enemy trophy drops, yields gold coins based on stars within 25 meters, and doubles mined raw ore yield). -- **Yagluth**: The King is Dead, Hail to the King/Queen (In the Plains biome, the 2x XP multiplier is extended to all non-combat skills). diff --git a/JotunnModStub/README.md b/JotunnModStub/README.md deleted file mode 100644 index 0b2b184..0000000 --- a/JotunnModStub/README.md +++ /dev/null @@ -1,157 +0,0 @@ -# RacesOfValheim - -A comprehensive Valheim mod that allows you to play as different unique races, each offering distinct mechanics, visual transformations, and a deep progression system tailored to your journey in Valheim. - -## Features - -This mod currently introduces 6 custom races: - -### 1. Skeleton -- **Stamina-less Combat**: Skeletons do not consume stamina and do not use the stamina bar. -- **Undead Diet**: You cannot eat standard food. Instead, you gain maximum health automatically as you defeat Valheim's bosses to compensate for the lack of food buffs. - -### 2. Skadi -- **Ice Affinity**: Gain unique resistance and affinity to the cold. -- **Drake Form**: Transform into a frost Drake, taking to the skies and attacking from above. -- **Dragon Form**: Evolve your form into the mighty Moder and, eventually, unleash the terrifying power of the Skeleton Dragon. - -### 3. Fenrir -- **Beast Form**: Transform into a powerful wolf-like beast. -- **Cultist Form**: Transform into a Cultist to wield fire abilities. -- **Progression**: The beast and cultist forms evolve as you defeat Valheim's bosses, granting new abilities, cooldown reductions, and power scaling. Immune to fall damage in both forms. - -### 4. Aswid -- **The Vampire**: A creature of the night with powerful life-draining abilities. -- **Bat Transformation**: Press G to transform into a bat. It flies where you look, like the Skadi's drake: W beats forward, Shift sprints, S beats backwards, and both cost stamina. Out of stamina you can only glide. -- **Vampiric Aura**: Always on (toggle with [I]): drains the life of nearby enemies, with a doubled radius at night. Silent in Bat form until The Queen falls (configurable). -- **Blood Magic Mastery**: You can cast Blood Magic items with infinite Eitr, relying purely on their health costs. -- **Day walker, Night stalker**: Your passive speed and jump bonuses double during the night. -- **Undead Vigor**: The Aswid has a large stamina pool that grows with every boss, on top of its food. You consume the lifeforce of fallen foes directly instead of eating standard food. -- **The Curse's Price**: By day under open sky the sun slows you, weakens your regeneration and burns you down to 30% health; a roof, a dungeon, the Swamp, the Mistlands, the night or your Eclipse shield you. You also take 25% more fire damage (until Fader) and 20% more pierce damage. Running water rejects you: swimming costs double stamina, and open water (sea, river or lake) burns you while you swim in it or fly over it, unless a boat carries you. Every weakness can be switched off in the config. - -### 5. Furling -- **Goblin Heritage**: You play as a Goblin (Fuling). No beard, no hair (for males). -- **Combat Mastery**: All weapon and combat skills gain 2x XP permanently. -- **Boss-Driven Progression**: Each major boss defeat unlocks a new passive ability. - -### 6. Trol -- **Trol Heritage**: Play as a massive Trol! You are natively 20% larger than a human. -- **Immense Strength**: Your carry weight is vastly increased and your armor naturally scales as you defeat bosses. -- **Rock Throwing**: You can hurl boulders at your enemies for massive physical damage. -- **Tree Weaponry**: At higher levels, transform into your True Form to rip logs directly out of trees and wield them as devastating weapons or throw them! - -## Installation (manual) -1. Install BepInExPack Valheim. -2. Install Jotunn. -3. Extract the contents of this mod into your BepInEx/plugins folder. - -## Race Progressions (Level-by-Level) - -### Trol Progression -- **Base (No Bosses)**: +20% Size. +200 Max Carry Weight. Gain +3 Armor per boss defeated. -- **Eikthyr**: Increased XP gain for physical labor and blunt combat (Clubs, Unarmed, Axes, Pickaxes, WoodCutting). -- **The Elder**: Unlock Rock Throwing ability. +10% passive health regeneration. -- **Bonemass**: +5% Size. +50 Carry Weight. +10 Damage to Clubs/Unarmed. +10 Rock Throwing Damage. Unlocks a **4th Food Slot**. -- **Moder**: Unlock True Form (Transformation ability). -- **Yagluth**: +5% Size. +50 Carry Weight. +10 Damage to Clubs/Unarmed. +5 Rock Throwing Damage. Unlocks a **5th Food Slot**. -- **The Queen**: Unlock Log Weapon (in True Form, interact with trees to wield them as weapons). True Form size is massively increased (2.5x). -- **Fader**: Your wielded trees can now instantly smash through the toughest materials in the Ashlands. - -### Furling Progression -- **Base (No Bosses)**: Goblin head model. All weapon & combat skills gain 2x XP permanently. -- **Eikthyr**: Master of Shadows — sounds ≤15m are suppressed (near-silent movement). -- **The Elder**: The Wickerman — -50% Fire & Poison damage; arrows gain bonus fire damage. -- **Bonemass**: Dance of the Dead — Crafting meads, bombs, and ammo yields double quantity. -- **Moder**: The Man/Woman on the Silver Mountain — doubles trophy drops from normal enemies within 25m, drops bonus gold from starred enemies, doubles ore mining yield. -- **Yagluth**: The King is Dead, Hail to the King/Queen — while in the Plains biome, ALL skills gain 2x XP (including magic). HUD status icon shown. -- **The Queen**: In the Mist He/She Was Standing — blue (Eitr) foods last twice as long. -- **Fader**: Through Fire and Flames — permanently on fire (visual only), immune to fire damage, physical attacks set targets on fire. - -### Aswid Progression -- **Base (No Bosses)**: Physical kills devour edible enemies, feeding you their blood (Vae Victis). Per boss defeated: +1 Armor, +2 physical damage, +1% Speed and Jump, +2% Lifesteal on physical hits, all doubled at night. +25 Maximum Stamina, plus 10 per boss. Blood Magic items cast with infinite Eitr. Vampiric Aura (toggle with I). Claws of the Beast. Weaknesses: sunlight, fire, pierce and running water (see above). -- **Eikthyr**: Bat Form (G Key, night only), flown on stamina. Tame boars (U Key). -- **The Elder**: Bat Form by day as well as night. -- **Bonemass**: No new power; the per-boss stats keep growing. -- **Moder**: Freezing Blood (immune to Freezing and Poison). Superhuman Senses (marks untamed creatures within 100m). Tame wolves. -- **Yagluth**: Eclipse (J Key, forces night around you for 60s, 15-minute cooldown). Dominate (Interact key, a non-boss enemy fights for you for 60s). Tame lox. -- **The Queen**: Mist Form (H Key: immune to physical and poison damage, double aura damage, breaks at sunrise). The Vampiric Aura works in Bat Form. -- **Fader**: Asmund: 10% taller, +30 damage on every attack. The fire weakness ends. Tame asksvin. - -### Skadi Progression -- **Base (No Bosses)**: Immune to Cold, Bonus Frost Damage, 50% Frost Resistance. -- **Eikthyr**: +20% Eitr Regen, Freezing to Cold, Cold Spell. -- **The Elder**: Drake Form (Cannot attack). -- **Bonemass**: Drake Form (Can attack). -- **Moder**: Moder Form (1 min duration, 10 min cooldown). -- **Yagluth**: Improved Cold Spell. Moder Form (1 min duration, 5 min cooldown). -- **The Queen**: Moder Form (Unlimited duration, no cooldown). -- **Fader**: Skeleton Dragon Form. - -### Skeleton Progression -- **Base (No Bosses)**: +50 Max Health. Undead Diet (Cannot eat mortal food, no stamina bar). -- **Eikthyr**: Poison Skeleton Model, Poison Immunity, 5% Lifesteal, +80 Max Health. -- **The Elder**: 10% Lifesteal, Auto-Stun on First Hit, +110 Max Health. -- **Bonemass**: 15% Lifesteal, Poison Attacks, +140 Max Health. -- **Moder**: Fire Skeleton Model, 20% Lifesteal, Fire Aura, Enhanced Regen, +170 Max Health. -- **Yagluth**: 25% Lifesteal, Auto Resurrect, +200 Max Health. -- **The Queen**: 30% Lifesteal, Summon on Kill (Max 3 Skeletons), +230 Max Health. -- **Fader**: 35% Lifesteal, Max 5 Summons, +275 Max Health. - -### Fenrir Progression -- **Base (No Bosses)**: Progressive stats (+3 Armor, +5 Damage, -10% Fall Damage, +3% Speed, +3% Jump per boss killed). -- **The Elder**: Wolf Form (Night). -- **Bonemass**: Wolf Form (Day/Night). Ulv Form (Night). -- **Moder**: Ulv Form (Day/Night). Fenring Form (Night). -- **Yagluth**: Cultist Form (Night — 1 min duration, 10 min cooldown). -- **The Queen**: Fenring Form (Day/Night). Cultist Form (Night — 1 min duration, 5 min cooldown). -- **Fader**: Cultist Form (Day/Night). - -## Development & Feedback - -This is a stable release of Races of Valheim, but the mod is actively in development! We plan to add more races, gameplay elements, and refine the mechanics in future updates. -Any feedback, bug reports, or suggestions for new features are more than welcome. -Please write to us on my Discord server: **https://discord.gg/dW72ch6Sw5** - -## Changelog - -**v1.3.2** -- **Aswid**: Blood Magic (Vampiric Aura) is now only active when blocking in Bat or Mist form. Base damage reduced by 50%. -- **Aswid**: Added thematic day/night transition messages ("what a horrible night to have a curse"). -- **Bugfix**: Fixed an issue where the new automatic food consumption logic for Aswid physical kills failed to find the correct prefabs for basic animals like Deer and Boars. - -**v1.3.1** -- **NEW RACE — Trol**: Added the sixth playable race, the Trol. Huge size, immense strength, rock throwing, and the ability to wield trees as weapons! -- **Trol Combat**: The Trol starts with increased size and carry weight, scaling stats as bosses are killed, and unlocking the ability to throw massive rocks at The Elder tier. -- **Trol True Form**: Unlocked at Moder, allowing you to transform. Once you defeat The Queen, you can look at trees while in True Form to rip a log out and use it as a massive 2-handed weapon! -- **Trol Stomachs**: As you progress, you unlock a 4th (Bonemass) and a 5th (Yagluth) stomach slot, allowing you to consume up to 5 foods simultaneously! -- **Bugfixes**: Fixed various item/food duplication bugs and polished the new eating logic to perfectly integrate with the native UI. - -**v1.3.0** -- **NEW RACE — Furling**: Added the fifth playable race, the Furling (Goblin). Unique goblin head model, full progression tied to all 7 bosses. -- **Furling — Eikthyr (Master of Shadows)**: Sounds below 15m range are suppressed, making you nearly silent at night or in dungeons. -- **Furling — The Elder (The Wickerman)**: Gain -50% Fire and Poison damage resistance. Arrows gain bonus fire damage. -- **Furling — Bonemass (Dance of the Dead)**: Crafting meads, bombs, and ammo yields double the quantity. -- **Furling — Moder (The Man/Woman on the Silver Mountain)**: Trophy drops from normal enemies are doubled, starred enemies drop bonus coins, and ore mining yields are doubled. -- **Furling — Yagluth (The King is Dead, Hail to the King/Queen)**: In the Plains biome, the 2x XP multiplier extends to ALL skills (including Elemental and Blood Magic). A HUD status icon appears in the top-right when active. -- **Furling — The Queen (In the Mist He/She Was Standing)**: Eitr (blue) foods last twice as long for you. -- **Furling — Fader (Through Fire and Flames)**: You are permanently wreathed in native fire flames (SE_Burning visual, no damage, no HUD warning). Full fire immunity. All physical attacks set targets on fire. -- **Bugfix**: Fixed MineRock.RPC_Damage → MineRock.RPC_Hit Harmony patch after a Valheim update renamed the method. - -**v1.2.0** -- **Multiplayer Sync**: Fully implemented visual syncing for Aswid forms (Bat, Mist) and Skadi forms (Bear, Wolf, Hatchling, Fader) so other players can see your transformations in multiplayer! -- **Aswid**: Scrapped the Fader (Surtling) visual override; reaching the final progression state now makes the player 10% taller and adds a flat +30 physical damage bonus. -- **Aswid**: Defeating enemies with physical attacks in the final state now automatically consumes them if you have food slots available. -- **General**: Eradicated remaining localizations of the old "Strigoi" name. - -**v1.1.0** -- **Aswid**: Passive abilities (Speed and Jump) are now properly doubled during the night. -- **Aswid**: New Enslavement Power (Yagluth tier)! Press E on non-tameable, non-boss enemies to enslave them for 60 seconds (15-min cooldown). Enslaved thralls fight alongside you and drop standard loot. -- **Aswid**: Edible thralls are automatically consumed upon death, granting you their lifeforce (Fader tier). -- **Aswid**: Complete overhaul of the Food system. Added Mistlands and Ashlands creatures to the consumption map. Accurately scaled food stats based on creature health. -- **Aswid**: Excluded undead and inorganic creatures (Skeletons, Draugrs, Golems, etc.) from being edible. -- **Aswid**: Added a dynamic green light effect to all forms (Bonemass tier). - -**v1.0.0** -- Initial release with 4 distinct races. -- Added Aswid life-draining and night transformations. -- Complete progression system tied to Valheim's bosses. diff --git a/JotunnModStub/RacesOfValheim.csproj b/JotunnModStub/RacesOfValheim.csproj index 8553db5..7ddf073 100644 --- a/JotunnModStub/RacesOfValheim.csproj +++ b/JotunnModStub/RacesOfValheim.csproj @@ -56,7 +56,7 @@ - + diff --git a/scripts/publish.ps1 b/scripts/publish.ps1 index 5e425d0..d36b88c 100644 --- a/scripts/publish.ps1 +++ b/scripts/publish.ps1 @@ -62,7 +62,8 @@ if($Target.Equals("Release")) { Write-Host "$PackagePath\$TargetAssembly" New-Item -Type Directory -Path "$PackagePath\plugins" -Force Copy-Item -Path "$TargetPath\$TargetAssembly" -Destination "$PackagePath\plugins\$TargetAssembly" -Force - Copy-Item -Path "$ProjectPath\README.md" -Destination "$PackagePath\README.md" -Force + # The root README is the one players see; the project folder no longer keeps a copy. + Copy-Item -Path "$ProjectPath\..\README.md" -Destination "$PackagePath\README.md" -Force Compress-Archive -Path "$PackagePath\*" -DestinationPath "$TargetPath\$name.zip" -Force } diff --git a/scripts/publish.sh b/scripts/publish.sh index ef50691..446dc4a 100644 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -59,7 +59,8 @@ if [ "$target" = "Release" ]; then packagePath="$projectPath/Package" mkdir -p "$packagePath/plugins" cp "$targetPath/$targetAssembly" "$packagePath/plugins/" - cp "$projectPath/README.md" "$packagePath/" + # The root README is the one players see; the project folder no longer keeps a copy. + cp "$projectPath/../README.md" "$packagePath/" if command -v zip > /dev/null; then [ -e "$name.zip" ] && rm "$name.zip"