diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-11-18 01:45:36 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-11-18 01:45:36 -0500 |
commit | ebbbf6fd58f3baf2918eca4c44b0e0b177c9c366 (patch) | |
tree | 07eadfa8bd20d5f264ffd3b9063170c5933d04e6 | |
parent | e8fe550b753ced742c5084dbf851fc606ff90fb0 (diff) | |
download | SMAPI-ebbbf6fd58f3baf2918eca4c44b0e0b177c9c366.tar.gz SMAPI-ebbbf6fd58f3baf2918eca4c44b0e0b177c9c366.tar.bz2 SMAPI-ebbbf6fd58f3baf2918eca4c44b0e0b177c9c366.zip |
shorten bundle file names (#602)
-rw-r--r-- | build/prepare-install-package.targets | 4 | ||||
-rw-r--r-- | docs/technical-docs.md | 6 | ||||
-rw-r--r-- | src/SMAPI.Installer/Program.cs | 2 | ||||
-rw-r--r-- | src/SMAPI.Installer/README.txt | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/build/prepare-install-package.targets b/build/prepare-install-package.targets index 5ba6ed37..dd15fb52 100644 --- a/build/prepare-install-package.targets +++ b/build/prepare-install-package.targets @@ -62,12 +62,12 @@ <PackageFiles Include="$(PackagePath)\**\*.*" /> </ItemGroup> <Copy SourceFiles="@(PackageFiles)" DestinationFolder="$(PackageDevPath)\%(RecursiveDir)" /> - <ZipDirectory FromDirPath="$(PackageDevPath)\bundle" ToFilePath="$(PackageDevPath)\internal\bundle.$(PackageBundlePlatform).zipped" /> + <ZipDirectory FromDirPath="$(PackageDevPath)\bundle" ToFilePath="$(PackageDevPath)\internal\$(PackageBundlePlatform).dat" /> <RemoveDir Directories="$(PackageDevPath)\bundle" /> <!-- finalise normal installer --> <ReplaceFileText FilePath="$(PackagePath)\bundle\smapi-internal\StardewModdingAPI.config.json" Search=""DeveloperMode": true" Replace=""DeveloperMode": false" /> - <ZipDirectory FromDirPath="$(PackagePath)\bundle" ToFilePath="$(PackagePath)\internal\bundle.$(PackageBundlePlatform).zipped" /> + <ZipDirectory FromDirPath="$(PackagePath)\bundle" ToFilePath="$(PackagePath)\internal\$(PackageBundlePlatform).dat" /> <RemoveDir Directories="$(PackagePath)\bundle" /> </Target> diff --git a/docs/technical-docs.md b/docs/technical-docs.md index 88c1a91f..83e4ea2b 100644 --- a/docs/technical-docs.md +++ b/docs/technical-docs.md @@ -58,12 +58,12 @@ on the wiki for the first-time setup. 2. In Windows: 1. Rebuild the solution in Release mode. - 2. Copy `bundle.windows.zipped` from `bin/SMAPI installer` and `bin/SMAPI installer for developers` - to Linux/Mac. + 2. Copy `windows.dat` from `bin/SMAPI installer` and `bin/SMAPI installer for developers` to + Linux/Mac. 3. In Linux/Mac: 1. Rebuild the solution in Release mode. - 2. Add the `bundle.windows.zipped` files to the `bin/SMAPI installer` and + 2. Add the `windows.dat` files to the `bin/SMAPI installer` and `bin/SMAPI installer for developers` folders. 3. Rename the folders to `SMAPI <version> installer` and `SMAPI <version> installer for developers`. 4. Zip the two folders. diff --git a/src/SMAPI.Installer/Program.cs b/src/SMAPI.Installer/Program.cs index 4056e52a..c56c9f80 100644 --- a/src/SMAPI.Installer/Program.cs +++ b/src/SMAPI.Installer/Program.cs @@ -33,7 +33,7 @@ namespace StardewModdingApi.Installer { // find install bundle PlatformID platform = Environment.OSVersion.Platform; - FileInfo zipFile = new FileInfo(Path.Combine(Program.InstallerPath, $"bundle.{(platform == PlatformID.Win32NT ? "windows" : "mono")}.zipped")); + FileInfo zipFile = new FileInfo(Path.Combine(Program.InstallerPath, $"{(platform == PlatformID.Win32NT ? "windows" : "mono")}.dat")); if (!zipFile.Exists) { Console.WriteLine($"Oops! Some of the installer files are missing; try redownloading the installer. (Missing file: {zipFile.FullName})"); diff --git a/src/SMAPI.Installer/README.txt b/src/SMAPI.Installer/README.txt index 72617240..abff9938 100644 --- a/src/SMAPI.Installer/README.txt +++ b/src/SMAPI.Installer/README.txt @@ -24,8 +24,8 @@ Manual install THIS IS NOT RECOMMENDED FOR MOST PLAYERS. See instructions above instead. If you really want to install SMAPI manually, here's how. -1. Unzip "internal/bundle.windows.zipped" (on Windows) or "internal/bundle.mono.zipped" (on - Linux/Mac). You can change '.zipped' to '.zip', it's just a normal zip file. +1. Unzip "internal/windows.dat" (on Windows) or "internal/mono.dat" (on Linux/Mac). You can change + '.dat' to '.zip', it's just a normal zip file renamed to prevent confusion. 2. Copy the files from the folder you just unzipped into your game folder. The `StardewModdingAPI.exe` file should be right next to the game's executable. 3. |