]> glassweightruler.freedombox.rocks Git - waydroid.git/blobdiff - tools/config/__init__.py
config: Store data in /var/lib/waydroid rather than /home/.waydroid
[waydroid.git] / tools / config / __init__.py
index 4c16de252365d09946df09fc59d05323f7cead86..f1bde16eddac1c909999d129734f69c7981f5040 100644 (file)
@@ -38,10 +38,11 @@ session_config_keys = ["user_name",
 # overridden on the commandline)
 defaults = {
     "arch": "arm64",
-    "work": "/home/.waydroid",
+    "work": "/var/lib/waydroid",
     "vendor_type": "MAINLINE",
     "system_datetime": "0",
-    "vendor_datetime": "0"
+    "vendor_datetime": "0",
+    "preinstalled_images_path": "/usr/share/waydroid-extra/images"
 }
 defaults["images_path"] = defaults["work"] + "/images"
 defaults["rootfs"] = defaults["work"] + "/rootfs"
@@ -68,7 +69,7 @@ if session_defaults["pulse_runtime_path"] == "None":
 
 channels_defaults = {
     "config_path": "/usr/share/waydroid-extra/channels.cfg",
-    "system_channel": "https://raw.githubusercontent.com/waydroid/OTA/master/systems",
+    "system_channel": "https://raw.githubusercontent.com/waydroid/OTA/master/system",
     "vendor_channel": "https://raw.githubusercontent.com/waydroid/OTA/master/vendor",
     "rom_type": "lineage",
     "system_type": "VANILLA"