diff --git a/Red_Panda_CPP.pro b/Red_Panda_CPP.pro index 882a79d9..f42e348e 100644 --- a/Red_Panda_CPP.pro +++ b/Red_Panda_CPP.pro @@ -40,9 +40,11 @@ linux: { win32: { !isEmpty(PREFIX) { target.path = $${PREFIX} + QMAKE_SUBSTITUTES += windows/installer-scripts/config.nsh.in resources.path = $${PREFIX} - resources.files += templates + resources.files += windows/templates + resources.files += windows/installer-scripts/config.nsh resources.files += README.md resources.files += NEWS.md resources.files += LICENSE diff --git a/astyle/astyle.pro b/astyle/astyle.pro index 6049a182..eb7ba6cc 100644 --- a/astyle/astyle.pro +++ b/astyle/astyle.pro @@ -24,7 +24,7 @@ isEmpty(PREFIX) { } win32: { - !isEmpty(BUILD_MSYS) { + !isEmpty(PREFIX) { target.path = $${PREFIX} } } diff --git a/packages/msys/build.sh b/packages/msys/build.sh index d8fe8baf..5b30ee62 100644 --- a/packages/msys/build.sh +++ b/packages/msys/build.sh @@ -7,7 +7,8 @@ PATH="${GCC_DIR}/bin:${PATH}" QMAKE="${GCC_DIR}/qt5-static/bin/qmake" NSIS="/d/Program Files (x86)/NSIS/bin/makensis.exe" SOURCE_DIR=`pwd` -MINGW64="/d/Program Files/RedPanda-CPP/MINGW64" +MINGW64="/d/Program Files/RedPanda-CPP/MinGW64" +MINGW32="/d/Program Files/RedPanda-CPP/MinGW32" test -z "${BUILD_DIR}" | mkdir "${BUILD_DIR}" test -z "${PACKAGE_DIR}" | mkdir "${PACKAGE_DIR}" @@ -15,23 +16,28 @@ pushd . cd "${BUILD_DIR}" -echo `pwd` - -"$QMAKE" PREFIX="${PACKAGE_DIR}" BUILD_MSYS=1 -o Makefile "${SOURCE_DIR}\Red_Panda_Cpp.pro" -r -spec win32-g++ +"$QMAKE" PREFIX="${PACKAGE_DIR}" -o Makefile "${SOURCE_DIR}\Red_Panda_Cpp.pro" -r -spec win32-g++ make -j16 make install popd +#build install package +cp "${PACKAGE_DIR}/config.nsh" . +cp "${SOURCE_DIR}/windows/installer-scripts/redpanda-x64.nsi" . +cp "${SOURCE_DIR}/windows/installer-scripts/lang.nsh" . + pushd . cd "${PACKAGE_DIR}" -mklink /j MinGW64 "${MINGW64}" -cp "${SOURCE_DIR}\installer\devcpp-x64.nsi" build.nsi -cp "${SOURCE_DIR}\installer\lang.nsh" . -"${NSIS}" build.nsi -rm -f lang.nsi -rm -f build.nsi +rm MinGW64 +ln -s "${MINGW64}" +"${NSIS}" /NOCD "${SOURCE_DIR}/redpanda-x64.nsi" popd +rm -f lang.nsh +rm -f config.nsh +rm -f redpanda-x64.nsi + + diff --git a/windows/installer-scripts/config.nsh.in b/windows/installer-scripts/config.nsh.in new file mode 100644 index 00000000..fa3e2ec6 --- /dev/null +++ b/windows/installer-scripts/config.nsh.in @@ -0,0 +1,7 @@ +#################################################################### +# Startup + +!define COMPILERNAME \"MinGW-w64 X86_64 GCC 10.3\" +!define COMPILERFOLDER \"MinGW64\" +!define DEVCPP_VERSION \"$${APP_VERSION}\" + diff --git a/installer/devcpp-i686.nsi b/windows/installer-scripts/devcpp-i686.nsi similarity index 100% rename from installer/devcpp-i686.nsi rename to windows/installer-scripts/devcpp-i686.nsi diff --git a/installer/devcppnocompiler.nsi b/windows/installer-scripts/devcppnocompiler.nsi similarity index 100% rename from installer/devcppnocompiler.nsi rename to windows/installer-scripts/devcppnocompiler.nsi diff --git a/installer/lang.nsh b/windows/installer-scripts/lang.nsh similarity index 63% rename from installer/lang.nsh rename to windows/installer-scripts/lang.nsh index 3c77a5ed..db24f245 100644 --- a/installer/lang.nsh +++ b/windows/installer-scripts/lang.nsh @@ -1,46 +1,46 @@ /* English 1033 */ -LangString MessageAppName 1033 "Red Panda Dev-C++" -LangString MessageSectionMain 1033 "The Red Panda Dev-C++ IDE (Integrated Development Environment)" +LangString MessageAppName 1033 "Red Panda C++" +LangString MessageSectionMain 1033 "The Red Panda C++ IDE (Integrated Development Environment)" LangString MessageSectionIcons 1033 "Various icons that you can use in your programs" LangString MessageSectionMinGW 1033 "The ${COMPILERNAME} compiler and associated tools, headers and libraries" -LangString MessageSectionLangs 1033 "The Dev-C++ interface translated to different languages (other than English which is built-in)" -LangString MessageSectionAssocs 1033 "Use Dev-C++ as the default application for opening these types of files" -LangString MessageSectionShortcuts 1033 "Create shortcuts to Dev-C++ in various folders" +LangString MessageSectionLangs 1033 "The Red Panda C++ interface translated to different languages (other than English which is built-in)" +LangString MessageSectionAssocs 1033 "Use Red Panda C++ as the default application for opening these types of files" +LangString MessageSectionShortcuts 1033 "Create shortcuts to Red Panda C++ in various folders" LangString MessageSectionConfig 1033 "Remove all leftover configuration files from previous installs" -LangString MessageUninstallText 1033 "This program will uninstall Red Panda Dev-C++, continue?" -LangString MessageUninstallExisting 1033 "Red Panda Dev-C++ is already installed. $\n$\nClick OK to remove the previous version or Cancel to cancel the installation." +LangString MessageUninstallText 1033 "This program will uninstall Red Panda C++, continue?" +LangString MessageUninstallExisting 1033 " Red Panda C++ is already installed. $\n$\nClick OK to remove the previous version or Cancel to cancel the installation." LangString MessageRemoveConfig 1033 "Do you want to remove all the remaining configuration files?" LangString SectionMainName 1033 "Program files (required)" LangString SectionIconsName 1033 "Icon files" LangString SectionLangsName 1033 "Language files" LangString SectionMinGWName 1033 "${COMPILERNAME} compiler" -LangString SectionAssocsName 1033 "Associate files to Red Panda Dev-C++" +LangString SectionAssocsName 1033 "Associate files to Red Panda C++" LangString SectionAssocExtNameBegin 1033 "Associate" -LangString SectionAssocExtNameEnd 1033 "files to Red Panda Dev-C++" +LangString SectionAssocExtNameEnd 1033 "files to Red Panda C++" LangString SectionShortcutsName 1033 "Shortcuts" LangString SectionMenuLaunchName 1033 "Create Start Menu shortcuts" LangString SectionDesktopLaunchName 1033 "Create Desktop shortcut" LangString SectionConfigName 1033 "Remove old configuration files" /* Simplified Chinese 2052 */ -LangString MessageAppName 2052 "小熊猫Dev-C++" -LangString MessageSectionMain 2052 "小熊猫Dev-C++ IDE (集成开发环境)" +LangString MessageAppName 2052 "小熊猫C++" +LangString MessageSectionMain 2052 "小熊猫C++ IDE (集成开发环境)" LangString MessageSectionIcons 2052 "项目模板使用的图标文件" LangString MessageSectionMinGW 2052 "${COMPILERNAME} 编译器和相关的工具、头文件和库" -LangString MessageSectionLangs 2052 "Dev-C++翻译文件" -LangString MessageSectionAssocs 2052 "使用Dev-C++打开这些文件" +LangString MessageSectionLangs 2052 "小熊猫C++翻译文件" +LangString MessageSectionAssocs 2052 "使用小熊猫C++打开这些文件" LangString MessageSectionShortcuts 2052 "开始菜单和快捷方式" LangString MessageSectionConfig 2052 "删除之前安装遗留的所有配置文件" -LangString MessageUninstallText 2052 "将要删除小熊猫Dev-C++, 是否继续?" -LangString MessageUninstallExisting 2052 "本机上已经安装了旧版本小熊猫Dev-C++. $\n$\n点击'确定'以将其删除并继续,或者'取消'中止安装。" +LangString MessageUninstallText 2052 "将要删除小熊猫C++, 是否继续?" +LangString MessageUninstallExisting 2052 "本机上已经安装了旧版本小熊猫C++. $\n$\n点击'确定'以将其删除并继续,或者'取消'中止安装。" LangString MessageRemoveConfig 2052 "你想要删除所有的配置文件吗?" LangString SectionMainName 2052 "程序文件 (必须)" LangString SectionIconsName 2052 "图标文件" LangString SectionLangsName 2052 "语言文件" LangString SectionMinGWName 2052 "${COMPILERNAME}编译器" -LangString SectionAssocsName 2052 "关联文件到小熊猫Dev-C++" +LangString SectionAssocsName 2052 "关联文件到小熊猫C++" LangString SectionAssocExtNameBegin 2052 "将" -LangString SectionAssocExtNameEnd 2052 "文件关联到小熊猫Dev-C++" +LangString SectionAssocExtNameEnd 2052 "文件关联到小熊猫C++" LangString SectionShortcutsName 2052 "快捷方式" LangString SectionMenuLaunchName 2052 "创建开始菜单程序项" LangString SectionDesktopLaunchName 2052 "创建桌面快捷方式" diff --git a/installer/devcpp-x64.nsi b/windows/installer-scripts/redpanda-x64.nsi similarity index 95% rename from installer/devcpp-x64.nsi rename to windows/installer-scripts/redpanda-x64.nsi index c6cbfd8f..f8f7df6b 100644 --- a/installer/devcpp-x64.nsi +++ b/windows/installer-scripts/redpanda-x64.nsi @@ -1,11 +1,9 @@ #################################################################### # Startup -!define COMPILERNAME "MinGW-w64 X86_64 GCC 10.3" -!define COMPILERFOLDER "MinGW64" -!define DEVCPP_VERSION "0.14" -!define FINALNAME "RedPanda-Cpp.7.${DEVCPP_VERSION}.${COMPILERNAME}.Setup.exe" -!define DISPLAY_NAME "Red Panda Dev-C++ 7 ${DEVCPP_VERSION}" +!include "config.nsh" +!define FINALNAME "RedPanda.C++.${DEVCPP_VERSION}.${COMPILERNAME}.Setup.exe" +!define DISPLAY_NAME "Red Panda C++ ${DEVCPP_VERSION}" !include "MUI2.nsh" !include "lang.nsh" @@ -98,8 +96,6 @@ Section "$(SectionMainName)" SectionMain SetOutPath $INSTDIR\Templates File /nonfatal /r "Templates\*" - SetOutPath $INSTDIR\Icons - File /nonfatal /r "Icons\*" SectionEnd Section "$(SectionMinGWName)" SectionMinGW @@ -109,13 +105,6 @@ Section "$(SectionMinGWName)" SectionMinGW File /nonfatal /r "${COMPILERFOLDER}\*" SectionEnd -Section "$(SectionIconsName)" SectionIcons - SectionIn 1 3 - - SetOutPath $INSTDIR\Icons - File /nonfatal /r "Icons\*.*" -SectionEnd - #################################################################### # File association SubSection "$(SectionAssocsName)" SectionAssocs @@ -271,7 +260,6 @@ SectionEnd !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN !insertmacro MUI_DESCRIPTION_TEXT ${SectionMain} "$(MessageSectionMain)" !insertmacro MUI_DESCRIPTION_TEXT ${SectionMinGW} "$(MessageSectionMinGW)" -!insertmacro MUI_DESCRIPTION_TEXT ${SectionIcons} "$(MessageSectionIcons)" !insertmacro MUI_DESCRIPTION_TEXT ${SectionShortcuts} "$(MessageSectionShortcuts)" !insertmacro MUI_DESCRIPTION_TEXT ${SectionAssocs} "$(MessageSectionAssocs)" !insertmacro MUI_DESCRIPTION_TEXT ${SectionConfig} "$(MessageSectionConfig)" @@ -475,7 +463,6 @@ Section "Uninstall" Delete "$INSTDIR\README.md" RMDir /r "$INSTDIR\Lang" - RMDir /r "$INSTDIR\Icons" RMDir /r "$INSTDIR\Templates" RMDir /r "$INSTDIR\MinGW32" RMDir /r "$INSTDIR\MinGW64" diff --git a/templates/1-WinApp.template b/windows/templates/1-WinApp.template similarity index 100% rename from templates/1-WinApp.template rename to windows/templates/1-WinApp.template diff --git a/templates/2-ConsoleApp.template b/windows/templates/2-ConsoleApp.template similarity index 100% rename from templates/2-ConsoleApp.template rename to windows/templates/2-ConsoleApp.template diff --git a/templates/3-StaticLib.template b/windows/templates/3-StaticLib.template similarity index 100% rename from templates/3-StaticLib.template rename to windows/templates/3-StaticLib.template diff --git a/templates/4-DLL.template b/windows/templates/4-DLL.template similarity index 100% rename from templates/4-DLL.template rename to windows/templates/4-DLL.template diff --git a/templates/5-Empty.template b/windows/templates/5-Empty.template similarity index 100% rename from templates/5-Empty.template rename to windows/templates/5-Empty.template diff --git a/templates/CL_GLUT.ico b/windows/templates/CL_GLUT.ico similarity index 100% rename from templates/CL_GLUT.ico rename to windows/templates/CL_GLUT.ico diff --git a/templates/CL_GLUT.template b/windows/templates/CL_GLUT.template similarity index 100% rename from templates/CL_GLUT.template rename to windows/templates/CL_GLUT.template diff --git a/templates/CL_GLUT_cpp.txt b/windows/templates/CL_GLUT_cpp.txt similarity index 100% rename from templates/CL_GLUT_cpp.txt rename to windows/templates/CL_GLUT_cpp.txt diff --git a/templates/CL_Graphics.ico b/windows/templates/CL_Graphics.ico similarity index 100% rename from templates/CL_Graphics.ico rename to windows/templates/CL_Graphics.ico diff --git a/templates/CL_Graphics.template b/windows/templates/CL_Graphics.template similarity index 100% rename from templates/CL_Graphics.template rename to windows/templates/CL_Graphics.template diff --git a/templates/CL_Graphics_cpp.txt b/windows/templates/CL_Graphics_cpp.txt similarity index 100% rename from templates/CL_Graphics_cpp.txt rename to windows/templates/CL_Graphics_cpp.txt diff --git a/templates/CL_Turtle.ico b/windows/templates/CL_Turtle.ico similarity index 100% rename from templates/CL_Turtle.ico rename to windows/templates/CL_Turtle.ico diff --git a/templates/CL_Turtle.template b/windows/templates/CL_Turtle.template similarity index 100% rename from templates/CL_Turtle.template rename to windows/templates/CL_Turtle.template diff --git a/templates/CL_Turtle_cpp.txt b/windows/templates/CL_Turtle_cpp.txt similarity index 100% rename from templates/CL_Turtle_cpp.txt rename to windows/templates/CL_Turtle_cpp.txt diff --git a/templates/Communication.ico b/windows/templates/Communication.ico similarity index 100% rename from templates/Communication.ico rename to windows/templates/Communication.ico diff --git a/templates/ConsoleApp_c.txt b/windows/templates/ConsoleApp_c.txt similarity index 100% rename from templates/ConsoleApp_c.txt rename to windows/templates/ConsoleApp_c.txt diff --git a/templates/ConsoleApp_cpp.txt b/windows/templates/ConsoleApp_cpp.txt similarity index 100% rename from templates/ConsoleApp_cpp.txt rename to windows/templates/ConsoleApp_cpp.txt diff --git a/templates/ConsoleToo.ico b/windows/templates/ConsoleToo.ico similarity index 100% rename from templates/ConsoleToo.ico rename to windows/templates/ConsoleToo.ico diff --git a/templates/DLL.ico b/windows/templates/DLL.ico similarity index 100% rename from templates/DLL.ico rename to windows/templates/DLL.ico diff --git a/templates/Dll_c.txt b/windows/templates/Dll_c.txt similarity index 100% rename from templates/Dll_c.txt rename to windows/templates/Dll_c.txt diff --git a/templates/Dll_cpp.txt b/windows/templates/Dll_cpp.txt similarity index 100% rename from templates/Dll_cpp.txt rename to windows/templates/Dll_cpp.txt diff --git a/templates/Dll_h.txt b/windows/templates/Dll_h.txt similarity index 100% rename from templates/Dll_h.txt rename to windows/templates/Dll_h.txt diff --git a/templates/Dll_hpp.txt b/windows/templates/Dll_hpp.txt similarity index 100% rename from templates/Dll_hpp.txt rename to windows/templates/Dll_hpp.txt diff --git a/templates/Editor.ico b/windows/templates/Editor.ico similarity index 100% rename from templates/Editor.ico rename to windows/templates/Editor.ico diff --git a/templates/Empty.ico b/windows/templates/Empty.ico similarity index 100% rename from templates/Empty.ico rename to windows/templates/Empty.ico diff --git a/templates/File Management.ico b/windows/templates/File Management.ico similarity index 100% rename from templates/File Management.ico rename to windows/templates/File Management.ico diff --git a/templates/FileEditor.template b/windows/templates/FileEditor.template similarity index 100% rename from templates/FileEditor.template rename to windows/templates/FileEditor.template diff --git a/templates/FileEditor_c.txt b/windows/templates/FileEditor_c.txt similarity index 100% rename from templates/FileEditor_c.txt rename to windows/templates/FileEditor_c.txt diff --git a/templates/FileEditor_h.txt b/windows/templates/FileEditor_h.txt similarity index 100% rename from templates/FileEditor_h.txt rename to windows/templates/FileEditor_h.txt diff --git a/templates/FileEditor_rc.txt b/windows/templates/FileEditor_rc.txt similarity index 100% rename from templates/FileEditor_rc.txt rename to windows/templates/FileEditor_rc.txt diff --git a/templates/GLFW.ico b/windows/templates/GLFW.ico similarity index 100% rename from templates/GLFW.ico rename to windows/templates/GLFW.ico diff --git a/templates/GLFW.template b/windows/templates/GLFW.template similarity index 100% rename from templates/GLFW.template rename to windows/templates/GLFW.template diff --git a/templates/GLFW_main.cpp.txt b/windows/templates/GLFW_main.cpp.txt similarity index 100% rename from templates/GLFW_main.cpp.txt rename to windows/templates/GLFW_main.cpp.txt diff --git a/templates/GLFW_shader.frag.txt b/windows/templates/GLFW_shader.frag.txt similarity index 100% rename from templates/GLFW_shader.frag.txt rename to windows/templates/GLFW_shader.frag.txt diff --git a/templates/GLFW_shader.h.txt b/windows/templates/GLFW_shader.h.txt similarity index 100% rename from templates/GLFW_shader.h.txt rename to windows/templates/GLFW_shader.h.txt diff --git a/templates/GLFW_shader.vs.txt b/windows/templates/GLFW_shader.vs.txt similarity index 100% rename from templates/GLFW_shader.vs.txt rename to windows/templates/GLFW_shader.vs.txt diff --git a/templates/Games.ico b/windows/templates/Games.ico similarity index 100% rename from templates/Games.ico rename to windows/templates/Games.ico diff --git a/templates/Hello.template b/windows/templates/Hello.template similarity index 100% rename from templates/Hello.template rename to windows/templates/Hello.template diff --git a/templates/HelloInput.template b/windows/templates/HelloInput.template similarity index 100% rename from templates/HelloInput.template rename to windows/templates/HelloInput.template diff --git a/templates/HelloInput_c.txt b/windows/templates/HelloInput_c.txt similarity index 100% rename from templates/HelloInput_c.txt rename to windows/templates/HelloInput_c.txt diff --git a/templates/HelloInput_cpp.txt b/windows/templates/HelloInput_cpp.txt similarity index 100% rename from templates/HelloInput_cpp.txt rename to windows/templates/HelloInput_cpp.txt diff --git a/templates/Hello_c.txt b/windows/templates/Hello_c.txt similarity index 100% rename from templates/Hello_c.txt rename to windows/templates/Hello_c.txt diff --git a/templates/Hello_cpp.txt b/windows/templates/Hello_cpp.txt similarity index 100% rename from templates/Hello_cpp.txt rename to windows/templates/Hello_cpp.txt diff --git a/templates/Jackpot.template b/windows/templates/Jackpot.template similarity index 100% rename from templates/Jackpot.template rename to windows/templates/Jackpot.template diff --git a/templates/Jackpot_cpp.txt b/windows/templates/Jackpot_cpp.txt similarity index 100% rename from templates/Jackpot_cpp.txt rename to windows/templates/Jackpot_cpp.txt diff --git a/templates/MDIEditor.template b/windows/templates/MDIEditor.template similarity index 100% rename from templates/MDIEditor.template rename to windows/templates/MDIEditor.template diff --git a/templates/MDIEditor_c.txt b/windows/templates/MDIEditor_c.txt similarity index 100% rename from templates/MDIEditor_c.txt rename to windows/templates/MDIEditor_c.txt diff --git a/templates/MDIEditor_h.txt b/windows/templates/MDIEditor_h.txt similarity index 100% rename from templates/MDIEditor_h.txt rename to windows/templates/MDIEditor_h.txt diff --git a/templates/MDIEditor_rc.txt b/windows/templates/MDIEditor_rc.txt similarity index 100% rename from templates/MDIEditor_rc.txt rename to windows/templates/MDIEditor_rc.txt diff --git a/templates/OpenGL.template b/windows/templates/OpenGL.template similarity index 100% rename from templates/OpenGL.template rename to windows/templates/OpenGL.template diff --git a/templates/OpenGL.txt b/windows/templates/OpenGL.txt similarity index 100% rename from templates/OpenGL.txt rename to windows/templates/OpenGL.txt diff --git a/templates/OpenMP.template b/windows/templates/OpenMP.template similarity index 100% rename from templates/OpenMP.template rename to windows/templates/OpenMP.template diff --git a/templates/OpenMP_c.txt b/windows/templates/OpenMP_c.txt similarity index 100% rename from templates/OpenMP_c.txt rename to windows/templates/OpenMP_c.txt diff --git a/templates/OpenMP_cpp.txt b/windows/templates/OpenMP_cpp.txt similarity index 100% rename from templates/OpenMP_cpp.txt rename to windows/templates/OpenMP_cpp.txt diff --git a/templates/Pizza.ico b/windows/templates/Pizza.ico similarity index 100% rename from templates/Pizza.ico rename to windows/templates/Pizza.ico diff --git a/templates/Single Dialog Application.ico b/windows/templates/Single Dialog Application.ico similarity index 100% rename from templates/Single Dialog Application.ico rename to windows/templates/Single Dialog Application.ico diff --git a/templates/Single Dialog Application.project.ico b/windows/templates/Single Dialog Application.project.ico similarity index 100% rename from templates/Single Dialog Application.project.ico rename to windows/templates/Single Dialog Application.project.ico diff --git a/templates/Single Dialog Application.template b/windows/templates/Single Dialog Application.template similarity index 100% rename from templates/Single Dialog Application.template rename to windows/templates/Single Dialog Application.template diff --git a/templates/Single_Dialog_Application_main.c.txt b/windows/templates/Single_Dialog_Application_main.c.txt similarity index 100% rename from templates/Single_Dialog_Application_main.c.txt rename to windows/templates/Single_Dialog_Application_main.c.txt diff --git a/templates/Single_Dialog_Application_resource.h.txt b/windows/templates/Single_Dialog_Application_resource.h.txt similarity index 100% rename from templates/Single_Dialog_Application_resource.h.txt rename to windows/templates/Single_Dialog_Application_resource.h.txt diff --git a/templates/Single_Dialog_Application_resource.rc.txt b/windows/templates/Single_Dialog_Application_resource.rc.txt similarity index 100% rename from templates/Single_Dialog_Application_resource.rc.txt rename to windows/templates/Single_Dialog_Application_resource.rc.txt diff --git a/templates/Software.ico b/windows/templates/Software.ico similarity index 100% rename from templates/Software.ico rename to windows/templates/Software.ico diff --git a/templates/StaticLib.ico b/windows/templates/StaticLib.ico similarity index 100% rename from templates/StaticLib.ico rename to windows/templates/StaticLib.ico diff --git a/templates/StdThread.template b/windows/templates/StdThread.template similarity index 100% rename from templates/StdThread.template rename to windows/templates/StdThread.template diff --git a/templates/StdThread_c.txt b/windows/templates/StdThread_c.txt similarity index 100% rename from templates/StdThread_c.txt rename to windows/templates/StdThread_c.txt diff --git a/templates/StdThread_cpp.txt b/windows/templates/StdThread_cpp.txt similarity index 100% rename from templates/StdThread_cpp.txt rename to windows/templates/StdThread_cpp.txt diff --git a/templates/WinAnim.template b/windows/templates/WinAnim.template similarity index 100% rename from templates/WinAnim.template rename to windows/templates/WinAnim.template diff --git a/templates/WinAnim_c.txt b/windows/templates/WinAnim_c.txt similarity index 100% rename from templates/WinAnim_c.txt rename to windows/templates/WinAnim_c.txt diff --git a/templates/WinAnim_rc.txt b/windows/templates/WinAnim_rc.txt similarity index 100% rename from templates/WinAnim_rc.txt rename to windows/templates/WinAnim_rc.txt diff --git a/templates/WinApp_c.txt b/windows/templates/WinApp_c.txt similarity index 100% rename from templates/WinApp_c.txt rename to windows/templates/WinApp_c.txt diff --git a/templates/Windows.ico b/windows/templates/Windows.ico similarity index 100% rename from templates/Windows.ico rename to windows/templates/Windows.ico diff --git a/templates/ball.bmp b/windows/templates/ball.bmp similarity index 100% rename from templates/ball.bmp rename to windows/templates/ball.bmp diff --git a/templates/ballmask.bmp b/windows/templates/ballmask.bmp similarity index 100% rename from templates/ballmask.bmp rename to windows/templates/ballmask.bmp diff --git a/templates/raylib.ico b/windows/templates/raylib.ico similarity index 100% rename from templates/raylib.ico rename to windows/templates/raylib.ico diff --git a/templates/raylib.template b/windows/templates/raylib.template similarity index 100% rename from templates/raylib.template rename to windows/templates/raylib.template diff --git a/templates/raylib_3d.template b/windows/templates/raylib_3d.template similarity index 100% rename from templates/raylib_3d.template rename to windows/templates/raylib_3d.template diff --git a/templates/raylib_3d_c.txt b/windows/templates/raylib_3d_c.txt similarity index 100% rename from templates/raylib_3d_c.txt rename to windows/templates/raylib_3d_c.txt diff --git a/templates/raylib_boom.wav b/windows/templates/raylib_boom.wav similarity index 100% rename from templates/raylib_boom.wav rename to windows/templates/raylib_boom.wav diff --git a/templates/raylib_c.txt b/windows/templates/raylib_c.txt similarity index 100% rename from templates/raylib_c.txt rename to windows/templates/raylib_c.txt diff --git a/templates/raylib_explosion.png b/windows/templates/raylib_explosion.png similarity index 100% rename from templates/raylib_explosion.png rename to windows/templates/raylib_explosion.png