I have a problem regarding the toolkit variable.
I used an variable $envLocalAppData, it was OK to run with ps1 file in windows powershell ISE. But failed to run directly with double click on the Deploy-Application.exe file.
Test-Path -LiteralPath “$envLocalAppData.cameo.systems.modeler\19.0”
It would redirect to wrong folder with double click on the Deploy-Application.exe file
The correct one is as below, which could be realized with ps1 file.
As I finally use it with the exe file. Do you know why?