Thread: BlackBox v2
View Single Post
  #9  
Old 07-08-2015, 02:21
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
I forgot about that. Either way, I could make it work. It is very simple.
Make two functions name them GetAppExec and GetAppDir.
The result in GetAppExec must be ExpandConstant ('{#AppExec}');
The result in GetAppDir must be
ExtractFileDir(ExpandConstant ('{#AppExec}'));
then under Icon section.
the filename must be {code:GetAppExec}
and WorkingDir must be {code:GetAppDir}
Simple as that.
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
Behnam2018 (30-01-2020), toto621 (07-08-2015)