-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
369 additions
and
1 deletion.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
ZjoocHelper.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"pins" : [ | ||
{ | ||
"identity" : "alamofire", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/Alamofire/Alamofire.git", | ||
"state" : { | ||
"revision" : "354dda32d89fc8cd4f5c46487f64957d355f53d8", | ||
"version" : "5.6.1" | ||
} | ||
}, | ||
{ | ||
"identity" : "launchatlogin", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/sindresorhus/LaunchAtLogin", | ||
"state" : { | ||
"branch" : "main", | ||
"revision" : "e8171b3e38a2816f579f58f3dac1522aa39efe41" | ||
} | ||
}, | ||
{ | ||
"identity" : "swiftfulloadingindicators", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/SwiftfulThinking/SwiftfulLoadingIndicators.git", | ||
"state" : { | ||
"revision" : "85858c0246dcd781228301f9928519f75ce89758", | ||
"version" : "0.0.4" | ||
} | ||
} | ||
], | ||
"version" : 2 | ||
} |
Binary file added
BIN
+14.3 KB
...deproj/project.xcworkspace/xcuserdata/0nefatal.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>BuildMachineOSBuild</key> | ||
<string>21E258</string> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleExecutable</key> | ||
<string>ZjoocHelper</string> | ||
<key>CFBundleIconName</key> | ||
<string>AppIcon</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.0nefatal.idea.ZjoocHelper</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>ZjoocHelper</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleSupportedPlatforms</key> | ||
<array> | ||
<string>MacOSX</string> | ||
</array> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
<key>DTCompiler</key> | ||
<string>com.apple.compilers.llvm.clang.1_0</string> | ||
<key>DTPlatformBuild</key> | ||
<string>13E500a</string> | ||
<key>DTPlatformName</key> | ||
<string>macosx</string> | ||
<key>DTPlatformVersion</key> | ||
<string>12.3</string> | ||
<key>DTSDKBuild</key> | ||
<string>21E226</string> | ||
<key>DTSDKName</key> | ||
<string>macosx12.3</string> | ||
<key>DTXcode</key> | ||
<string>1331</string> | ||
<key>DTXcodeBuild</key> | ||
<string>13E500a</string> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>12.1</string> | ||
<key>LSUIElement</key> | ||
<true/> | ||
<key>NSHumanReadableCopyright</key> | ||
<string></string> | ||
<key>Networ</key> | ||
<string></string> | ||
</dict> | ||
</plist> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
APPL???? |
Binary file not shown.
40 changes: 40 additions & 0 deletions
40
...ZjoocHelper.app/Contents/Resources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>BuildMachineOSBuild</key> | ||
<string>21E258</string> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>LaunchAtLogin-LaunchAtLogin-resources</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>LaunchAtLogin_LaunchAtLogin</string> | ||
<key>CFBundlePackageType</key> | ||
<string>BNDL</string> | ||
<key>CFBundleSupportedPlatforms</key> | ||
<array> | ||
<string>MacOSX</string> | ||
</array> | ||
<key>DTCompiler</key> | ||
<string>com.apple.compilers.llvm.clang.1_0</string> | ||
<key>DTPlatformBuild</key> | ||
<string>13E500a</string> | ||
<key>DTPlatformName</key> | ||
<string>macosx</string> | ||
<key>DTPlatformVersion</key> | ||
<string>12.3</string> | ||
<key>DTSDKBuild</key> | ||
<string>21E226</string> | ||
<key>DTSDKName</key> | ||
<string>macosx12.3</string> | ||
<key>DTXcode</key> | ||
<string>1331</string> | ||
<key>DTXcodeBuild</key> | ||
<string>13E500a</string> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>10.12</string> | ||
</dict> | ||
</plist> |
8 changes: 8 additions & 0 deletions
8
...esources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/LaunchAtLogin.entitlements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>com.apple.security.app-sandbox</key> | ||
<true/> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+3.23 MB
...aunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/LaunchAtLoginHelper-with-runtime.zip
Binary file not shown.
Binary file added
BIN
+25.3 KB
...s/Resources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/LaunchAtLoginHelper.zip
Binary file not shown.
50 changes: 50 additions & 0 deletions
50
...ts/Resources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/copy-helper-swiftpm.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/bin/bash | ||
|
||
HELPER_CHECKSUM="0a3d09438fb595802d554ce0a7c4ba8e1d2d91d5170362adc965da82e70d74cb" | ||
HELPER_CHECKSUM_RUNTIME="98ef556b490e02f4084a11d8a07c33a880177a9816b355885a11f58c95876d62" | ||
|
||
verlte() { | ||
[ "$1" = "`echo -e "$1\n$2" | sort -V | head -n1`" ] | ||
} | ||
|
||
if verlte "10.14.4" "$MACOSX_DEPLOYMENT_TARGET"; then | ||
helper_name="LaunchAtLoginHelper" | ||
checksum="$HELPER_CHECKSUM" | ||
else | ||
helper_name="LaunchAtLoginHelper-with-runtime" | ||
checksum="$HELPER_CHECKSUM_RUNTIME" | ||
fi | ||
|
||
package_resources_path="$BUILT_PRODUCTS_DIR/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources" | ||
|
||
helper_path="$package_resources_path/$helper_name.zip" | ||
|
||
contents_path="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH" | ||
login_items="$contents_path/Library/LoginItems" | ||
login_helper_path="$login_items/LaunchAtLoginHelper.app" | ||
|
||
rm -rf "$login_helper_path" | ||
mkdir -p "$login_items" | ||
|
||
# Verify SHA256 checksum of LaunchAtLoginHelper. | ||
zip_checksum="$(shasum -a 256 "$helper_path" | awk '{print $1}')" | ||
|
||
if [[ "$zip_checksum" != "$checksum" ]]; then | ||
echo "Wrong checksum of LaunchAtLoginHelper" | ||
exit 1 | ||
fi | ||
|
||
unzip "$helper_path" -d "$login_items/" | ||
|
||
defaults write "$login_helper_path/Contents/Info" CFBundleIdentifier -string "$PRODUCT_BUNDLE_IDENTIFIER-LaunchAtLoginHelper" | ||
|
||
if [[ -n $CODE_SIGN_ENTITLEMENTS ]]; then | ||
codesign --force --entitlements="$package_resources_path/LaunchAtLogin.entitlements" --deep --options=runtime --sign="$EXPANDED_CODE_SIGN_IDENTITY_NAME" "$login_helper_path" | ||
else | ||
codesign --force --deep --options=runtime --sign="$EXPANDED_CODE_SIGN_IDENTITY_NAME" "$helper_path" | ||
fi | ||
|
||
# If this is being built for multiple architectures, assume it is a release build and we should clean up. | ||
if [[ $ONLY_ACTIVE_ARCH == "NO" ]]; then | ||
rm -rf "$contents_path/Resources/LaunchAtLogin_LaunchAtLogin.bundle" | ||
fi |
183 changes: 183 additions & 0 deletions
183
build/ZjoocHelper.app/Contents/_CodeSignature/CodeResources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>files</key> | ||
<dict> | ||
<key>Resources/Assets.car</key> | ||
<data> | ||
AWJFC87+kw9K1xkbv0p30j1LQDs= | ||
</data> | ||
<key>Resources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Info.plist</key> | ||
<data> | ||
nOnQukshRsktAl4hdHDzOXAshCQ= | ||
</data> | ||
<key>Resources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/LaunchAtLogin.entitlements</key> | ||
<data> | ||
EPWnZClCepLXTlRBQz8jOgCUyHo= | ||
</data> | ||
<key>Resources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/LaunchAtLoginHelper-with-runtime.zip</key> | ||
<data> | ||
ENUoxt0NXRKqIzXtfZ4+zjsLWfA= | ||
</data> | ||
<key>Resources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/LaunchAtLoginHelper.zip</key> | ||
<data> | ||
XHEUmESAY3dj/Og1p0TdBMdYn6Y= | ||
</data> | ||
<key>Resources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/copy-helper-swiftpm.sh</key> | ||
<data> | ||
zzrivka5COZUwQCrZGPm674x+28= | ||
</data> | ||
</dict> | ||
<key>files2</key> | ||
<dict> | ||
<key>Resources/Assets.car</key> | ||
<dict> | ||
<key>hash2</key> | ||
<data> | ||
d0+o17Rkbj2TX2Eyjs9uojQhDKJmWBikTz0IVBR1osM= | ||
</data> | ||
</dict> | ||
<key>Resources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Info.plist</key> | ||
<dict> | ||
<key>hash2</key> | ||
<data> | ||
AYOUUNCiylgqJ0wEexPgkeq+L1vosgacqVhdY/D9zdo= | ||
</data> | ||
</dict> | ||
<key>Resources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/LaunchAtLogin.entitlements</key> | ||
<dict> | ||
<key>hash2</key> | ||
<data> | ||
t0bHSyAeavTghk+9H09in5YVan7EtyCLyZXQpQibtZI= | ||
</data> | ||
</dict> | ||
<key>Resources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/LaunchAtLoginHelper-with-runtime.zip</key> | ||
<dict> | ||
<key>hash2</key> | ||
<data> | ||
mO9Va0kOAvQIShHYoHwzqIAXepgWs1WIWhH1jJWHbWI= | ||
</data> | ||
</dict> | ||
<key>Resources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/LaunchAtLoginHelper.zip</key> | ||
<dict> | ||
<key>hash2</key> | ||
<data> | ||
Cj0JQ4+1lYAtVUzgp8S6jh0tkdUXA2KtyWXagucNdMs= | ||
</data> | ||
</dict> | ||
<key>Resources/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/copy-helper-swiftpm.sh</key> | ||
<dict> | ||
<key>hash2</key> | ||
<data> | ||
Et+GggviyujGnXLody9lxXeAgPqM3DTWiCqJbrDZujk= | ||
</data> | ||
</dict> | ||
</dict> | ||
<key>rules</key> | ||
<dict> | ||
<key>^Resources/</key> | ||
<true/> | ||
<key>^Resources/.*\.lproj/</key> | ||
<dict> | ||
<key>optional</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>1000</real> | ||
</dict> | ||
<key>^Resources/.*\.lproj/locversion.plist$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>1100</real> | ||
</dict> | ||
<key>^Resources/Base\.lproj/</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>1010</real> | ||
</dict> | ||
<key>^version.plist$</key> | ||
<true/> | ||
</dict> | ||
<key>rules2</key> | ||
<dict> | ||
<key>.*\.dSYM($|/)</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>11</real> | ||
</dict> | ||
<key>^(.*/)?\.DS_Store$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>2000</real> | ||
</dict> | ||
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key> | ||
<dict> | ||
<key>nested</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>10</real> | ||
</dict> | ||
<key>^.*</key> | ||
<true/> | ||
<key>^Info\.plist$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>20</real> | ||
</dict> | ||
<key>^PkgInfo$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>20</real> | ||
</dict> | ||
<key>^Resources/</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>20</real> | ||
</dict> | ||
<key>^Resources/.*\.lproj/</key> | ||
<dict> | ||
<key>optional</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>1000</real> | ||
</dict> | ||
<key>^Resources/.*\.lproj/locversion.plist$</key> | ||
<dict> | ||
<key>omit</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>1100</real> | ||
</dict> | ||
<key>^Resources/Base\.lproj/</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>1010</real> | ||
</dict> | ||
<key>^[^/]+$</key> | ||
<dict> | ||
<key>nested</key> | ||
<true/> | ||
<key>weight</key> | ||
<real>10</real> | ||
</dict> | ||
<key>^embedded\.provisionprofile$</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>20</real> | ||
</dict> | ||
<key>^version\.plist$</key> | ||
<dict> | ||
<key>weight</key> | ||
<real>20</real> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |