diff --git a/build/windows/installer/wails_tools.nsh b/build/windows/installer/wails_tools.nsh index 44f3ed6..7d3e695 100644 --- a/build/windows/installer/wails_tools.nsh +++ b/build/windows/installer/wails_tools.nsh @@ -14,7 +14,7 @@ !define INFO_PRODUCTNAME "AeroMod" !endif !ifndef INFO_PRODUCTVERSION - !define INFO_PRODUCTVERSION "0.8.5" + !define INFO_PRODUCTVERSION "0.8.6" !endif !ifndef INFO_COPYRIGHT !define INFO_COPYRIGHT "Built under GPL-3.0 license" diff --git a/internal/msfs/client.go b/internal/msfs/client.go index ba7a3be..3cf97d4 100644 --- a/internal/msfs/client.go +++ b/internal/msfs/client.go @@ -94,7 +94,7 @@ func (c *Client) IsModEnabled(modName string) (bool, error) { } func (c *Client) GetModThumbnailBase64(modName string) (string, error) { - modPath := filepath.Join(c.config.communityFolder, modName) + modPath := filepath.Join(c.config.modFolder, modName) thumbnailPath := filepath.Join(modPath, "ContentInfo", modName, "Thumbnail.jpg") if _, err := os.Stat(thumbnailPath); errors.Is(err, os.ErrNotExist) { return "", fmt.Errorf("mod: %s, doesnt have a thumbnail", modName) diff --git a/wails.json b/wails.json index 8f8209a..5443b38 100644 --- a/wails.json +++ b/wails.json @@ -13,7 +13,7 @@ "info": { "companyName": "AeroMod", "productName": "AeroMod", - "productVersion": "0.8.5", + "productVersion": "0.8.6", "copyright": "Built under GPL-3.0 license", "comments": "External mod manager for MSFS" }