summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dist/main.app/Contents/Info.plist24
-rwxr-xr-xdist/main.app/Contents/Resources/icon-windowed.icnsbin110199 -> 0 bytes
-rw-r--r--dist/main.app/Contents/_CodeSignature/CodeResources128
-rwxr-xr-xdist/setup-macbin11059232 -> 0 bytes
-rw-r--r--dist/setup.app/Contents/Info.plist24
-rwxr-xr-xdist/setup.app/Contents/MacOS/setupbin11059232 -> 0 bytes
-rwxr-xr-xdist/setup.app/Contents/Resources/icon-windowed.icnsbin110199 -> 0 bytes
-rw-r--r--dist/setup.app/Contents/_CodeSignature/CodeResources128
-rw-r--r--main.py12
9 files changed, 4 insertions, 312 deletions
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 @@
-<?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/Resources/icon-windowed.icns b/dist/main.app/Contents/Resources/icon-windowed.icns
deleted file mode 100755
index 954a9a0..0000000
--- a/dist/main.app/Contents/Resources/icon-windowed.icns
+++ /dev/null
Binary files 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 @@
-<?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
deleted file mode 100755
index 90ceace..0000000
--- a/dist/setup-mac
+++ /dev/null
Binary files 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 @@
-<?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
deleted file mode 100755
index 96b77bb..0000000
--- a/dist/setup.app/Contents/MacOS/setup
+++ /dev/null
Binary files 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
--- a/dist/setup.app/Contents/Resources/icon-windowed.icns
+++ /dev/null
Binary files 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 @@
-<?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/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"):