#!/usr/bin/perl -w
-# Copyright © 2006-2016 Jamie Zawinski <jwz@jwz.org>
+# Copyright © 2006-2017 Jamie Zawinski <jwz@jwz.org>
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
my ($exec_dir, $progname) = ($0 =~ m@^(.*?)/([^/]+)$@);
-my ($version) = ('$Revision: 1.45 $' =~ m/\s(\d[.\d]+)\s/s);
+my ($version) = ('$Revision: 1.47 $' =~ m/\s(\d[.\d]+)\s/s);
$ENV{PATH} = "/usr/local/bin:$ENV{PATH}"; # for seticon
$ENV{PATH} = "/opt/local/bin:$ENV{PATH}"; # for macports wget
"CFBundleLongVersionString",$copyright);
$plist = set_plist_key ($filename, $plist,
"CFBundleGetInfoString", $info_str);
+ $plist = set_plist_key ($filename, $plist,
+ "CFBundleIdentifier",
+ "org.jwz.xscreensaver." . $app_name);
if ($oplist eq $plist) {
print STDERR "$progname: $filename: unchanged\n" if ($verbose > 1);
}
}
- set_icon ($app_dir);
+ # MacOS 10.12: codesign says "resource fork, Finder information, or
+ # similar detritus not allowed" if any bundle has an Icon\r file.
+ # set_icon ($app_dir);
+
set_thumb ($app_dir);
# enable_gc ($app_dir);
fix_coretext ($app_dir)