Commit fb189a0 1 parent 2204c71 commit fb189a0 Copy full SHA for fb189a0
File tree 4 files changed +90
-0
lines changed
4 files changed +90
-0
lines changed Original file line number Diff line number Diff line change
1
+ # PowerShell enabler
2
+ import subprocess , sys
3
+ arg = ['powershell' ]
4
+ arg .extend (sys .argv [1 :])
5
+ subprocess .run (arg )
Original file line number Diff line number Diff line change
1
+ # -*- mode: python ; coding: utf-8 -*-
2
+
3
+
4
+ block_cipher = None
5
+
6
+
7
+ a = Analysis (['pyps.py' ],
8
+ pathex = [],
9
+ binaries = [],
10
+ datas = [],
11
+ hiddenimports = [],
12
+ hookspath = [],
13
+ hooksconfig = {},
14
+ runtime_hooks = [],
15
+ excludes = [],
16
+ win_no_prefer_redirects = False ,
17
+ win_private_assemblies = False ,
18
+ cipher = block_cipher ,
19
+ noarchive = False )
20
+ pyz = PYZ (a .pure , a .zipped_data ,
21
+ cipher = block_cipher )
22
+
23
+ exe = EXE (pyz ,
24
+ a .scripts ,
25
+ a .binaries ,
26
+ a .zipfiles ,
27
+ a .datas ,
28
+ [],
29
+ name = 'pyps' ,
30
+ debug = False ,
31
+ bootloader_ignore_signals = False ,
32
+ strip = False ,
33
+ upx = True ,
34
+ upx_exclude = [],
35
+ runtime_tmpdir = None ,
36
+ console = True ,
37
+ disable_windowed_traceback = False ,
38
+ target_arch = None ,
39
+ codesign_identity = None ,
40
+ entitlements_file = None , icon = 'powershell.ico' )
Original file line number Diff line number Diff line change
1
+ # CMD shell enabler
2
+ import subprocess , sys
3
+ arg = ['cmd' ]
4
+ arg .extend (sys .argv [1 :])
5
+ subprocess .run (arg )
Original file line number Diff line number Diff line change
1
+ # -*- mode: python ; coding: utf-8 -*-
2
+
3
+
4
+ block_cipher = None
5
+
6
+
7
+ a = Analysis (['pysh.py' ],
8
+ pathex = [],
9
+ binaries = [],
10
+ datas = [],
11
+ hiddenimports = [],
12
+ hookspath = [],
13
+ hooksconfig = {},
14
+ runtime_hooks = [],
15
+ excludes = [],
16
+ win_no_prefer_redirects = False ,
17
+ win_private_assemblies = False ,
18
+ cipher = block_cipher ,
19
+ noarchive = False )
20
+ pyz = PYZ (a .pure , a .zipped_data ,
21
+ cipher = block_cipher )
22
+
23
+ exe = EXE (pyz ,
24
+ a .scripts ,
25
+ a .binaries ,
26
+ a .zipfiles ,
27
+ a .datas ,
28
+ [],
29
+ name = 'pysh' ,
30
+ debug = False ,
31
+ bootloader_ignore_signals = False ,
32
+ strip = False ,
33
+ upx = True ,
34
+ upx_exclude = [],
35
+ runtime_tmpdir = None ,
36
+ console = True ,
37
+ disable_windowed_traceback = False ,
38
+ target_arch = None ,
39
+ codesign_identity = None ,
40
+ entitlements_file = None , icon = 'cmd.ico' )
You can’t perform that action at this time.
0 commit comments