Closed pcrockett closed 5 years ago
Closing in favor of #17
Reopening because #17 is impossible right now. :frowning_face:
Got a basic save file dialog working in Linux. Need to test on Windows.
On Windows there's some sort of conflict between nativefiledialog and libsodium:
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library libnfd-c66bdbf44ca51c18.rlib(nfd_win.o) : error LNK2019: unresolved external symbol imp_SHCreateItemFromParsingName referenced in function "enum nfdresult_t cdecl SetDefaultPath(struct IFileDialog ,char const )" (?SetDefaultPath@@YA?AW4nfdresult_t@@PEAUIFileDialog@@PEBD@Z) C:\Users\philc\Code\kin-backup\target\debug\deps\decrypt-d9e5c169681efce7.exe : fatal error LNK1120: 1 unresolved externals
Might experiment a little with this for graphical file picker: https://github.com/saurvs/nfd-rs
Though it might also be worth making the whole app a little more graphical with Cursive.