Skip to content

Commit 14af7ae

Browse files
committed
fix plist
1 parent 918f2f1 commit 14af7ae

4 files changed

Lines changed: 49 additions & 44 deletions

File tree

Info.plist

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,45 +2,45 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>CFBundleIconFile</key>
6-
<string>TunnelGuard</string>
7-
<key>CFBundleDevelopmentRegion</key>
8-
<string>en</string>
9-
<key>CFBundleExecutable</key>
10-
<string>TunnelGuard</string>
11-
<key>CFBundleIdentifier</key>
12-
<string>com.amirhpcom.tunnelguard</string>
13-
<key>CFBundleInfoDictionaryVersion</key>
14-
<string>6.0</string>
15-
<key>CFBundleName</key>
16-
<string>TunnelGuard</string>
17-
<key>CFBundleDisplayName</key>
18-
<string>TunnelGuard</string>
19-
<key>CFBundlePackageType</key>
20-
<string>APPL</string>
21-
<key>CFBundleShortVersionString</key>
22-
<string>1.0.0</string>
23-
<key>CFBundleVersion</key>
24-
<string>1</string>
25-
<key>LSMinimumSystemVersion</key>
26-
<string>13.0</string>
27-
<key>NSMainStoryboardFile</key>
28-
<string></string>
29-
<key>NSPrincipalClass</key>
30-
<string>NSApplication</string>
31-
<key>NSHumanReadableCopyright</key>
32-
<string>Copyright © 2026 Amirhossein Hosseinpour (Amirhp.Com), All rights reserved.</string>
33-
<key>NSSupportsAutomaticGraphicsSwitching</key>
34-
<true/>
35-
<key>NSHighResolutionCapable</key>
36-
<true/>
37-
<key>LSApplicationCategoryType</key>
38-
<string>public.app-category.utilities</string>
39-
<key>NSAppleScriptEnabled</key>
40-
<false/>
41-
<key>com.apple.security.network.client</key>
42-
<true/>
43-
<key>NSAppleEventsUsageDescription</key>
44-
<string>TunnelGuard needs administrator privileges to modify system routing table.</string>
5+
<key>CFBundleIconFile</key>
6+
<string>TunnelGuard</string>
7+
<key>CFBundleDevelopmentRegion</key>
8+
<string>en</string>
9+
<key>CFBundleExecutable</key>
10+
<string>TunnelGuard</string>
11+
<key>CFBundleIdentifier</key>
12+
<string>com.amirhpcom.tunnelguard</string>
13+
<key>CFBundleInfoDictionaryVersion</key>
14+
<string>6.0</string>
15+
<key>CFBundleName</key>
16+
<string>TunnelGuard</string>
17+
<key>CFBundleDisplayName</key>
18+
<string>TunnelGuard</string>
19+
<key>CFBundlePackageType</key>
20+
<string>APPL</string>
21+
<key>CFBundleShortVersionString</key>
22+
<string>1.4.0</string>
23+
<key>CFBundleVersion</key>
24+
<string>1</string>
25+
<key>LSMinimumSystemVersion</key>
26+
<string>13.0</string>
27+
<key>NSMainStoryboardFile</key>
28+
<string></string>
29+
<key>NSPrincipalClass</key>
30+
<string>NSApplication</string>
31+
<key>NSHumanReadableCopyright</key>
32+
<string>Copyright © 2026 Amirhossein Hosseinpour (Amirhp.Com), All rights reserved.</string>
33+
<key>NSSupportsAutomaticGraphicsSwitching</key>
34+
<true/>
35+
<key>NSHighResolutionCapable</key>
36+
<true/>
37+
<key>LSApplicationCategoryType</key>
38+
<string>public.app-category.utilities</string>
39+
<key>NSAppleScriptEnabled</key>
40+
<false/>
41+
<key>com.apple.security.network.client</key>
42+
<true/>
43+
<key>NSAppleEventsUsageDescription</key>
44+
<string>TunnelGuard needs administrator privileges to modify system routing table.</string>
4545
</dict>
4646
</plist>

