This commit is contained in:
Alexander Popov 2017-04-04 22:46:09 +03:00
commit d962a293ae
9 changed files with 107 additions and 0 deletions

24
LICENSE Normal file
View File

@ -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 <http://unlicense.org>

14
README.md Normal file
View File

@ -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) |

BIN
adpf/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
aimp/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
altdrag/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

30
apps.json Normal file
View File

@ -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"
}
]

BIN
crystaldiskinfo/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

8
empty.json Normal file
View File

@ -0,0 +1,8 @@
,
{
"app_name": "",
"type": "",
"category": "",
"directory": "",
"homepage": ""
}

31
make_table.py Normal file
View File

@ -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)