Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.47 KB

File metadata and controls

40 lines (26 loc) · 1.47 KB

Windows Presentation Mode Toggle

A simple GUI tool to toggle the Windows Presentation Mode. Created by Bernd Hofer.

Prerequisites

  • PowerShell: Ensure you have PowerShell installed.
  • PS2EXE: Required to compile the PowerShell script to an executable. You can find it here.
  • Icon: The icon used in this project was authored by capriccola on Iconfinder. Please ensure you have the right to use the icon in your projects.

How to Compile

  1. Clone the Repository:

    git clone https://github.com/berndhofer/windows-presentation-mode-toggle.git
  2. Compile with PS2EXE:

    Navigate to the directory containing the presentation.ps1 script. Use the following command to compile:

    ps2exe .\presentation.ps1 .\presentation.exe -noConsole -icon "presentation.ico"

    Note: If you encounter the error “cannot be loaded because running scripts is disabled on this system“, set the execution policy with the following command:

    Set-ExecutionPolicy RemoteSigned

    Use at your own risk.

License

This project is licensed under the MIT License. Please see the included LICENSE file for more information.

Acknowledgments