commit d962a293aee16841dc7c8e4ac88c6fe6d330bdd6 Author: Alexander Popov Date: Tue Apr 4 22:46:09 2017 +0300 Init diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..cf1ab25 --- /dev/null +++ b/LICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to diff --git a/README.md b/README.md new file mode 100644 index 0000000..e8ab003 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +__Список программного обеспечения для ОС Windows, которое поддерживает режим portable__ + +__Типы активации portable__ +- `Inst` - Режим portable выбирается во время установки +- `Conf` - Для активации portable необходимо создать файл +- `Zip` - На сайте присутствует прекомпилированная portable версия приложения +- `Portable` - Приложение самостоятельно хранит все файлы в директории + +| | App name | Portable type | App category | Site | +| - | -------- | ------------- | ------------ | ---- | +| ![](https://raw.githubusercontent.com/iiiypuk/portable-apps/master/aimp/icon.png) | AIMP | Inst | music | [Go to](http://aimp.ru/) | +| ![](https://raw.githubusercontent.com/iiiypuk/portable-apps/master/altdrag/icon.png) | AltDrag | Zip | system | [Go to](https://stefansundin.github.io/altdrag/) | +| ![](https://raw.githubusercontent.com/iiiypuk/portable-apps/master/adpf/icon.png) | Awesome Duplicate Photo Finder | Portable | images | [Go to](http://www.duplicate-finder.com/photo.html) | +| ![](https://raw.githubusercontent.com/iiiypuk/portable-apps/master/crystaldiskinfo/icon.png) | CrystalDiskInfo | Zip | system | [Go to](http://crystalmark.info/?lang=en) | diff --git a/adpf/icon.png b/adpf/icon.png new file mode 100644 index 0000000..b4a4462 Binary files /dev/null and b/adpf/icon.png differ diff --git a/aimp/icon.png b/aimp/icon.png new file mode 100644 index 0000000..a4ec742 Binary files /dev/null and b/aimp/icon.png differ diff --git a/altdrag/icon.png b/altdrag/icon.png new file mode 100644 index 0000000..194a87e Binary files /dev/null and b/altdrag/icon.png differ diff --git a/apps.json b/apps.json new file mode 100644 index 0000000..9d4dc43 --- /dev/null +++ b/apps.json @@ -0,0 +1,30 @@ +[ + { + "app_name": "AIMP", + "type": "Inst", + "category": "music", + "directory": "aimp", + "homepage": "http://aimp.ru/" + }, + { + "app_name": "Awesome Duplicate Photo Finder", + "type": "Portable", + "category": "images", + "directory": "adpf", + "homepage": "http://www.duplicate-finder.com/photo.html" + }, + { + "app_name": "AltDrag", + "type": "Zip", + "category": "system", + "directory": "altdrag", + "homepage": "https://stefansundin.github.io/altdrag/" + }, + { + "app_name": "CrystalDiskInfo", + "type": "Zip", + "category": "system", + "directory": "crystaldiskinfo", + "homepage": "http://crystalmark.info/?lang=en" + } +] diff --git a/crystaldiskinfo/icon.png b/crystaldiskinfo/icon.png new file mode 100644 index 0000000..af1ccac Binary files /dev/null and b/crystaldiskinfo/icon.png differ diff --git a/empty.json b/empty.json new file mode 100644 index 0000000..fc6d295 --- /dev/null +++ b/empty.json @@ -0,0 +1,8 @@ +, + { + "app_name": "", + "type": "", + "category": "", + "directory": "", + "homepage": "" + } \ No newline at end of file diff --git a/make_table.py b/make_table.py new file mode 100644 index 0000000..68dbf63 --- /dev/null +++ b/make_table.py @@ -0,0 +1,31 @@ +#!/usr/bin/env python3 + +import json + +__author__ = 'Alexander Popov' +__version__ = '1.0.0' +__license__ = 'Unlicense' + +README = '__Список программного обеспечения для ОС Windows, которое поддерживает режим portable__\n\n' +README += '__Типы активации portable__\n' +README += '- `Inst` - Режим portable выбирается во время установки\n' +README += '- `Conf` - Для активации portable необходимо создать файл\n' +README += '- `Zip` - На сайте присутствует прекомпилированная portable версия приложения\n' +README += '- `Portable` - Приложение самостоятельно хранит все файлы в директории\n\n' + +if __name__ == '__main__': + with open('apps.json', 'r', encoding='utf-8') as f: + APPS = json.loads(f.read()) + APPS = sorted(APPS, key=lambda app: app['app_name']) + + TABLE_TEXT = str(README) + TABLE_TEXT += '| | App name | Portable type | App category | Site |\n' + TABLE_TEXT += '| - | -------- | ------------- | ------------ | ---- |\n' + + for app in APPS: + TABLE_TEXT += '| {icon} | {app_name} | {type} | {cat} | {site} |\n'.format( + icon='![](https://raw.githubusercontent.com/iiiypuk/portable-apps/master/{0}/icon.png)'.format(app['directory']), + app_name=app['app_name'], type=app['type'], cat=app['category'], site='[Go to]({0})'.format(app['homepage'])) + + with open('README.md', 'w+', encoding='utf-8') as f: + f.write(TABLE_TEXT)