Comments (5)
hmm, working directory is kinda the expected behavior. Maybe it should be changed to find the directory master plan is in and put itself there. Additionally, probably rename it to masterplan-settings.json
to avoid accidental conflicts?
from masterplan.
Shouldn't settings be relative to the masterplan executable?
from masterplan.
That would be ideal, yes. Since you said that, though, I did a bit of further testing.
If run through itch.io's launcher, or directly from within the directory where the executable is located, it creates the settings.json file in the masterplan directory. However, if run from anywhere else, it creates the settings.json file in the current working directory. If run through a launcher in the menu of a desktop environment, the current working directory happens to be the home directory, so MasterPlan's settings.json file gets created there.
That's how I initially noticed this behavior: I didn't want to launch MasterPlan through itch, so I made a shortcut to it in my menu, and then noticed that settings.json wound up in my home directory, which was unexpected.
from masterplan.
Whoops, this should always be MasterPlan's main directory. I'll change things around~
from masterplan.
Pull request #40 makes use of XDG Base Directory Specification, so the config would go to ~/.config/MasterPlan/settings.json
, like @kforney originally suggested.
from masterplan.
Related Issues (20)
- Fails to start up on loading of note with long description HOT 2
- Possible integer overflow with time for completion + limited time estimation read-out units on months does not work as expected
- [Suggestion] ARM64/AARCH64 build for both linux and windows HOT 3
- [Documentation] Include 'Card: Disconnect All Arrows' HOT 1
- Checkbox due date? HOT 1
- [Suggestion] Checkbox appearance after removing all text HOT 1
- Not Compiling on/for Windows HOT 3
- Encounter HTML Output no longer has 300px fixed width HOT 5
- UX Issue when using Create HOT 2
- Building on Ubuntu 22.04 HOT 1
- [Bug] Visual artifacts when rendering grid HOT 3
- Compiling for M1 Macs
- [Feature Request] Support http URLs in Link cards
- Immediate crash when trying to browse to pick my font. HOT 2
- [Feature Request] Support tablet & multitouch input options
- Cannot compile on Windows due to several issues HOT 1
- Bad text glitch (sometimes) HOT 3
- Feature Request - Word Wrap for tasks HOT 1
- DPI scaling. HOT 3
- [Feature Request] allow window to be fully transparent
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 masterplan.