TunnelGuard.app/Contents/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
<string>public.app-category.utilities</string>
4949
<key>LSMinimumSystemVersion</key>
5050
<string>13.0</string>
51+
<key>NSAppleEventsUsageDescription</key>
52+
<string>TunnelGuard needs administrator privileges to modify system routing table.</string>
5153
<key>NSAppleScriptEnabled</key>
5254
<false/>
5355
<key>NSHighResolutionCapable</key>
49.4 KB
Binary file not shown.

TunnelGuard.xcodeproj/project.pbxproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
BBC9201B2F5A61CD00623AFD /* Run Script */ = {
139139
isa = PBXShellScriptBuildPhase;
140140
alwaysOutOfDate = 1;
141-
buildActionMask = 2147483647;
141+
buildActionMask = 12;
142142
files = (
143143
);
144144
inputFileListPaths = (
@@ -152,7 +152,8 @@
152152
);
153153
runOnlyForDeploymentPostprocessing = 0;
154154
shellPath = /bin/sh;
155-
shellScript = "# Auto version & build number\nPLIST=\"${SRCROOT}/Info.plist\"\n\n# Build number = git commit count\nBUILD=$(git -C \"${SRCROOT}\" rev-list --count HEAD 2>/dev/null || echo \"1\")\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $BUILD\" \"$PLIST\"\n\n# Version from latest git tag\nTAG=$(git -C \"${SRCROOT}\" describe --tags --abbrev=0 2>/dev/null || echo \"\")\nif [ -n \"$TAG\" ]; then\n VERSION=\"${TAG#v}\"\n /usr/libexec/PlistBuddy -c \"Set :CFBundleShortVersionString $VERSION\" \"$PLIST\"\nfi\n\necho \"Version: $(cat /dev/stdin 2>/dev/null || true) → $VERSION ($BUILD)\"\n";
155+
shellScript = "# Bump in source\nBUILD=$(/usr/libexec/PlistBuddy -c \"Print :CFBundleVersion\" \"${SRCROOT}/Info.plist\" 2>/dev/null || echo \"0\")\nif ! [[ \"$BUILD\" =~ ^[0-9]+$ ]]; then BUILD=0; fi\nBUILD=$((BUILD + 1))\n/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $BUILD\" \"${SRCROOT}/Info.plist\"\n\n# Also bump in built product\nif [ -f \"${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}\" ]; then\n /usr/libexec/PlistBuddy -c \"Set :CFBundleVersion $BUILD\" \"${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}\"\nfi\n\necho \"Build number: $BUILD\"\n";
156+
showEnvVarsInLog = 0;
156157
};
157158
/* End PBXShellScriptBuildPhase section */
158159

@@ -305,8 +306,9 @@
305306
COMBINE_HIDPI_IMAGES = YES;
306307
CURRENT_PROJECT_VERSION = 6;
307308
DEAD_CODE_STRIPPING = YES;
309+
DEVELOPMENT_TEAM = DFDRW6TJH5;
308310
ENABLE_APP_SANDBOX = YES;
309-
ENABLE_HARDENED_RUNTIME = YES;
311+
ENABLE_HARDENED_RUNTIME = NO;
310312
ENABLE_OUTGOING_NETWORK_CONNECTIONS = YES;
311313
ENABLE_USER_SELECTED_FILES = readwrite;
312314
GENERATE_INFOPLIST_FILE = NO;
@@ -339,8 +341,9 @@
339341
COMBINE_HIDPI_IMAGES = YES;
340342
CURRENT_PROJECT_VERSION = 6;
341343
DEAD_CODE_STRIPPING = YES;
344+
DEVELOPMENT_TEAM = DFDRW6TJH5;
342345
ENABLE_APP_SANDBOX = YES;
343-
ENABLE_HARDENED_RUNTIME = YES;
346+
ENABLE_HARDENED_RUNTIME = NO;
344347
ENABLE_OUTGOING_NETWORK_CONNECTIONS = YES;
345348
ENABLE_USER_SELECTED_FILES = readwrite;
346349
GENERATE_INFOPLIST_FILE = NO;

0 commit comments

Comments
 (0)