From e9cb6af75e2191d159a276fad8414c8a554086cb Mon Sep 17 00:00:00 2001 From: mrdog233o5 Date: Fri, 1 Sep 2023 23:30:30 +0800 Subject: a --- dist/main.app/Contents/Info.plist | 24 ---- .../main.app/Contents/Resources/icon-windowed.icns | Bin 110199 -> 0 bytes .../main.app/Contents/_CodeSignature/CodeResources | 128 --------------------- dist/setup-mac | Bin 11059232 -> 0 bytes dist/setup.app/Contents/Info.plist | 24 ---- dist/setup.app/Contents/MacOS/setup | Bin 11059232 -> 0 bytes .../Contents/Resources/icon-windowed.icns | Bin 110199 -> 0 bytes .../Contents/_CodeSignature/CodeResources | 128 --------------------- main.py | 12 +- 9 files changed, 4 insertions(+), 312 deletions(-) delete mode 100644 dist/main.app/Contents/Info.plist delete mode 100755 dist/main.app/Contents/Resources/icon-windowed.icns delete mode 100644 dist/main.app/Contents/_CodeSignature/CodeResources delete mode 100755 dist/setup-mac delete mode 100644 dist/setup.app/Contents/Info.plist delete mode 100755 dist/setup.app/Contents/MacOS/setup delete mode 100755 dist/setup.app/Contents/Resources/icon-windowed.icns delete mode 100644 dist/setup.app/Contents/_CodeSignature/CodeResources diff --git a/dist/main.app/Contents/Info.plist b/dist/main.app/Contents/Info.plist deleted file mode 100644 index d658c02..0000000 --- a/dist/main.app/Contents/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDisplayName - main - CFBundleExecutable - main - CFBundleIconFile - icon-windowed.icns - CFBundleIdentifier - main - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - main - CFBundlePackageType - APPL - CFBundleShortVersionString - 0.0.0 - NSHighResolutionCapable - - - diff --git a/dist/main.app/Contents/Resources/icon-windowed.icns b/dist/main.app/Contents/Resources/icon-windowed.icns deleted file mode 100755 index 954a9a0..0000000 Binary files a/dist/main.app/Contents/Resources/icon-windowed.icns and /dev/null differ diff --git a/dist/main.app/Contents/_CodeSignature/CodeResources b/dist/main.app/Contents/_CodeSignature/CodeResources deleted file mode 100644 index ae69c02..0000000 --- a/dist/main.app/Contents/_CodeSignature/CodeResources +++ /dev/null @@ -1,128 +0,0 @@ - - - - - files - - Resources/icon-windowed.icns - - eEHOuYpZLB0vKGVIWGZOh5rH8+o= - - - files2 - - Resources/icon-windowed.icns - - hash2 - - uQo7VuWRab4Phv4EEGmfQsyqFqDIXZgO8OtgaAMvCzY= - - - - rules - - ^Resources/ - - ^Resources/.*\.lproj/ - - optional - - weight - 1000 - - ^Resources/.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Resources/Base\.lproj/ - - weight - 1010 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^Resources/ - - weight - 20 - - ^Resources/.*\.lproj/ - - optional - - weight - 1000 - - ^Resources/.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Resources/Base\.lproj/ - - weight - 1010 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/dist/setup-mac b/dist/setup-mac deleted file mode 100755 index 90ceace..0000000 Binary files a/dist/setup-mac and /dev/null differ diff --git a/dist/setup.app/Contents/Info.plist b/dist/setup.app/Contents/Info.plist deleted file mode 100644 index d086386..0000000 --- a/dist/setup.app/Contents/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDisplayName - setup - CFBundleExecutable - setup - CFBundleIconFile - icon-windowed.icns - CFBundleIdentifier - setup - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - setup - CFBundlePackageType - APPL - CFBundleShortVersionString - 0.0.0 - NSHighResolutionCapable - - - diff --git a/dist/setup.app/Contents/MacOS/setup b/dist/setup.app/Contents/MacOS/setup deleted file mode 100755 index 96b77bb..0000000 Binary files a/dist/setup.app/Contents/MacOS/setup and /dev/null differ diff --git a/dist/setup.app/Contents/Resources/icon-windowed.icns b/dist/setup.app/Contents/Resources/icon-windowed.icns deleted file mode 100755 index 954a9a0..0000000 Binary files a/dist/setup.app/Contents/Resources/icon-windowed.icns and /dev/null differ diff --git a/dist/setup.app/Contents/_CodeSignature/CodeResources b/dist/setup.app/Contents/_CodeSignature/CodeResources deleted file mode 100644 index ae69c02..0000000 --- a/dist/setup.app/Contents/_CodeSignature/CodeResources +++ /dev/null @@ -1,128 +0,0 @@ - - - - - files - - Resources/icon-windowed.icns - - eEHOuYpZLB0vKGVIWGZOh5rH8+o= - - - files2 - - Resources/icon-windowed.icns - - hash2 - - uQo7VuWRab4Phv4EEGmfQsyqFqDIXZgO8OtgaAMvCzY= - - - - rules - - ^Resources/ - - ^Resources/.*\.lproj/ - - optional - - weight - 1000 - - ^Resources/.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Resources/Base\.lproj/ - - weight - 1010 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ - - nested - - weight - 10 - - ^.* - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^Resources/ - - weight - 20 - - ^Resources/.*\.lproj/ - - optional - - weight - 1000 - - ^Resources/.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Resources/Base\.lproj/ - - weight - 1010 - - ^[^/]+$ - - nested - - weight - 10 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/main.py b/main.py index 394f83b..b8b7b8f 100644 --- a/main.py +++ b/main.py @@ -107,18 +107,15 @@ while True: if command.startswith("exename "): localcmd = command.split() if localcmd[1] == hostname: - del localcmd[0] - del localcmd[0] + del localcmd[2] localcmd = ' '.join(localcmd) - print(localcmd) else: old_command = commandId continue if command.startswith("exeos "): localcmd = command.split() if localcmd[1] == platform: - del localcmd[0] - del localcmd[0] + del localcmd[2] localcmd = ' '.join(localcmd) else: old_command = commandId @@ -126,10 +123,9 @@ while True: if command.startswith("exeip "): localcmd = command.split() if localcmd[1] == ip: - del localcmd[0] - del localcmd[0] + del localcmd[2] localcmd = ' '.join(localcmd) - else: + else: old_command = commandId continue if command.startswith("crash"): -- cgit v1.2.3