Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

Adobe AIR Windows app instance control

$
0
0

Hello!

 

I´have an old Adobe AIR Windows app. How can I prevent multiple instances of the app. For example one user account launches the app on login, then on a user switch a new instance is started. I want only one instance of the app running. I come up with an idéa of creating a .lock file that is created on start and deleted on app close. But what happens if the power of the computer is removed? Then the .lock file is present and the app can´t launch again. Any idéas?


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>