Add Windows Flasher app
parent
5710955e1a
commit
1a605358a6
@ -0,0 +1 @@
|
|||||||
|
Botspot
|
@ -0,0 +1,16 @@
|
|||||||
|
Install Windows 10 or Windows 11 on a Raspberry Pi SD card.
|
||||||
|
This tool is a 100% legal way to use any Debian or Ubuntu Linux operating system to flash a RPi's SD card with the necessary files to run Windows 10 or 11.
|
||||||
|
|
||||||
|
Usage is simple:
|
||||||
|
- Choose an operating system version. (Windows 11, Windows 10, Custom version)
|
||||||
|
- Choose what model Pi will be running Windows. (RPi4 or RPi3)
|
||||||
|
- Choose a language.
|
||||||
|
- Choose a storage drive to flash.
|
||||||
|
- Click Flash.
|
||||||
|
It's as simple as that. WoR-flasher takes care of the rest - downloading hundreds of files from Microsoft, generating a Windows image with them, importing the custom RPi drivers, enabling the WinPE environment, and much more. When finished, WoR-flasher will tell you exactly what to do next.
|
||||||
|
|
||||||
|
To run: Menu -> Accessories -> WoR-Flasher
|
||||||
|
To run the graphical interface in a terminal: ~/wor-flasher/install-wor-gui.sh
|
||||||
|
To run the command-line interface in a terminal: ~/wor-flasher/install-wor.sh
|
||||||
|
|
||||||
|
If you encounter problems, we recommend you run WoR-flasher in a terminal to catch any errors.
|
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
@ -0,0 +1,29 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||||
|
|
||||||
|
function error {
|
||||||
|
echo -e "\\e[91m$1\\e[39m"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "Installing dependencies..."
|
||||||
|
"${DIRECTORY}/pkg-install" "yad aria2 cabextract wimtools chntpw genisoimage exfat-fuse exfat-utils wget" "$(dirname "$0")" || exit 1
|
||||||
|
|
||||||
|
echo "Downloading repository..."
|
||||||
|
rm -rf ~/wor-flasher || error "Failed to first remove ~/wor-flasher folder!"
|
||||||
|
git clone https://github.com/Botspot/wor-flasher || error "Failed to download wor-flasher repository!"
|
||||||
|
|
||||||
|
if [ -d ~/wor-flasher-files ];then
|
||||||
|
echo -e "\nDuring use, WoR-flasher downloads all files to $HOME/wor-flasher-files\nThis folder exists right now.\nIf WoR-flasher is malfunctioning, deleting this folder may help.\n"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Creating menu button..."
|
||||||
|
echo "[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=WoR Flasher
|
||||||
|
Comment=WoR Flasher - Flash Windows 10 or 11 to your Raspberry Pi
|
||||||
|
Categories=Utility;
|
||||||
|
Exec=$HOME/wor-flasher/install-wor-gui.sh
|
||||||
|
Icon=$HOME/wor-flasher/logo.png
|
||||||
|
StartupNotify=true" > ~/.local/share/applications/wor-flasher.desktop
|
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||||
|
|
||||||
|
function error {
|
||||||
|
echo -e "\\e[91m$1\\e[39m"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "Removing dependencies..."
|
||||||
|
"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1
|
||||||
|
|
||||||
|
echo "Removing $HOME/wor-flasher folder..."
|
||||||
|
rm -rf ~/wor-flasher || error "Failed to remove ~/wor-flasher folder!"
|
||||||
|
|
||||||
|
echo "Removing menu button..."
|
||||||
|
rm -f ~/.local/share/applications/wor-flasher.desktop
|
||||||
|
|
||||||
|
if [ -d ~/wor-flasher-files ];then
|
||||||
|
echo -e "\nDuring use, WoR-flasher downloads all files to $HOME/wor-flasher-files\nThis folder exists right now.\nFeel free to delete that folder to save disk space.\n"
|
||||||
|
fi
|
@ -0,0 +1 @@
|
|||||||
|
https://github.com/Botspot/wor-flasher
|
Loading…
Reference in New Issue