mirror of
https://github.com/tonytins/s2pk.git
synced 2025-05-19 07:23:17 -04:00
Bump to v0.2
- Preemptive support for s3pk extensions
This commit is contained in:
parent
f65698fcb6
commit
18a0e73a91
3 changed files with 11 additions and 3 deletions
|
@ -6,6 +6,7 @@ public static class PackageManager
|
|||
{
|
||||
const string PackageExtension = ".package";
|
||||
const string S2pkExtension = ".s2pk";
|
||||
const string S3pkExtension = ".s3pk";
|
||||
|
||||
/// <summary>
|
||||
/// Packs a directory into a package file.
|
||||
|
@ -16,6 +17,7 @@ public static class PackageManager
|
|||
{
|
||||
var dir = new DirectoryInfo(source);
|
||||
var file = new FileInfo(output);
|
||||
var extention = S2pkExtension;
|
||||
|
||||
if (!dir.Exists)
|
||||
{
|
||||
|
@ -56,9 +58,9 @@ public static class PackageManager
|
|||
|
||||
// If The Sims 3 is not specified, use the default destination
|
||||
if (!ts3)
|
||||
destination = config.Games.Sims2;
|
||||
destination = config.Paths.Sims2;
|
||||
else
|
||||
destination = config.Games.Sims3;
|
||||
destination = config.Paths.Sims3;
|
||||
}
|
||||
|
||||
var file = new FileInfo(package);
|
||||
|
|
|
@ -8,6 +8,12 @@ While The Sims 2 runs well on Linux through Wine, especially with Lutris setups,
|
|||
|
||||
``s2pk`` aims to fill this gap: a no-nonsense CLI utility for packaging, sharing, and managing mods across all platforms. It’s small, clean, and plays nicely with scripts, backups, and version control. In theory, it would be possible to use it on legacy front ends.
|
||||
|
||||
## 🚀 Features
|
||||
|
||||
- First-class CLI support for modders on non-Windows platforms
|
||||
- Custom default unpacking directory for The Sims 2 & 3
|
||||
- Pack ``.packages`` into portable ``.s2pk`` archives
|
||||
|
||||
## 🛣️ Project Roadmap
|
||||
|
||||
| Phase | Goal | Status |
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<Version>0.1.101</Version>
|
||||
<Version>0.2.101</Version>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<Authors>Tony Bark</Authors>
|
||||
|
|
Loading…
Add table
Reference in a new issue