So I accidentally commented out a variable setting a string to a posix path which had my username in it. I didn’t replace the code… exported as run only the Enhanced App. Another user with no previous copy of the app opened it. Instead of erroring that the variable didn’t exist, it reported an error that it could not find the file at the original posix path run on my Mac when testing.
This caught me off guard. Just as I have had issues with properties for variables not going away. Is it possible the Exported Enhanced App somehow is storing properties in it? I thought it was reset when Exported.
I know you’re not going to believe me but it did not. I watched it happen over slack. There’s a small chance I only recompiled the script being called by the app and not the actual app, however I exported it as run only which I thought did the same.
So just to clarify…I have an app calling a script.scptd. The app doesn’t have any reference to a variable. I made edits to the script.scptd commented the variable out and recompiled it. I then exported the parent app without recompiling it and the script recalled the variable through the App instead of erroring the variable was undefined…In other words the App running the script stored variables. Does that make sense? I understand recompiling the App would resolve it, but want to verify your confirming.