mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 03:04:00 +00:00
Use python2.7
This commit is contained in:
parent
323d1cd0ca
commit
a315f7b322
|
@ -5,7 +5,7 @@
|
|||
//
|
||||
// (MN) Matthias Neeracher
|
||||
//
|
||||
// Copyright © 2005-2011 Matthias Neeracher
|
||||
// Copyright © 2005-2017 Matthias Neeracher
|
||||
//
|
||||
|
||||
#import "VLAppController.h"
|
||||
|
@ -192,6 +192,8 @@
|
|||
} else if (toolPath && !appPath) {
|
||||
wantTool = true;
|
||||
[defaults setObject:toolPath forKey:@"VLLilypondPath"];
|
||||
} else {
|
||||
[defaults setObject:(wantTool ? toolPath : appPath) forKey:@"VLLilypondPath"];
|
||||
}
|
||||
[lilypondPath selectItemWithTag:wantTool ? 0 : 1];
|
||||
|
||||
|
@ -258,11 +260,11 @@
|
|||
url:[NSURL URLWithString:@"http://lilypond.org/web/install"]]
|
||||
)
|
||||
quit = YES;
|
||||
if (![self getLineFromCommand:@"bash -l -c 'which python2.5'"])
|
||||
if (![self getLineFromCommand:@"bash -l -c 'which python2.7'"])
|
||||
if ([self promptForSoftwareInstallation:@"Download from python.org"
|
||||
withTitle: @"Python 2.5 Not Found!"
|
||||
withTitle: @"Python 2.7 Not Found!"
|
||||
explanation:
|
||||
@"Python 2.5 is needed to play accompaniments. The "
|
||||
@"Python 2.7 is needed to play accompaniments. The "
|
||||
"version preinstalled on your computer is not recent "
|
||||
"enough. If you continue without installing, you will be "
|
||||
"unable to play accompaniments, or save as MIDI.%@"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python2.5
|
||||
#!/usr/bin/env python2.7
|
||||
|
||||
"""
|
||||
The program "MMA - Musical Midi Accompaniment" and the associated
|
||||
|
|
Loading…
Reference in New Issue
Block a user