We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 531e0b8 commit f884bc8Copy full SHA for f884bc8
src/Services/Storage.vala
@@ -30,7 +30,14 @@ public class Jorts.Storage : Object {
30
31
/*************************************************/
32
construct {
33
+
34
+#if WINDOWS
35
+ // In Windows we arent in a sandbox, so we need to have some courtesy and not dump in the allfolder
36
+ data_directory = GLib.build_path('/', Environment.get_user_data_dir (), "io.github.ellie_commons.jorts");
37
+#else
38
data_directory = Environment.get_user_data_dir ();
39
+#endif
40
41
storage_path = data_directory + "/" + FILENAME;
42
check_if_stash ();
43
}
0 commit comments