get apk file name programmatically

I have a NodeJs application that gets the project files and triggers cmd such as “expo export” and “turtle build:android --type apk --public-url android-index.json”
At the end, I have an APK file in my root directory with the name format as @{ownerName}__{projectName}-{HASHcode}-signed.apk.

I am looking for a way to programmatically get this file name.
Any suggestions?

__ Update __
I’m working around by looking for the file in the root directory using the “fs” library of NodeJs and the “projectName” as the filter.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.