From 20bee58a2302059df5db768b2af361e902d87bf6 Mon Sep 17 00:00:00 2001 From: Durel Date: Sat, 30 Sep 2017 13:29:12 -0400 Subject: [PATCH] 1) Stripped out any "\.\" paths from the pluginStatePath. That could cause problems on some versions of Windows. --- aard_inventory.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/aard_inventory.xml b/aard_inventory.xml index fa70097..29e7277 100644 --- a/aard_inventory.xml +++ b/aard_inventory.xml @@ -594,7 +594,12 @@ pluginId = "88c86ea252fc1918556df9fe" -- saved data regardless of where the plugin xml file lives. pluginStatePath = GetInfo(56) .. GetInfo(85) .. pluginNameCmd .. "-" .. pluginId ---print("Plugin version: " .. GetPluginInfo(GetPluginID(), 19)) +-- Some versions of windows don't like if a path has something like "foo\.\bar" in it. This +-- strips out any redundant ".\" in the path if it exists. +pluginStatePath = string.gsub(pluginStatePath, "\\.\\", "\\") + +--print("Plugin state: " .. pluginStatePath) + ---------------------------------------------------------------------------------------------------- -- External dependencies