PRODUCT_NAME -> PRODUCT_FAMILY
PRODUCT_NAME_VER -> PRODUCT_ID_VER
This commit is contained in:
@@ -240,7 +240,7 @@ void ArchHooks::MountInitialFilesystems( const RString &sDirOfExecutable )
|
|||||||
* scores. It would need to handle permissions properly. */
|
* scores. It would need to handle permissions properly. */
|
||||||
/* RageFileManager::Mount( "dir", "/var/lib/games/stepmania", "/Save/Profiles" ); */
|
/* RageFileManager::Mount( "dir", "/var/lib/games/stepmania", "/Save/Profiles" ); */
|
||||||
|
|
||||||
// RString Home = getenv( "HOME" ) + "/" + PRODUCT_NAME;
|
// RString Home = getenv( "HOME" ) + "/" + PRODUCT_ID;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Next: path to write general mutable user data. If the above path fails (eg.
|
* Next: path to write general mutable user data. If the above path fails (eg.
|
||||||
@@ -250,10 +250,10 @@ void ArchHooks::MountInitialFilesystems( const RString &sDirOfExecutable )
|
|||||||
* seems wrong to put lots of data (eg. music) in one. Hmm.
|
* seems wrong to put lots of data (eg. music) in one. Hmm.
|
||||||
*/
|
*/
|
||||||
/* XXX: create */
|
/* XXX: create */
|
||||||
/* RageFileManager::Mount( "dir", Home + "." PRODUCT_NAME, "/Data" ); */
|
/* RageFileManager::Mount( "dir", Home + "." PRODUCT_ID, "/Data" ); */
|
||||||
|
|
||||||
/* Next, search ~/StepMania. This is where users can put music, themes, etc. */
|
/* Next, search ~/StepMania. This is where users can put music, themes, etc. */
|
||||||
/* RageFileManager::Mount( "dir", Home + PRODUCT_NAME, "/" ); */
|
/* RageFileManager::Mount( "dir", Home + PRODUCT_ID, "/" ); */
|
||||||
|
|
||||||
/* Search for a directory with "Songs" in it. Be careful: the CWD is likely to
|
/* Search for a directory with "Songs" in it. Be careful: the CWD is likely to
|
||||||
* be ~, and it's possible that some users will have a ~/Songs/ directory that
|
* be ~, and it's possible that some users will have a ~/Songs/ directory that
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ static CFOptionFlags ShowAlert( CFOptionFlags flags, const RString& sMessage, CF
|
|||||||
CFOptionFlags result;
|
CFOptionFlags result;
|
||||||
CFStringRef text = CFStringCreateWithCString( NULL, sMessage, kCFStringEncodingUTF8 );
|
CFStringRef text = CFStringCreateWithCString( NULL, sMessage, kCFStringEncodingUTF8 );
|
||||||
|
|
||||||
CFUserNotificationDisplayAlert( 0.0, flags, NULL, NULL, NULL, CFSTR(PRODUCT_NAME),
|
CFUserNotificationDisplayAlert( 0.0, flags, NULL, NULL, NULL, CFSTR(PRODUCT_ID),
|
||||||
text, OK, alt, other, &result );
|
text, OK, alt, other, &result );
|
||||||
CFRelease( text );
|
CFRelease( text );
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
@@ -275,7 +275,7 @@ static void child_process()
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf( CrashDump, "%s crash report", PRODUCT_NAME_VER );
|
fprintf( CrashDump, "%s crash report", PRODUCT_ID_VER );
|
||||||
#if defined(HAVE_VERSION_INFO)
|
#if defined(HAVE_VERSION_INFO)
|
||||||
fprintf( CrashDump, " (build %u)", version_num);
|
fprintf( CrashDump, " (build %u)", version_num);
|
||||||
#endif
|
#endif
|
||||||
@@ -359,7 +359,7 @@ static void child_process()
|
|||||||
|
|
||||||
fprintf( tty,
|
fprintf( tty,
|
||||||
"\n"
|
"\n"
|
||||||
PRODUCT_NAME " has crashed. Debug information has been output to\n"
|
PRODUCT_ID " has crashed. Debug information has been output to\n"
|
||||||
"\n"
|
"\n"
|
||||||
" " + sCrashInfoPath + "\n"
|
" " + sCrashInfoPath + "\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
#include "RageUtil.h"
|
#include "RageUtil.h"
|
||||||
#include "RageDisplay.h"
|
#include "RageDisplay.h"
|
||||||
|
|
||||||
static const RString g_sClassName = RString(PRODUCT_NAME) + " LowLevelWindow_Win32";
|
static const RString g_sClassName = RString(PRODUCT_ID) + " LowLevelWindow_Win32";
|
||||||
|
|
||||||
static VideoModeParams g_CurrentParams;
|
static VideoModeParams g_CurrentParams;
|
||||||
static bool g_bResolutionChanged = false;
|
static bool g_bResolutionChanged = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user