1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-27 08:36:10 +01:00

Rename executable names and package name

Switch folder paths to tenacity

Signed-off-by: Ajay Ramachandran <dev@ajay.app>
This commit is contained in:
Ajay Ramachandran
2021-07-07 21:30:16 -04:00
committed by Panagiotis Vasilopoulos
parent 587564add4
commit cb7a6c9056
17 changed files with 34 additions and 34 deletions

View File

@@ -239,7 +239,7 @@ FilePath FileNames::DataDir()
// the prefs are stored in the user data dir provided by the OS.
wxFileName exePath(PlatformCompatibility::GetExecutablePath());
#if defined(__WXMAC__)
// Path ends for example in "Audacity.app/Contents/MacOSX"
// Path ends for example in "Tenacity.app/Contents/MacOSX"
//exePath.RemoveLastDir();
//exePath.RemoveLastDir();
// just remove the MacOSX part.
@@ -273,13 +273,13 @@ FilePath FileNames::HtmlHelpDir()
{
#if defined(__WXMAC__)
wxFileName exePath(PlatformCompatibility::GetExecutablePath());
// Path ends for example in "Audacity.app/Contents/MacOSX"
// Path ends for example in "Tenacity.app/Contents/MacOSX"
//exePath.RemoveLastDir();
//exePath.RemoveLastDir();
// just remove the MacOSX part.
exePath.RemoveLastDir();
//for mac this puts us within the .app: Audacity.app/Contents/SharedSupport/
//for mac this puts us within the .app: Tenacity.app/Contents/SharedSupport/
return wxFileName( exePath.GetPath()+wxT("/help/manual"), wxEmptyString ).GetFullPath();
#else
//linux goes into /*prefix*/share/audacity/
@@ -332,7 +332,7 @@ FilePath FileNames::BaseDir()
#if defined(__WXMAC__)
baseDir = PlatformCompatibility::GetExecutablePath();
// Path ends for example in "Audacity.app/Contents/MacOSX"
// Path ends for example in "Tenacity.app/Contents/MacOSX"
//baseDir.RemoveLastDir();
//baseDir.RemoveLastDir();
// just remove the MacOSX part.