Quote:
Originally Posted by arti
Hello, I'm preparing 3.1 release which will include AGA version.
I need help to modify install script to be able to choose between RTG and/or AGA.
|
You can use this sequence to check whether you are in an RTG environment or not:
Code:
(if (= 0 (run "version >nil: cybergraphics.library" (safe)))
(set #msg "RTG")
;else
(set #msg "Native")
)
Despite the name, cybergraphics.library is used by Picasso96, too.
Note that you cannot use the builtin function getversion because it only checks files but not resident modules. Picasso96 creates the library only in memory, not on disk.