Comments (11)
I will do that in a few hours, I am going to watch FNAF lol 🤣
from fextify.
https://tauri.app/v1/api/js/path/#documentdir
from fextify.
That's a placeholder, you can assume the string is empty. It will fail to read the document regardless of its initial value.
You did however remind me that I've forgot some few if statements while writing the latest commit; I've now added a check to prevent the reset of the config.json
file:
let exists = &dir.join("config.json").exists();
About MacOS support, I'm not sure if the code will compile there since the very first line of code is:
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
I'd be happy to adjust the code to work on Mac if someone will open an issue with the error stack from MacOS
from fextify.
ima help you and send the stack trace in like 10 mins
from fextify.
So, using bun run dev
it worked!
But there seems to be an issue with saving files.
Created config folder in AppData
(MINOR) Child with id not found: 0
(MINOR) Child with id not found: 2321c09016c1b6e
Renamed "Untitled 2321c09016c1b6e.md" to "H.md"
Renamed "H.md" to "He.md"
Renamed "He.md" to "Hel.md"
Renamed "Hel.md" to "Hell.md"
Renamed "Hell.md" to "Hello.md"
(MINOR) Child with id not found: 4e0e21e66fe6e04
Renamed "Untitled 4e0e21e66fe6e04.md" to "H.md"
Renamed "H.md" to "He.md"
Renamed "He.md" to "Hel.md"
Renamed "Hel.md" to "Hell.md"
Renamed "Hell.md" to "Hello.md"
Renamed "Hello.md" to "Hello .md"
Renamed "Hello .md" to "Hello t.md"
Renamed "Hello t.md" to "Hello th.md"
Renamed "Hello th.md" to "Hello the.md"
Renamed "Hello the.md" to "Hello ther.md"
Renamed "Hello ther.md" to "Hello there.md"
Renamed "Hello there.md" to "Hello there!.md"
Rename failed, attempted creation successful.
Renamed "H.md" to "Hi.md"
Couldn't find child with path: H.md
Renamed "Hi.md" to "Hi!.md"
Couldn't find child with path: Hi.md
from fextify.
Could you try replicating the issue, but only using alphabetical characters in the title? Seems like the error occurred when you inserted "!".
from fextify.
It works, but the issue is that the first tab doesn't work, it doesn't save.
from fextify.
Renamed ".md" to "f.md"
Couldn't find child with path: .md
Renamed "f.md" to "fi.md"
Couldn't find child with path: f.md
Renamed "fi.md" to "fir.md"
Couldn't find child with path: fi.md
Renamed "fir.md" to "firs.md"
Couldn't find child with path: fir.md
Renamed "firs.md" to "first.md"
Couldn't find child with path: firs.md
Renamed "first.md" to "firstt.md"
Couldn't find child with path: first.md
Renamed "firstt.md" to "firstta.md"
Couldn't find child with path: firstt.md
Renamed "firstta.md" to "firsttab.md"
Couldn't find child with path: firstta.md
Renamed "firsttab.md" to "First tab.md"
Couldn't find child with path: firsttab.md
from fextify.
It works, but the issue is that the first tab doesn't work, it doesn't save.
That's since it failed once and lost the path forever. To temporarily fix this, you can delete your config.json
.
If you take a look at %APPDATA%/Fextify/Data/data/
(may be different on MacOS) you'll see that it's currently being spammed by files.
If you wish, once you empty your config.json
, you can follow some debugging steps I've previously provided:
Could you try replicating the issue, but only using alphabetical characters in the title? Seems like the error occurred when you inserted "!".
from fextify.
What is that on mac? It is not in Application Support which should be the mac version of %appdata%
from fextify.
What is that on mac? It is not in Application Support which should be the mac version of
%appdata%
I'm unsure, but you can modify src-tauri/src/main.rs
at line 46 to be:
println!("{:?}", dir);
Then you can recompile the program on dev (npm run tauri dev
), and check the terminal for the path to be printed.
I will reopen this issue until the issue gets resolved.
from fextify.
Related Issues (20)
- Error on start HOT 3
- Errors on change theme HOT 1
- Cannot exit themes HOT 3
- Cannot use command shortcuts with alt HOT 5
- Still cannot use command shortcuts with alt HOT 1
- Can you add the contributor role to me? HOT 2
- test - closing soon HOT 6
- Quick question HOT 2
- Feature Request: Using up and down to move between lines HOT 6
- Themes cannot close HOT 2
- Export/save in \users\user\documents HOT 1
- Linux Support HOT 3
- Feature Request: Open working directory
- Fextify v1.1.5 not launching HOT 2
- Duplicate files bug HOT 2
- Feature Request: Installer HOT 5
- Bro why u not let me write ? in the title? HOT 3
- BUG: Deleting `•` in list causes application to not respond
- BUG: Arrow key is not working to navigate
- macos please macos please macos please HOT 1
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 fextify.