New version 2.1.0
This commit is contained in:
parent
89871334e1
commit
165a12f7a6
|
|
@ -743,7 +743,7 @@ static NSTimeInterval updateSystemVolumeInterval=0.1f;
|
||||||
if (@available(macOS 16.0, *)) {
|
if (@available(macOS 16.0, *)) {
|
||||||
iTunes = [[PlayerApplication alloc] initWithBundleIdentifier:@"com.apple.Music" andIcon:[NSImage imageNamed:@"AppleMusicTahoe"]];
|
iTunes = [[PlayerApplication alloc] initWithBundleIdentifier:@"com.apple.Music" andIcon:[NSImage imageNamed:@"AppleMusicTahoe"]];
|
||||||
} else {
|
} else {
|
||||||
iTunes = [[PlayerApplication alloc] initWithBundleIdentifier:@"com.apple.iTunes" andIcon:[NSImage imageNamed:@"AppleMusicSequoia"]];
|
iTunes = [[PlayerApplication alloc] initWithBundleIdentifier:@"com.apple.Music" andIcon:[NSImage imageNamed:@"AppleMusicSequoia"]];
|
||||||
}
|
}
|
||||||
|
|
||||||
spotify = [[PlayerApplication alloc] initWithBundleIdentifier:@"com.spotify.client" andIcon:[NSImage imageNamed:@"spotify"]];
|
spotify = [[PlayerApplication alloc] initWithBundleIdentifier:@"com.spotify.client" andIcon:[NSImage imageNamed:@"spotify"]];
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
//this will be the path to the .app bundle,
|
//this will be the path to the .app bundle,
|
||||||
//not the executable inside it; exactly what `open` wants
|
//not the executable inside it; exactly what `open` wants
|
||||||
NSString *pathToUs = [[NSBundle mainBundle] bundlePath];
|
NSString *pathToUs = [[NSBundle mainBundle] bundlePath];
|
||||||
NSLog(@"%@",pathToUs);
|
//NSLog(@"%@",pathToUs);
|
||||||
|
|
||||||
NSArray *shArgs = @[
|
NSArray *shArgs = @[
|
||||||
@"-c", // -c tells sh to execute the next argument, passing it the remaining arguments.
|
@"-c", // -c tells sh to execute the next argument, passing it the remaining arguments.
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue