diff --git a/apps/Windows Flasher/credits b/apps/Windows Flasher/credits new file mode 100644 index 0000000..729fb33 --- /dev/null +++ b/apps/Windows Flasher/credits @@ -0,0 +1 @@ +Botspot diff --git a/apps/Windows Flasher/description b/apps/Windows Flasher/description new file mode 100644 index 0000000..886368b --- /dev/null +++ b/apps/Windows Flasher/description @@ -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. diff --git a/apps/Windows Flasher/icon-24.png b/apps/Windows Flasher/icon-24.png new file mode 100644 index 0000000..ce4d4de Binary files /dev/null and b/apps/Windows Flasher/icon-24.png differ diff --git a/apps/Windows Flasher/icon-64.png b/apps/Windows Flasher/icon-64.png new file mode 100644 index 0000000..c9100f6 Binary files /dev/null and b/apps/Windows Flasher/icon-64.png differ diff --git a/apps/Windows Flasher/install b/apps/Windows Flasher/install new file mode 100755 index 0000000..85d37b4 --- /dev/null +++ b/apps/Windows Flasher/install @@ -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 diff --git a/apps/Windows Flasher/uninstall b/apps/Windows Flasher/uninstall new file mode 100755 index 0000000..8185e9f --- /dev/null +++ b/apps/Windows Flasher/uninstall @@ -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 diff --git a/apps/Windows Flasher/website b/apps/Windows Flasher/website new file mode 100644 index 0000000..baeee32 --- /dev/null +++ b/apps/Windows Flasher/website @@ -0,0 +1 @@ +https://github.com/Botspot/wor-flasher diff --git a/data/categories/structure b/data/categories/structure index 8d0b67d..e536589 100644 --- a/data/categories/structure +++ b/data/categories/structure @@ -1,4 +1,3 @@ -AdventButWrong|Games All Is Well|Tools AndroidBuddy|Tools Angry IP scanner|Internet @@ -110,8 +109,10 @@ Web Apps|Internet Wechat|Internet Whatsapp|Internet Windows 10 Theme|Eyecandy +Windows Flasher|Tools Windows Screensavers|Eyecandy Wine (x86)|Tools +WorldPainter| WPS Office|Editors YouTubuddy|Multimedia Zoom|Internet