From cbccf826717d629c84c3e263721dd2cc4dc74774 Mon Sep 17 00:00:00 2001 From: Brennen Raimer <5969754+norweeg@users.noreply.github.com> Date: Sat, 20 Apr 2019 13:18:34 -0400 Subject: [PATCH] updated structure of supported_tools.json --- .../resources/supported_tools.json | 357 ++++++++++++++---- 1 file changed, 289 insertions(+), 68 deletions(-) diff --git a/portable_computing_toolkit_installer/resources/supported_tools.json b/portable_computing_toolkit_installer/resources/supported_tools.json index 8aa375c..b8966fb 100644 --- a/portable_computing_toolkit_installer/resources/supported_tools.json +++ b/portable_computing_toolkit_installer/resources/supported_tools.json @@ -1,174 +1,395 @@ { "Portable Apps Platform": { "page": "https://portableapps.com/download", - "category":"", - "xpath": "//*[@id=\"node-58089\"]/div/div[1]/div/div/div/div/a" + "category": "", + "depends on": "Portable Apps Platform", + "homepage": "https://portableapps.com", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Git": { "page": "https://git-scm.com/download/win", - "category": "programming.tools.source code management", - "xpath": "//*[@id=\"main\"]/div/p[6]/strong/a" + "category": "development.tools.source code management", + "homepage": "https://git-scm.com", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "GitExtensions": { "page": "https://github.com/gitextensions/gitextensions/releases/latest", - "category": "programming.tools.source code management", - "depends on": "programming.source code management.Git", - "xpath": "/html/body/div[4]/div/div/div[2]/div[1]/div[2]/div/div[2]/details/ul/li[1]/a", - "search": "GitExtensions-(\\d|\\.)+-Mono\\.zip$" + "category": "development.tools.source code management", + "depends on": "Git", + "homepage": "http://gitextensions.github.io/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "WinPython": { "page": "https://sourceforge.net/projects/winpython/", - "category": "programming.languages.python", - "xpath": "//*[@id=\"pg_project\"]/div[5]/div[2]/div[1]/div/section/div[2]/div[3]/a[1]" + "category": "development.languages.python", + "homepage": "https://winpython.github.io/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "MSYS2": { - "page": "http://www.msys2.org/", - "Category": "programming.languages.C/C++", - "xpath": "//*[@id=\"downloads\"]/div[1]/a[2]" + "page": "https://www.msys2.org/", + "category": "development.languages.C/C++", + "homepage": "https://www.msys2.org", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Java JDK": { - "page": "http://jdk.java.net/", - "category": "programming.languages.java", - "xpath": "", - "search": "" + "page": "https://jdk.java.net/", + "category": "development.languages.java", + "versions": { + "stable": { + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + }, + "version": "", + "page": "" + }, + "preview": { + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + }, + "version": "", + "page": "" + } + }, + "homepage": "https://jdk.java.net", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "SublimeText": { "page": "https://www.sublimetext.com/3", - "category": "programming.tools.text editors and integrated development environments", - "xpath": "//*[@id=\"dl_win_64\"]/a[2]", - "search": "Sublime\\sText\\sBuild\\s(\\d|\\.)+\\sx64\\.zip$" + "category": "development.tools.text editors and integrated development environments", + "homepage": "https://www.sublimetext.com", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Atom": { "page": "https://github.com/atom/atom/releases/latest", - "category": "programming.tools.text editors and integrated development environments", - "xpath": "/html/body/div[4]/div/div/div[2]/div[1]/div[2]/div/div[2]/details/ul/li[11]/a", - "search": "atom-x64-windows\\.zip$" + "category": "development.tools.text editors and integrated development environments", + "homepage": "https://atom.io", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, ".NET Core SDK": { - "page": "https://www.microsoft.com/net/download/dotnet-core/", - "category": "programming.languages.C#", - "xpath": "", - "search": "" + "page": "https://dotnet.microsoft.com/download/dotnet-core", + "category": "development.languages.C#", + "homepage": "https://dotnet.microsoft.com", + "versions": { + "stable": { + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + }, + "version": "", + "page": "" + }, + "preview": { + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + }, + "version": "", + "page": "" + } + }, + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Node.js": { "page": "https://nodejs.org/en/", - "category": "programming.languages.javascript", - "xpath": "", - "search": "" + "category": "development.languages.javascript", + "homepage": "https://nodejs.org", + "versions": { + "stable": { + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + }, + "version": "", + "page": "" + }, + "preview": { + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + }, + "version": "", + "page": "" + } + }, + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Google Chrome": { "page": "https://portableapps.com/apps/internet/google_chrome_portable", - "category": "web.browsers", - "xpath": "//*[@id=\"node-57731\"]/div/div[1]/div/div/div/a" + "category": "internet.browsers", + "homepage": "https://google.com/chrome", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Mozilla Firefox": { "page": "https://portableapps.com/apps/internet/firefox_portable", - "category": "web.browsers", - "xpath": "//*[@id=\"node-58088\"]/div/div[1]/div/div/div/a" + "category": "internet.browsers", + "homepage": "https://www.mozilla.org/en-US/firefox/new/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Cherrytree": { "page": "https://portableapps.com/apps/office/cherrytree-portable", "category": "office.notes", - "xpath": "//*[@id=\"node-58652\"]/div/div[1]/div/div/div/a" + "homepage": "https://www.giuspen.com/cherrytree/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "KeepNote": { "page": "https://portableapps.com/apps/office/keepnote-portable", "category": "office.notes", - "xpath": "//*[@id=\"node-58966\"]/div/div[1]/div/div/div/a" + "homepage": "http://keepnote.org/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "LibreOffice": { "page": "https://portableapps.com/apps/office/libreoffice_portable", "category": "office.suite", - "xpath": "//*[@id=\"node-54208\"]/div/div[1]/div/div/div[1]/a" + "homepage": "https://libreoffice.org", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "RedNotebook": { "page": "https://portableapps.com/apps/office/rednotebook_portable", "category": "office.notes", - "xpath": "//*[@id=\"node-58725\"]/div/div[1]/div/div/div/a" + "homepage": "https://rednotebook.sourceforge.io/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Filezilla": { "page": "https://portableapps.com/apps/internet/filezilla_portable", - "category": "web.file transfer", - "xpath": "//*[@id=\"node-57960\"]/div/div[1]/div/div/div/a" + "category": "internet.file transfer", + "homepage": "https://filezilla-project.org/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "WinSCP": { "page": "https://portableapps.com/apps/internet/winscp_portable", - "category": "web.file transfer", - "xpath": "//*[@id=\"node-58447\"]/div/div[1]/div/div/div/a" + "category": "internet.file transfer", + "homepage": "https://winscp.net/eng/index.php", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Cppcheck": { "page": "https://portableapps.com/apps/development/cppcheck-portable", - "category": "programming.languages.C/C++", - "xpath": "//*[@id=\"node-58057\"]/div/div[1]/div/div/div/a" + "category": "development.languages.C/C++", + "homepage": "http://cppcheck.sourceforge.net/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Frhed": { "page": "https://portableapps.com/apps/development/frhed_portable", - "category": "programming.tools", - "xpath": "//*[@id=\"node-58921\"]/div/div[1]/div/div/div/a" + "category": "development.tools", + "homepage": "http://frhed.sourceforge.net/en/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Geany": { "page": "https://portableapps.com/apps/development/geany_portable", - "category": "programming.tools.text editors and integrated development environments", - "xpath": "//*[@id=\"node-58428\"]/div/div[1]/div/div/div/a" + "category": "development.tools.text editors and integrated development environments", + "homepage": "https://geany.org/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "gVim": { "page": "https://portableapps.com/apps/development/gvim_portable", - "category": "programming.tools.text editors and integrated development environments", - "xpath": "//*[@id=\"node-58871\"]/div/div[1]/div/div/div/a" + "category": "development.tools.text editors and integrated development environments", + "homepage": "https://www.vim.org/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Notepad++": { "page": "https://portableapps.com/apps/development/notepadpp_portable", - "category": "programming.tools.text editors and integrated development environments", - "xpath": "//*[@id=\"node-57991\"]/div/div[1]/div/div/div/a" + "category": "development.tools.text editors and integrated development environments", + "homepage": "https://notepad-plus-plus.org/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Peazip": { "page": "https://portableapps.com/apps/utilities/peazip_portable", "category": "utlities.archiving", - "xpath": "//*[@id=\"node-58441\"]/div/div[1]/div/div/div/a" + "homepage": "http://www.peazip.org/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "7-Zip": { "page": "https://portableapps.com/apps/utilities/7-zip_portable", "category": "utlities.archiving", - "xpath": "//*[@id=\"node-57727\"]/div/div[1]/div/div/div/a" - }, - "CubicExplorer": { - "page": "https://portableapps.com/apps/utilities/cubicexplorer_portable", - "category": "utilities.file browsers", - "xpath": "//*[@id=\"node-58914\"]/div/div[1]/div/div/div/a" + "homepage": "https://7-zip.org", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Explorer++": { "page": "https://portableapps.com/apps/utilities/explorerplusplus_portable", "category": "utilities.file browsers", - "xpath": "//*[@id=\"node-58851\"]/div/div[1]/div/div/div/a" + "homepage": "https://explorerplusplus.com/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "WinMerge": { "page": "https://portableapps.com/apps/utilities/winmerge_portable", - "category": "programming.tools.file comparison", - "xpath": "//*[@id=\"node-58807\"]/div/div[1]/div/div/div/a" + "category": "development.tools.file comparison", + "homepage": "http://winmerge.org/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Command Prompt Portable": { "page": "https://portableapps.com/apps/utilities/command_prompt_portable", "category": "utilities.terminals", - "xpath": "//*[@id=\"node-58853\"]/div/div[1]/div/div/div/a" + "homepage": "https://portableapps.com/apps/utilities/command_prompt_portable", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Console": { "page": "https://portableapps.com/apps/utilities/console_portable", "category": "utilities.terminals", - "xpath": "//*[@id=\"node-58901\"]/div/div[1]/div/div/div/a" + "homepage": "https://sourceforge.net/projects/console/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } + }, + "Terminus": { + "page": "https://github.com/Eugeny/terminus/releases/latest", + "category": "utilities.terminals", + "homepage": "https://eugeny.github.io/terminus/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "KiTTY": { "page": "https://portableapps.com/apps/internet/kitty-portable", "category": "utilities.terminals.remote", - "xpath": "//*[@id=\"node-57811\"]/div/div[1]/div/div/div/a" + "homepage": "http://www.9bis.net/kitty/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "PuTTY": { "page": "https://portableapps.com/apps/internet/putty_portable", "category": "utilities.terminals.remote", - "xpath": "//*[@id=\"node-58621\"]/div/div[1]/div/div/div/a" + "homepage": "https://www.chiark.greenend.org.uk/~sgtatham/putty/", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } }, "Microsoft Visual Studio Code": { "page": "https://code.visualstudio.com/docs/?dv=win64user", - "category": "programming.tools.text editors and integrated development environments", - "xpath": "//*[@id=\"direct-link\"]" + "category": "development.tools.text editors and integrated development environments", + "depends on": "Git", + "homepage": "https://code.visualstudio.com", + "search": { + "selector": "", + "filename regex": "", + "text regex": "" + } } } \ No newline at end of file