Open BlackBaroness opened 4 months ago
I have a fixed manifest
Fix is to create the folder and empty file in pre_install, e.g.
"pre_install": [
"if (!(Test-Path \"$persist_dir\\data\\preferences.xml\" -PathType Leaf)) ",
"{",
"New-Item -Path \"$dir\\data\" -ItemType Directory | Out-Null",
"New-Item -Path \"$dir\\data\\preferences.xml\" -ItemType File | Out-Null",
"}"
],
Prerequisites
Package Name
sweethome3d
Expected/Current Behaviour
Persistent file
preferences.xml
must be a file, but the installer creates it like a folder so the program can't write preferencesBesides that, I always get the "Can't save preferences in file system" when I launch the app even if I created that file manually. Something is wrong about it
Steps to Reproduce
Possible Solution
Make it create a file and not a directory. But I am not sure if it will help because I did it and still get the error at startup
Scoop and Buckets Version
Scoop Config
PowerShell Version
Additional Softwares
No response