From b562d5b5bac6682113ef0bc2eb8483a0f12547b1 Mon Sep 17 00:00:00 2001 From: Bruce Date: Sat, 4 Apr 2026 19:49:45 +0800 Subject: [PATCH] fix bugs. --- DataUtils/Utils.cs | 3 +++ appinstaller/main.cpp | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/DataUtils/Utils.cs b/DataUtils/Utils.cs index 90d72ca..bf01c33 100644 --- a/DataUtils/Utils.cs +++ b/DataUtils/Utils.cs @@ -380,4 +380,7 @@ namespace DataUtils JsUtils.Call (cb, progress); } } + [ComVisible (true)] + [ClassInterface (ClassInterfaceType.AutoDual)] + public class _I_Exception: IExcep } diff --git a/appinstaller/main.cpp b/appinstaller/main.cpp index 861f8cb..de31a90 100644 --- a/appinstaller/main.cpp +++ b/appinstaller/main.cpp @@ -39,7 +39,7 @@ enum class CMDPARAM: DWORD { NONE = 0b000, SILENT = 0b001, - VERYSILENT = 0b011, + VERYSILENT = 0b010, MULTIPLE = 0b100 }; @@ -1810,6 +1810,8 @@ std::vector LoadFileListW (const std::wstring &filePath) { if (!line.empty () && line.back () == L'\r') line.pop_back (); if (!line.empty () && !std::wnstring::empty (line) && IsFileExists (line)) result.push_back (line); + auto fullFile = CombinePath (GetFileDirectoryW (filePath), line); + if (!line.empty () && !std::wnstring::empty (fullFile) && IsFileExists (fullFile)) result.push_back (fullFile); } return result; } @@ -1844,7 +1846,7 @@ DWORD CmdMapsToFlags (std::map cmdpairs, std::vector