fix(release): declare dependency-free packaging settings reader

This commit is contained in:
creatixchu
2026-11-03 15:08:12 +08:00
parent aa035e6845
commit 8577f42832
@@ -0,0 +1,9 @@
/** Read file-owned packaging settings without loading packaging dependencies. */
/**
* Read an explicitly selected dotenv without exposing credential-bearing parser errors.
* @param path - Selected file; relative credential paths resolve beside it.
* @param accepts - Whether this file may declare a setting.
* @returns Validated file settings.
*/
export function readDesktopPackageSettings(path: string, accepts: (name: string) => boolean): Record<string, string>