You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add a metadata json file which has custom and default path's to install scripts in both paths. In install.ps1 script I gave json file path as "$($env:ChocolateyPackageFolder)\config.json". But when we do installation chocolatey usually updates the folder in lib and this json file is also get deleting. How can I use this config file and keep it in chocolateypackagefolder.
This discussion was converted from issue #2688 on April 12, 2022 17:35.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm trying to add a metadata json file which has custom and default path's to install scripts in both paths. In install.ps1 script I gave json file path as "$($env:ChocolateyPackageFolder)\config.json". But when we do installation chocolatey usually updates the folder in lib and this json file is also get deleting. How can I use this config file and keep it in chocolateypackagefolder.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions