Comments (2)
Fix did not actually fix anything. Might be that the WebView2 cannot generate user data folders being in the program files folder?
This could be a permissions issue. Going to try the following:
Proposed Resolution
public Example()
{
InitializeComponent();
InitializeBrowser();
}
private async Task InitializeBrowser()
{
var userDataFolder =
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\RWE Labs\SDVMM\WV2\";
var env = await CoreWebView2Environment.CreateAsync(null, userDataFolder);
await webView.EnsureCoreWebView2Async(env);
webView.Source = new Uri("https://example.com") ;
}
from stardew-valley-mod-manager.
Fix did not actually fix anything. Might be that the WebView2 cannot generate user data folders being in the program files folder? This could be a permissions issue. Going to try the following:
Proposed Resolution
public Example() { InitializeComponent(); InitializeBrowser(); } private async Task InitializeBrowser() { var userDataFolder = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\RWE Labs\SDVMM\WV2\"; var env = await CoreWebView2Environment.CreateAsync(null, userDataFolder); await webView.EnsureCoreWebView2Async(env); webView.Source = new Uri("https://example.com") ; }
Didn't actually finish comment.
The proposed solution is to asynchronously create a new user data folder in the appdata where it should be accessible and read/writeable no matter what.
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] 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 8
- [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] Unhandled exception when updating Mod Manager
- [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.