From ebbbf6fd58f3baf2918eca4c44b0e0b177c9c366 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 18 Nov 2018 01:45:36 -0500 Subject: [PATCH] shorten bundle file names (#602) --- build/prepare-install-package.targets | 4 ++-- docs/technical-docs.md | 6 +++--- src/SMAPI.Installer/Program.cs | 2 +- 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 @@ - + - + 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 installer` and `SMAPI 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.