{"repo":"steve02081504/ps12exe","free":true,"listed":false,"github":"https://github.com/steve02081504/ps12exe","clone":"git clone https://github.com/steve02081504/ps12exe.git","description":"better powershell code 2 exe repo wis: multilang sport, darkmode-able GUI(+BGM), RClick menu ext, webserver 4 online comp. All in only 1mb, superez4use, pure script (excl. deps/imgs/oggs). Compatible with PS2EXE useage.","language":"PowerShell","stars":124,"topics":["csharp","powershell","ps2exe","ps12exe","ps2exe-gui","ps12exe-gui","compiler","gui","gui-application","online-compiler"],"license":null,"category":"cli-tools","readme_excerpt":"ps12exe [!CAUTION] Do not store passwords in source code! See the localized readme for more details. Introduction ps12exe is a PowerShell module that allows you to create an executable file from a .ps1 script. Install (you can also clone this repository and run ./ps12exe.ps1 directly) Hard to upgrade from PS2EXE to ps12exe? No problem! PS2EXE2ps12exe hooks PS2EXE calls into ps12exe. Uninstall PS2EXE, install this module, then use PS2EXE as usual. Usage Right-click menu Once you have set Set-ps12exeContextMenu , you can quickly compile any ps1 file into an exe or open ps12exeGUI on this file by right-clicking on it. GUI mode Console mode compiles source.ps1 into the executable target.exe (if .\\target.exe is omitted, output is written to .\\source.exe ). compiles \"Hello World!\" into the executable .\\a.exe . compiles Main.ps1 from the internet into the executable .\\Main.exe . Recover ps1 from exe (exe21sp) exe21sp extracts the original PowerShell script from a ps12exe-generated executable (local path or URL) and writes it to a .ps1 file or standard output. It uses the same $LastExitCode convention as ps12exe: 0 = success, 1 = input/parse error (e.g. not a ps12exe exe), 2 = invocation error (e.g. no input when redirected), 3 = resource/internal error (e.g. file not found). Pipeline and redirection - ps12exe : When stdout (or stdin/stderr) is redirected, ps12exe writes only the path of the generated exe to stdout so you can capture it (e.g. $exe = ps12exe .\\a.ps1 ). - exe21sp : Acc","default_branch":null,"files":null,"tree":[],"storefront":"/r/steve02081504","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/steve02081504/ps12exe/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}