Comments (3)
Have uploaded commit, adding a new "Splash" screen that programmatically checks for the folders that are required and creates them if they haven't already been created.
private void CheckDirectory_Tick(object sender, EventArgs e)
{
CheckDirectory.Stop();
Status.Text = "Validating Directories...";
CreateDirectories();
LaunchApplication.Start();
}
private void CreateDirectories()
{
//Check for Mods Directory
string ModsDirectory = Properties.Settings.Default.StardewDir + @"\Mods";
if (!Directory.Exists(ModsDirectory))
{
Directory.CreateDirectory(ModsDirectory);
}
//Check for Inactive Mods Directory
string InactiveModsDirectory = Properties.Settings.Default.StardewDir + @"\inactive-mods";
if (!Directory.Exists(InactiveModsDirectory))
{
Directory.CreateDirectory(InactiveModsDirectory);
}
//Check for Presets Directory
string PresetsDirectory = Properties.Settings.Default.StardewDir + @"\mod-presets";
if (!Directory.Exists(PresetsDirectory))
{
Directory.CreateDirectory(PresetsDirectory);
}
//Check for Saves Directory
string appdata = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
string sdvsaves = appdata + @"\StardewValley\Saves\";
if (!Directory.Exists(sdvsaves))
{
Directory.CreateDirectory(sdvsaves);
}
//Check for Save Backups Directory
string backupsdir = Properties.Settings.Default.StardewDir + @"\savebackups\";
if (!Directory.Exists(backupsdir))
{
Directory.CreateDirectory(backupsdir);
}
}
from stardew-valley-mod-manager.
Add documentation for issue #18
from stardew-valley-mod-manager.
Issue has been resolved in release build 220303
from stardew-valley-mod-manager.
Related Issues (20)
- [Issue] Theme doesn't carry over after updating. HOT 2
- [Issue] Stardew Valley WebTools HOT 1
- [Issue] Stardew Valley WebTools crashes on Startup HOT 2
- [Issue] Current release has incorrect version number.
- [Issue] Can't launch Stardew Valley Mod Manager from Setup
- [Issue] Colour Profile does not carry over through Update Migration
- [Request] Feature: Add support for Nexus Mods API to update Mods without opening a web browser HOT 5
- [Issue] Enabling mod points to wrong path HOT 2
- [Issue] To update a mod you have to disable it, then uninstall it, before installing the update.
- [Issue] Some mods are unable to be overwritten by the modpack installer HOT 1
- [Issue] Application allows the user to enable/disable mods whilst game is active
- [Issue] Updater still gets files from ryanwalpoleenterprises.github.io
- [Feature] In-App Credits / Special Thanks
- [Issue] When cancelling an update from the main dashboard, the application continues to run without a window.
- [Issue] Access denied when trying to install modpack HOT 3
- [Feature] Print Logs for when users encounter an error or issue, so they can be better examined.
- [Issue] When mass uninstalling mods, the "Are you sure" prompt is shown for each individual mod.
- [Issue] When click-drag selecting multiple disabled mods, the enable button does not become clickable.
- [Issue] Splash Screen and Main Dashboard experience visual performance issues
- [Issue] SDVMP Generator allows you to click "Create Modpack" while a modpack is being created.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stardew-valley-mod-manager.