Skip to content

Commit 4a436a1

Browse files
committed
Package: Create structure for 10.4 package
1 parent 340c9a6 commit 4a436a1

File tree

4 files changed

+67
-0
lines changed

4 files changed

+67
-0
lines changed

MacHyperVSupport.xcodeproj/project.pbxproj

+11
Original file line numberDiff line numberDiff line change
@@ -952,10 +952,21 @@
952952
path = BuildScripts;
953953
sourceTree = "<group>";
954954
};
955+
41AD08EE2D7346BF00E1F91F /* package */ = {
956+
isa = PBXGroup;
957+
children = (
958+
41AD08F12D73473A00E1F91F /* Description.plist */,
959+
41AD08EF2D7346E800E1F91F /* Info.plist */,
960+
41AD08F32D73681F00E1F91F /* postinstall */,
961+
);
962+
path = package;
963+
sourceTree = "<group>";
964+
};
955965
41AD08F22D7359CE00E1F91F /* Tools */ = {
956966
isa = PBXGroup;
957967
children = (
958968
417C978C289217CA00CFE0B2 /* Daemons */,
969+
41AD08EE2D7346BF00E1F91F /* package */,
959970
);
960971
path = Tools;
961972
sourceTree = "<group>";

Tools/package/Description.plist

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IFPkgDescriptionDescription</key>
6+
<string>MacHyperVSupport Tools</string>
7+
<key>IFPkgDescriptionTitle</key>
8+
<string>MacHyperVSupport Tools</string>
9+
</dict>
10+
</plist>

Tools/package/Info.plist

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleIdentifier</key>
6+
<string></string>
7+
<key>CFBundleShortVersionString</key>
8+
<string></string>
9+
<key>IFPkgFlagAllowBackRev</key>
10+
<false/>
11+
<key>IFPkgFlagAuthorizationAction</key>
12+
<string>RootAuthorization</string>
13+
<key>IFPkgFlagDefaultLocation</key>
14+
<string>/</string>
15+
<key>IFPkgFlagFollowLinks</key>
16+
<true/>
17+
<key>IFPkgFlagInstallFat</key>
18+
<false/>
19+
<key>IFPkgFlagIsRequired</key>
20+
<true/>
21+
<key>IFPkgFlagOverwritePermissions</key>
22+
<false/>
23+
<key>IFPkgFlagRelocatable</key>
24+
<false/>
25+
<key>IFPkgFlagRestartAction</key>
26+
<string>NoRestart</string>
27+
<key>IFPkgFlagRootVolumeOnly</key>
28+
<true/>
29+
<key>IFPkgFlagUpdateInstalledLanguages</key>
30+
<false/>
31+
<key>IFPkgFormatVersion</key>
32+
<real>0.1</real>
33+
</dict>
34+
</plist>

Tools/package/postinstall

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/sh
2+
#
3+
# postinstall
4+
# MacHyperVSupport Tools package postinstall script
5+
#
6+
7+
dir_launchdaemons="Library/LaunchDaemons"
8+
9+
# Load LaunchDaemons.
10+
launchctl load ${dir_launchdaemons}/fish.goldfish64.hvfilecopyd.plist || exit 1
11+
launchctl load ${dir_launchdaemons}/fish.goldfish64.hvshutdownd.plist || exit 1
12+
launchctl load ${dir_launchdaemons}/fish.goldfish64.hvtimesyncd.plist || exit 1

0 commit comments

Comments
 (0)