Comments (3)
No easy way to do this as this is the behaviour of .Net configuration.
from nijiedownloader.
Then maybe implement a function to wipe all settings from within the app?
from nijiedownloader.
For reference
ConfigurationUserLevel[] options = { ConfigurationUserLevel.PerUserRoaming, ConfigurationUserLevel.PerUserRoamingAndLocal };
foreach (var item in options)
{
var config = ConfigurationManager.OpenExeConfiguration(item);
if (File.Exists(config.FilePath))
{
Debug.WriteLine(config.FilePath);
// Delete the folder where app.config resides, e.g. /Nandaka/NijieDownloader_xxxx/
new FileInfo(config.FilePath).Directory.Parent.Delete(true);
try
{
// Delete the root folder, e.g. /Nandaka/.. if empty
new FileInfo(config.FilePath).Directory.Parent.Parent.Delete(false);
}
catch (Exception ex) { Debug.WriteLine(ex.Message); }
}
}
Properties.Settings.Default.Reload();
from nijiedownloader.
Related Issues (20)
- Cannot download image due to Buddhist Calendar HOT 9
- Issues with batch download: "The operation timed out", slow operation etc. HOT 5
- Unable to download mp4 files HOT 4
- Batch Job Downloads to Nonexistent Location HOT 2
- Batch download stops at each image due to DateTime error HOT 14
- Invalid URI HOT 2
- Can't run program HOT 1
- Error after updating to new version HOT 1
- unable to login
- Work date and description no longer retrieved
- Nijie Downloader 1.0.9.4 Batch Downloader Can't DL More than 1 page at a time
- 1.0.9.4 Object reference not set to an instance of an object HOT 8
- The search and batch download function no longer works. HOT 6
- How to download all image with Batch download HOT 1
- 1.0.9.5 when fetch images page or login, will show error about ssl/tls error HOT 5
- It still doesn't load mp4 files
- Download with artist name HOT 1
- Make it portable (CLI?)
- 226 ERROR [ 3] - Error when processing Search Job: Search Tags:
- search and download not working
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 nijiedownloader.