Comments (6)
Evaluation:
The code when the application is as follows:
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
if(Properties.Settings.Default.SetupComplete == "TRUE")
{
Application.Run(new MainPage());
//Application.Run(new FirstRunSetup());
}
else
{
Application.Run(new FirstRunSetup());
}
Currently the application contains an internal setting "SetupComplete
" which is set to FALSE
by default. Once the user has completed the last stage of the setup process, this setting is set to TRUE
.
The application checks whether the value for this setting is TRUE
or FALSE
If the value returned is TRUE
then the application assumes that the first time setup has been completed already and launches straight into the main page of the mod manager. If the user hasn't completed the setup, it returns FALSE
and launches into the first time setup.
from stardew-valley-mod-manager.
Proposed Change::
It seems that for some reason the value is either not being fetched or the value is being reset when the update is applied. For this reason I am proposing that the Program.cs
code be changed to the following:
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
if(Properties.Settings.Default.SetupComplete == "TRUE")
{
Application.Run(new MainPage());
//Application.Run(new FirstRunSetup());
}
else
{
//First Run Setup hasn't been completed.
if (Properties.Settings.Default.StardewDir == string.Empty)
{
Application.Run(new FirstRunSetup());
}
else
{
Application.Run(new MainPage());
}
}
This adds the extra fail safe that even if the first run setting isn't retrieved or returns the incorrect value, that the application will still see that an existing SDV directory exists and still run to the main dashboard. It will only launch into first run setup if:
- There isn't an SDV Directory saved in the settings. AND
- The first run setup setting is FALSE
Will move through to testing once this change has been made.
from stardew-valley-mod-manager.
Update
Issue not resolved. Looks like the application isn't carrying any settings over when program is updated. This is not usual or intended behaviour. Going to start looking at possible reasons for this.
from stardew-valley-mod-manager.
Issue Resolved:
The issue was that the assembly version information was being updated. The file version information being updated is fine but the product version information signifies a major increase in product version and resets the settings. Have reverted to share the same version number as found in 202202 as to avoid disruptions.
from stardew-valley-mod-manager.
Issue seems to be back with v220302 (in that it occurs when updating it to 220303 which is the development branch)
Unsure of why as we haven't changed the assembly product version.
from stardew-valley-mod-manager.
Issue was a false flag. Was working off of a different copy of the application (generated through debug build) rather than one obtained via install.
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
- [Feature] Mod Categorization within the Mod List HOT 1
- [Issue] Stardew directory auto-detection includes the executable name in the path.
- [Issue] Access to path is denied, during mod uninstallation
- [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.