New version 2.1.0

This commit is contained in:
Andrea Alberti 2025-10-26 12:18:37 +01:00
parent 89871334e1
commit 165a12f7a6
4 changed files with 2 additions and 2 deletions

View File

@ -743,7 +743,7 @@ static NSTimeInterval updateSystemVolumeInterval=0.1f;
if (@available(macOS 16.0, *)) {
iTunes = [[PlayerApplication alloc] initWithBundleIdentifier:@"com.apple.Music" andIcon:[NSImage imageNamed:@"AppleMusicTahoe"]];
} 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"]];

View File

@ -45,7 +45,7 @@
//this will be the path to the .app bundle,
//not the executable inside it; exactly what `open` wants
NSString *pathToUs = [[NSBundle mainBundle] bundlePath];
NSLog(@"%@",pathToUs);
//NSLog(@"%@",pathToUs);
NSArray *shArgs = @[
@"-c", // -c tells sh to execute the next argument, passing it the remaining arguments.

Binary file not shown.

Binary file not shown.