Compare commits
	
		
			446 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 0fc93f4d3c | ||
|  | 5f27bfa97a | ||
|  | 151d0ffc48 | ||
|  | ad91466475 | ||
|  | 5e4d94bb57 | ||
|  | 5b572ff540 | ||
|  | c68bcc9abf | ||
|  | 1ad2c6cfa8 | ||
|  | 16a686dc37 | ||
|  | c9d5619ab9 | ||
|  | 74311e9c04 | ||
|  | eb9bef83e2 | ||
|  | c7eddb8b53 | ||
|  | dfc6c1c836 | ||
|  | 04187e9463 | ||
|  | 5f915ab58d | ||
|  | 0e8ee7788a | ||
|  | 49c1ac6846 | ||
|  | 971bcd0f5a | ||
|  | 5b21015aee | ||
|  | 7dee08bcfb | ||
|  | 633deaf1c1 | ||
|  | 4df9508547 | ||
|  | 989f04cdd8 | ||
|  | 95b189f5a2 | ||
|  | 371553277a | ||
|  | dabf50103d | ||
|  | 590b37f1a3 | ||
|  | 1f9b4a9146 | ||
|  | 39f21373f1 | ||
|  | e984ffdb8c | ||
|  | 48834dc078 | ||
|  | b62d06ed71 | ||
|  | 9a1b78276e | ||
|  | f788307f05 | ||
|  | 14273f723b | ||
|  | a8e0fdce0a | ||
|  | da3d5cd7af | ||
|  | 3ee499c758 | ||
|  | 6286cccbab | ||
|  | e8d462b665 | ||
|  | 6476a84ce7 | ||
|  | db7e3f5220 | ||
|  | a817d1a6f5 | ||
|  | e1fc25bb72 | ||
|  | 7c90da2088 | ||
|  | 108316148a | ||
|  | 9029f4d0e8 | ||
|  | cedebe73c1 | ||
|  | e04811446c | ||
|  | 15712f0a0a | ||
|  | 8eeee56ee1 | ||
|  | ac4dd4f0bf | ||
|  | c15d751372 | ||
|  | 78113b92a5 | ||
|  | 9e8e41e812 | ||
|  | 5f4d3a54b1 | ||
|  | 9d16883e6e | ||
|  | e3cafee4f5 | ||
|  | e2b2c9568c | ||
|  | 7113d864be | ||
|  | 9a1a88d01b | ||
|  | ad775e4644 | ||
|  | 36f5c306c5 | ||
|  | 173a7ae41f | ||
|  | 32e56879f7 | ||
|  | b88ea9f478 | ||
|  | dd82cee5ea | ||
|  | a35efc347d | ||
|  | 95a8d370ab | ||
|  | dd2901c85e | ||
|  | 9f28363ac2 | ||
|  | 756c9e6d9e | ||
|  | 663cd10a5f | ||
|  | 86beb9eaee | ||
|  | 4610f6a6da | ||
|  | 4563d5641f | ||
| 17a8f3c63d | |||
|  | 08ef246712 | ||
|  | 07e220794d | ||
|  | 15432ace98 | ||
|  | e04a59507b | ||
|  | d5f337e6b4 | ||
|  | 904c9c9895 | ||
|  | 1d4ee1fd70 | ||
|  | 02a2256c8c | ||
|  | cbcdba204e | ||
|  | 66c56f6ecf | ||
|  | 221b59eda7 | ||
|  | adf5f78360 | ||
|  | 01f19cd94d | ||
|  | 117e497f94 | ||
|  | 3527846c6c | ||
|  | 553d427d66 | ||
|  | 0f8f192634 | ||
|  | 7f64378670 | ||
|  | 165c4ee110 | ||
|  | 843b90c1c2 | ||
|  | e3ac6dd967 | ||
|  | 5763749aa0 | ||
|  | b1f192b2ff | ||
|  | 42aa29d208 | ||
|  | 3ad737e27d | ||
|  | 97996fb67b | ||
|  | 151b6d6e30 | ||
|  | 9f994a8cc3 | ||
|  | 463306d0cf | ||
|  | 940cface08 | ||
|  | c8049efd37 | ||
|  | 8eb5a0aa86 | ||
|  | 7edc205b66 | ||
|  | b36cadd54d | ||
|  | 48d870979f | ||
|  | cbe535b878 | ||
|  | fd3442888d | ||
|  | 7321542477 | ||
|  | 477f44a11e | ||
|  | 4f9821450a | ||
|  | f858746064 | ||
|  | 1123c018eb | ||
|  | 998eff3263 | ||
|  | 4aebb722ca | ||
|  | 4672dcd4e1 | ||
|  | e174b034df | ||
|  | 3100475b1e | ||
|  | 148a7dbfce | ||
|  | 5c01220382 | ||
|  | b74fe77bad | ||
|  | 3a442f6288 | ||
|  | 20030d43e4 | ||
|  | b44849661d | ||
|  | 4c39ec3c8e | ||
|  | 8950d8de2f | ||
|  | 85bd5fdf5d | ||
|  | b98c6e5408 | ||
|  | bab49377a3 | ||
|  | aa591112ff | ||
|  | 08090bbb6b | ||
|  | 759421d725 | ||
|  | bf3a30487e | ||
|  | 13efa924d8 | ||
|  | 721fd5e76e | ||
|  | 7f3f330fc4 | ||
|  | 1e19fa3c56 | ||
|  | a57df9a259 | ||
|  | 3f22b3540e | ||
|  | 861b6743fd | ||
|  | aa267ad9ef | ||
|  | 3e91bcf241 | ||
|  | 5571f74125 | ||
|  | a15b2621b6 | ||
|  | fd00b61c71 | ||
|  | 74eaf34c00 | ||
|  | a69493df73 | ||
|  | 6b958dd7f1 | ||
|  | 2483f4c66c | ||
|  | ab0e23952e | ||
|  | 92a682ba8a | ||
|  | 3381054c21 | ||
|  | 76b7d4f046 | ||
|  | aeae544640 | ||
|  | eeb94523b3 | ||
|  | a2186b63cb | ||
|  | 839b480c39 | ||
|  | 504be8ea5b | ||
|  | 662a62267c | ||
|  | 83fe362b37 | ||
|  | f7fdfca743 | ||
|  | ffc7098aba | ||
|  | 50de9bdb14 | ||
|  | b4d663f2a7 | ||
|  | c5db176ca4 | ||
|  | d73c0a47ab | ||
|  | aadd579cdc | ||
|  | 0608a3f250 | ||
|  | 274a21941d | ||
|  | d499147bdc | ||
|  | dd5d8bb657 | ||
|  | f73f717d0e | ||
|  | cefb3c8d5a | ||
|  | a4f01e7340 | ||
|  | 70f2976a70 | ||
|  | 34713bb61a | ||
|  | eea04f0d91 | ||
|  | 45bc97d796 | ||
|  | 88f1febf54 | ||
|  | c756459993 | ||
|  | b97b2169ab | ||
|  | 6b8909902c | ||
|  | 3bfdf5c01a | ||
|  | 4e1c3e787d | ||
|  | c1e58bb8a1 | ||
|  | 658816a84d | ||
|  | 3e13cdf8f0 | ||
|  | 95dd7ae598 | ||
|  | 16b9a84191 | ||
|  | ddea68c11c | ||
|  | a27832329d | ||
|  | 159fc26eca | ||
|  | 2666ee33ad | ||
|  | 100ffa22ba | ||
|  | e766b4dba2 | ||
|  | bad7e5780a | ||
|  | 7fbe9ba31b | ||
|  | 377b9e9059 | ||
|  | a815fa1c20 | ||
|  | 63f301d2de | ||
|  | 213035d868 | ||
|  | 65bd514a1a | ||
|  | 8912134827 | ||
|  | cb3fdc62dc | ||
|  | 9611cc52fc | ||
|  | 5cdc4a8f4f | ||
|  | 32fa7f6278 | ||
|  | b44fcdb63e | ||
|  | 3e2ed1cff5 | ||
|  | a18c4684a7 | ||
|  | 0cca7b441d | ||
|  | bda170017c | ||
|  | 42e822217b | ||
|  | 79d45b6f51 | ||
|  | ae2d47b641 | ||
|  | 576f939ceb | ||
|  | c9e4cb23b7 | ||
|  | f17b354ca3 | ||
|  | 3d28dc2758 | ||
|  | b403934966 | ||
|  | e79d7e5b17 | ||
|  | ea621f0402 | ||
|  | d65e4dc74d | ||
|  | 45062a252d | ||
|  | 978ef09597 | ||
|  | 5006817fed | ||
|  | c781374979 | ||
|  | 2ff5056c8a | ||
|  | 6c0afe5dc7 | ||
|  | 5fac6c25c2 | ||
|  | a1097b9ecc | ||
|  | 394ad6e891 | ||
|  | b122128b0b | ||
|  | 674a499c5e | ||
|  | a3de3240b6 | ||
|  | f985c8d92e | ||
|  | cd934bab1c | ||
|  | f67c9ca3ec | ||
|  | 9304a5e19f | ||
|  | a0be9e7ce1 | ||
|  | 93b8b41fcc | ||
|  | d3df605806 | ||
|  | a6ee4a80ee | ||
|  | 3ea3fb5e53 | ||
|  | 80a425f421 | ||
|  | 8736bb8f53 | ||
|  | d553256a7a | ||
|  | 33dd0aa45e | ||
|  | 877689ab5e | ||
|  | 418493b7b8 | ||
|  | cadfe91198 | ||
|  | 615bcdd95b | ||
|  | 33a181fe4f | ||
|  | dfe41ea9c2 | ||
|  | e649261ff9 | ||
|  | 299ee7ed53 | ||
|  | 7c41d656aa | ||
|  | 10707bd010 | ||
|  | bd9d5b9561 | ||
|  | 9caea05eb5 | ||
|  | 0bb88f6bff | ||
|  | d238a37860 | ||
|  | fc6b2fb67d | ||
|  | 6ab84be100 | ||
|  | 341b821442 | ||
|  | 63d24ae584 | ||
|  | f7450529c8 | ||
|  | 37234c25bf | ||
|  | 8601dd600f | ||
|  | 9df3940ec9 | ||
|  | f1315115c7 | ||
|  | 036957c729 | ||
|  | c1791761d1 | ||
|  | 7dae7c4739 | ||
|  | ddb644b732 | ||
|  | d38b2ca2fb | ||
|  | 9ff0414693 | ||
|  | 3d13f3ca33 | ||
|  | 5e07495d9b | ||
|  | 34a60665ea | ||
|  | 670e9a4596 | ||
|  | 47747ddca1 | ||
|  | 97d302675f | ||
|  | a1c40fb9f7 | ||
|  | 0fc45bc85f | ||
|  | 62497c94c4 | ||
|  | f39911b1be | ||
|  | badc42fe5e | ||
|  | ce7da743fe | ||
|  | 4274b9d527 | ||
|  | 3388da66b9 | ||
|  | b768b4737f | ||
|  | 1500643f7a | ||
|  | 29cc5fae23 | ||
|  | 4f9da74185 | ||
|  | 3d91323db2 | ||
|  | 751ef7453c | ||
|  | 059d62c4e2 | ||
|  | 9acef3c065 | ||
|  | b257dbaa7e | ||
|  | 206e6f5467 | ||
|  | 973ae4c61a | ||
|  | 30cab1f4d1 | ||
|  | 6374e30797 | ||
|  | a1500e320b | ||
|  | 5af77fee07 | ||
|  | 8e96de0626 | ||
|  | a2b12327d4 | ||
|  | b00702c77f | ||
|  | 74d8facc08 | ||
|  | 0fa3e567ba | ||
|  | 8e2a76414b | ||
|  | 00bd907416 | ||
|  | d118e320a7 | ||
|  | 625472f1be | ||
|  | fc7374fb54 | ||
|  | dac6ec13dc | ||
|  | fdc9de705b | ||
|  | b9d1987b01 | ||
|  | 1a589f3b52 | ||
|  | 9ed6a4d61e | ||
|  | 57a77b608d | ||
|  | 6b5d7736b6 | ||
|  | 6ad9d1a47f | ||
|  | d09b1a3439 | ||
|  | aca10b71fe | ||
|  | 9c332106c3 | ||
|  | fe8f384681 | ||
|  | b46728e2e2 | ||
|  | 8ba7c99b45 | ||
|  | 37f4f26495 | ||
|  | 499260b5dc | ||
|  | 3033f6022a | ||
|  | f7d189fa53 | ||
|  | 53fc21806e | ||
|  | 5d3fe940d2 | ||
|  | c5538b4c14 | ||
|  | 0ee9b42d1f | ||
|  | 98902bd8f2 | ||
|  | 17afd90e93 | ||
|  | 19af68332b | ||
|  | a2a63cf1ff | ||
|  | 858507fc8d | ||
|  | 68870f8307 | ||
|  | 8f6300c6b8 | ||
|  | ed8d28c81f | ||
|  | bd482ea757 | ||
|  | 8cc9cb17bb | ||
|  | b29e586137 | ||
|  | ace00616ca | ||
|  | 5b6a05a09e | ||
|  | 3be6b8c4a1 | ||
|  | b684afe1ad | ||
|  | bda5a31205 | ||
|  | e55bc209c1 | ||
|  | 33f12d5287 | ||
|  | bb0ec33202 | ||
|  | a4998d2f26 | ||
|  | ca9e1d7f75 | ||
|  | b4d36b15e8 | ||
|  | 717e6c0e7d | ||
|  | fbe8944a0f | ||
|  | 3ea9462025 | ||
|  | 8774a8b34d | ||
|  | 052a07a42b | ||
|  | 112933c7b1 | ||
|  | de34f84e04 | ||
|  | 4310fe1e8c | ||
|  | cd619bb9cc | ||
|  | b319f4146c | ||
|  | 70b577dce5 | ||
|  | 997612c98d | ||
|  | 8892f29a33 | ||
|  | 5c0a62ff02 | ||
|  | 20f2f6d112 | ||
|  | 0d4faa3224 | ||
|  | 388293e929 | ||
|  | cd966cc4f8 | ||
|  | a6722fb4fd | ||
|  | 3502dd8bfd | ||
|  | 52ebfab570 | ||
|  | d6da611647 | ||
|  | 5298f16514 | ||
|  | ecfab64e45 | ||
|  | 472c29d876 | ||
|  | 7e94f3617b | ||
|  | b9bb948738 | ||
|  | b43ca4d712 | ||
|  | 86040f5efd | ||
|  | e6dc01efc1 | ||
|  | b1b2b22fda | ||
|  | 3d13137677 | ||
|  | bc21f86c5e | ||
|  | 8aa3e0e51f | ||
|  | 30c7ce02b4 | ||
|  | 7dac3a048a | ||
|  | d0415b1f7c | ||
|  | cbf128f7c2 | ||
|  | ef3a46911a | ||
|  | 9ad011bf31 | ||
|  | 1061f16349 | ||
|  | 220fff4a4f | ||
|  | c39fadd0dc | ||
|  | f8e182ad3a | ||
|  | 48623270d8 | ||
|  | 9b413af250 | ||
|  | 78921cb4f5 | ||
|  | f925d1c942 | ||
|  | ec08aa36db | ||
|  | 90f334816c | ||
|  | 0313f77c61 | ||
|  | 4b4d6f7bfa | ||
|  | a2a73bc0df | ||
|  | 4ff587b4e9 | ||
|  | 2afbdb507f | ||
|  | a7a4efa039 | ||
|  | 4465e4b90d | ||
|  | 8d7d0af012 | ||
|  | ebd0ca8fc4 | ||
|  | 199e1208cf | ||
|  | 2aab6a1951 | ||
|  | 61e95fc883 | ||
|  | 7c8670924d | ||
|  | 09cbb547f8 | ||
|  | 7373aac27e | ||
|  | c0fe288cb5 | ||
|  | 9e76d0c78d | ||
|  | d1c1609ddd | ||
|  | 7519c50c2a | ||
|  | 201c8185c5 | ||
|  | 2493aa6f9b | ||
|  | 9708835fcc | ||
|  | f33d83ddfe | ||
|  | d83fa93311 | ||
|  | a60a98efce | ||
|  | 9cc8e8d249 | ||
|  | fa69b9841c | ||
|  | bc631fd4e0 | ||
|  | 705cb6cda9 | 
							
								
								
									
										196
									
								
								CHANGELOG
									
									
									
									
									
								
							
							
						
						| @@ -1,5 +1,201 @@ | |||||||
| История изменений: | История изменений: | ||||||
|  |  | ||||||
|  | 0.8.0 | ||||||
|  | * добавлено автоопределение .reg и .dll файлов для их добавленния в реестр префикса | ||||||
|  | * во вкладку "Справка" добавлены ссылки на старницы с сертификатами | ||||||
|  | * другие небольшие улучшения и оптимизации скриптов и графического интерфейса | ||||||
|  |  | ||||||
|  | 0.7.0 | ||||||
|  | * обновлен графический режим Qt5 | ||||||
|  |     - добавлена кнопка открытия каталога с резервными копиями и логами | ||||||
|  |     - добавлена кнопка открытия каталога с префиксом | ||||||
|  |     - добавлена блокировка кнопок для установленного приложения, если оно уже запущено | ||||||
|  |     - добавлено отображения процесса установки сторонних компонентов с помощью winetricks | ||||||
|  |     - добавлена возможность отображения и установки тестовых скриптов (выключено по умолчанию) | ||||||
|  | * добавлены скрипты установки для t-flex версии 18 | ||||||
|  | * в CLI добавлен список тестовых скриптов установки ПО | ||||||
|  | * добавлена возможность ассоциации файлов для передачи в приложения запускаемых в WineHelper | ||||||
|  |  | ||||||
|  | 0.6.0 | ||||||
|  | * обновлен графический режим Qt5 | ||||||
|  | * добавлен иконка в трее для графического режима Qt5 | ||||||
|  | * обновлены скрипты установки для t-flex-* | ||||||
|  | * обновлен скрипт установки для scadoffice | ||||||
|  | * добавлена ручная установка NetTest (демо версия) | ||||||
|  | * добавлены скрипты установки ARM-KT: | ||||||
|  |     winehelper install arm-kt-att - "АРМ КТ ПРОФ АТТЕСТАТ" | ||||||
|  |     winehelper install arm-kt-dpp - "АРМ КТ ПРОФ ДПП" | ||||||
|  |     winehelper install arm-kt-es - "АРМ КТ ПРОФ НШ" | ||||||
|  |     winehelper install arm-kt-med - "АРМ КТ ПРОФ МЕД" | ||||||
|  |     winehelper install arm-kt-prof - "АРМ КТ ПРОФ ПРОФЕССИЯ" | ||||||
|  |     winehelper install arm-kt-spo - "АРМ КТ ПРОФ СПО" | ||||||
|  |     winehelper install arm-kt-vuz - "АРМ КТ ПРОФ ВУЗ" | ||||||
|  | * winehelper killal - убивает только процессы запущенные в WinwHelper | ||||||
|  | * другие небольшие улучшения и оптимизации скриптов | ||||||
|  |  | ||||||
|  | 0.5.4: | ||||||
|  | * обновлен графический режим Qt5: | ||||||
|  |     - добавлена возможность установки системных зависимостей | ||||||
|  |     - исправлены/улучшены основные функции | ||||||
|  |     - добавлено управление префиксами (в разработке) | ||||||
|  |     - добавлена возможность создания ярлыка | ||||||
|  | * добавлено автоматическое создание иконки для ярлыков (desktop файлов) | ||||||
|  | * префикс tflex17 переименован в tflex (т.к. 18-я версия работает в том же префиксе) | ||||||
|  |  | ||||||
|  | 0.5.3: | ||||||
|  | * исправлена установка grdcontrol для t-flex-* | ||||||
|  | * обновлен графический режим Qt5 | ||||||
|  |  | ||||||
|  | 0.5.2: | ||||||
|  | * исправлен запуск winehelper.desktop для winehelper-qt | ||||||
|  |  | ||||||
|  | 0.5.1: | ||||||
|  | * добавлена функция извлечения иконки из .exe файлов | ||||||
|  | * добавлен вывод истории изменений командой: winehelper --changelog | ||||||
|  | * добавлен графический режим Qt5 (альфа версия) | ||||||
|  | * обновлены скрипты для совместной работы с графическим режимом | ||||||
|  | * обновлены скрипты установок для t-flex-* (добавлена поддержка grdcontrol) | ||||||
|  | * добавлены ссылки на официальные сайты устанавливаемых приложений | ||||||
|  | * обновлены функции создания и восстановления резервных копий префиков | ||||||
|  | * добавлены иконки для приложения WineHelper | ||||||
|  |  | ||||||
|  | 0.5.0: | ||||||
|  | * добавлен явный вывод отказа от ответственности и соглашения с ним | ||||||
|  | * обновлены все скрипты для установки t-flex-* | ||||||
|  | * добавлен wine_wh_tflex_10-9 с патчами для t-flex-* | ||||||
|  | * добавлена поддержка новых версий wine 10.3 и выше | ||||||
|  | * удален пакет libOSMesa из проверки на зависимости | ||||||
|  | * другие небольшие улучшения и оптимизации скриптов | ||||||
|  |  | ||||||
|  | 0.4.9: | ||||||
|  | * добавлено автодопонение команд для zsh (zsh_completion) | ||||||
|  |  | ||||||
|  | 0.4.8: | ||||||
|  | * все скрипты для программ daobit-* переведены из ручных установок в автоматические | ||||||
|  |  | ||||||
|  | 0.4.7: | ||||||
|  | * обновлены скрипты установки и префикс для программ ved-* и ctm-* | ||||||
|  | * обновлены скрипты установки для программ daobit-* | ||||||
|  | * улучшено отображение шрифтов в ПО: Справки БК | ||||||
|  | * добавлена проверка хэш-суммы для сохраненных архивов | ||||||
|  |  | ||||||
|  | 0.4.6: | ||||||
|  | * добавлено автодопонение команд для bash (bash_completion) | ||||||
|  |  | ||||||
|  | 0.4.5: | ||||||
|  | * скорректирована проверка синтаксиса скриптов | ||||||
|  |  | ||||||
|  | 0.4.4: | ||||||
|  | * добавлены/обновлены скрипты установки: | ||||||
|  |     winehelper install t-flex-cad17 - "T-FLEX CAD 17" | ||||||
|  |     winehelper install t-flex-doc17 - "T-FLEX DOCs 17" | ||||||
|  |     winehelper install t-flex-cad2d+17 - "T-FLEX CAD 2D+ 17" | ||||||
|  |     winehelper install t-flex-cad-edu17 - "T-FLEX CAD Учебная Версия 17" | ||||||
|  |     winehelper install t-flex-viewer17 - "T-FLEX Viewer 17" | ||||||
|  |  | ||||||
|  |     winehelper install t-flex-cad17-applications | ||||||
|  |     Приложения для T-FLEX CAD 17 (T-FLEX Анализ 17, T-FLEX Динамика 17, T-FLEX Зубчатые передачи 17, T-FLEX ЧПУ 17, T-FLEX Раскрой 17, T-FLEX Электротехника 17, T-FLEX VR 17, T-FLEX Печатные платы 17) | ||||||
|  |  | ||||||
|  |     winehelper install t-flex-cad17-resources | ||||||
|  |     Обучающие материалы, примеры, бесплатные библиотеки для T-FLEX CAD 17 (Учебное пособие 17, Стандартные элементы 17, Элементы уплотнительной техники 17, Станочные приспособления 17, Детали штампов листовой штамповки 17, Детали пресс-форм 17, Примеры 17) | ||||||
|  |  | ||||||
|  | * добавлена ручная установка дополнений для T-FLEX CAD 17: | ||||||
|  |     winehelper install t-flex-cad17-manual "/путь/до/файла" | ||||||
|  |  | ||||||
|  | 0.4.3: | ||||||
|  | * исправлено обновление префикса при первом запуске | ||||||
|  |  | ||||||
|  | 0.4.2: | ||||||
|  | * исправлено создание и восстановление резервных копий с разными именами пользователей | ||||||
|  |  | ||||||
|  | 0.4.1: | ||||||
|  | * добавлена возможность создания резервной копии префикса: | ||||||
|  |     winehelper backup-prefix [имя_префикса] | ||||||
|  | * добавлена возможность восстановления резервной копии префикса: | ||||||
|  |     winehelper restore-prefix "путь/до/резервной_копии.whpack" | ||||||
|  | * создание и восстановление резервной копии префикса включает в себя требуемую версиею WINE и информацию для создания .desktop файлов (ярлыков), что дает возможность переноса префикса на ПК без доступа к интернету | ||||||
|  |  | ||||||
|  | 0.4.0: | ||||||
|  | * добавлена автоматическая установка и настройка wine-cpcsp_proxy при | ||||||
|  | использовании переменной WH_USE_CPCSP_PROXY=1 | ||||||
|  | * подготовка функций для создания бэкапов префикса | ||||||
|  |  | ||||||
|  | 0.3.9: | ||||||
|  | * обновлен скрипт установки scadoffice | ||||||
|  | * добавлена автоустановка: | ||||||
|  |     winehelper easymnemo - "Easymnemo" | ||||||
|  | * winetricks поставляется с пакетом WineHelper, а не скачивается из GitHub | ||||||
|  | * добавлена возможность удаления префикса | ||||||
|  |  | ||||||
|  | 0.3.8: | ||||||
|  | * добавлена возможность ассоциации и запуска файлов из WINE в нативном Linux | ||||||
|  | приложении с помощью перемененной. Пример: WH_XDG_OPEN="rtf txt doc" | ||||||
|  | * добавлен выбор префикса, если переменная WINEPREFIX не объявлена | ||||||
|  | * добавлено сохранение последней конфигурации использования префикса | ||||||
|  | * добавлено сохранение скписка создаваемых ярлыков для приложений | ||||||
|  |  | ||||||
|  | 0.3.7: | ||||||
|  | * обновлены функции создания desktop файлов (ярлыков) и категория WineHelper в меню | ||||||
|  | * обновлен скрипт установки scadoffice | ||||||
|  | * добавлена автоустановка: | ||||||
|  |     winehelper install zulugis - ZuluGIS 2021 Инженерные расчёты | ||||||
|  | * добавлена функция полного удаления WineHelper | ||||||
|  | * обновлена проверка на наличие noexec для /home (ALT bug: 54095) | ||||||
|  |  | ||||||
|  | 0.3.6: | ||||||
|  | * добавлена категория WineHelper для desktop файлов (ярлыков) в меню | ||||||
|  |  | ||||||
|  | 0.3.5: | ||||||
|  | * обновлены скрипты установок daobit | ||||||
|  | * добавлен вывод списка программ с возможностью установки из существующего дистрибутива | ||||||
|  |  | ||||||
|  | 0.3.4: | ||||||
|  | * добавлены скрипты установки специализированных программных решений для железнодорожной логистики daobit: | ||||||
|  |     winehelper install daobit-cservice "/путь/до/установочного_файла"  -  "Сервис обновления ПО" | ||||||
|  |     winehelper install daobit-ratlas "/путь/до/установочного_файла"  -  "R-Атлас" | ||||||
|  |     winehelper install daobit-rinfo "/путь/до/установочного_файла"  -  "R-Инфо" | ||||||
|  |     winehelper install daobit-rtariff "/путь/до/установочного_файла"  -  "R-Тариф" | ||||||
|  | * добавлена автоустановка: | ||||||
|  |     winehelper install scadoffice  -  "Программный комплекс для расчёта строительных конструкций" | ||||||
|  | * добавлена возможность запуска приложений в сессии XRDP | ||||||
|  |  | ||||||
|  | 0.3.3: | ||||||
|  | * добавлены скрипты установки: | ||||||
|  |     winehelper install is-record-station "/путь/до/установочного_файла" | ||||||
|  |     winehelper install desktop-audio-station "/путь/до/установочного_файла" | ||||||
|  | * добавлена автоустановка: | ||||||
|  |     winehelper install alta-expert  -  "Альта-Эксперт" | ||||||
|  |  | ||||||
|  | 0.3.2: | ||||||
|  | * обновлена автоустановка "Альта-Максимум" | ||||||
|  | * исправлен запуск установленных программ аргументом "run" | ||||||
|  | Пример: "winehelper run БК.exe" | ||||||
|  | * добавлен аргумент "--debug" для запуска в режиме создания лога | ||||||
|  | Пример: "winehelper --debug run БК.exe" | ||||||
|  |  | ||||||
|  | 0.3.1: | ||||||
|  | * добавлен вывод ошибки, если установочного файла не существует | ||||||
|  | * исправлена тихая установка нескольких приложений "Альта-Софт" в один префикс и каталог | ||||||
|  | * добавлена автоустановка: | ||||||
|  |     winehelper install alta-maximum  -  "Альта-Максимум" | ||||||
|  |  | ||||||
|  | 0.3.0: | ||||||
|  | * добавлена автоматическое определение версии ПО "Декларация", с возможностью последующего обновления поверх старой версии программы | ||||||
|  | * обновлена версия tester_n - до актуальной на 10.03.2025 | ||||||
|  | * npul - доработано определения дополнительного обновления | ||||||
|  | * упрощен вывод списка возможных установок | ||||||
|  | * добавлена возможность установки ПО без использования подготовленного префикса | ||||||
|  | Пример: "winehelper install declaration --clear-pfx" | ||||||
|  | * лицензия изменена на LGPLv2+ | ||||||
|  | * добавлено явное подтверждение пользователем о согласии использования лицензионного соглашения и отказа от ответственности | ||||||
|  | * добавлено создание символьной ссылки рабочего каталога winehelper в "$HOME/.winehelper" | ||||||
|  | * в префиксы добавлен диск "H:" всегда ведущий на домашний каталог пользователя "$HOME" | ||||||
|  |  | ||||||
|  | 0.2.7: | ||||||
|  | * удалена команда обновления системы "dist-upgrade" при установке зависимостей | ||||||
|  | * исправлено отображение списка возможных установок при использовании перенаправления | ||||||
|  | Пример: "winehelper -i | less" | ||||||
|  |  | ||||||
| 0.2.6: | 0.2.6: | ||||||
| * добавлена информация о "Лицензионных соглашениях" перед запуском автоустановок программ | * добавлена информация о "Лицензионных соглашениях" перед запуском автоустановок программ | ||||||
| * добавлен CHANGELOG | * добавлен CHANGELOG | ||||||
|   | |||||||
							
								
								
									
										502
									
								
								COPYING
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,502 @@ | |||||||
|  |                   GNU LESSER GENERAL PUBLIC LICENSE | ||||||
|  |                        Version 2.1, February 1999 | ||||||
|  |  | ||||||
|  |  Copyright (C) 1991, 1999 Free Software Foundation, Inc. | ||||||
|  |  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA | ||||||
|  |  Everyone is permitted to copy and distribute verbatim copies | ||||||
|  |  of this license document, but changing it is not allowed. | ||||||
|  |  | ||||||
|  | [This is the first released version of the Lesser GPL.  It also counts | ||||||
|  |  as the successor of the GNU Library Public License, version 2, hence | ||||||
|  |  the version number 2.1.] | ||||||
|  |  | ||||||
|  |                             Preamble | ||||||
|  |  | ||||||
|  |   The licenses for most software are designed to take away your | ||||||
|  | freedom to share and change it.  By contrast, the GNU General Public | ||||||
|  | Licenses are intended to guarantee your freedom to share and change | ||||||
|  | free software--to make sure the software is free for all its users. | ||||||
|  |  | ||||||
|  |   This license, the Lesser General Public License, applies to some | ||||||
|  | specially designated software packages--typically libraries--of the | ||||||
|  | Free Software Foundation and other authors who decide to use it.  You | ||||||
|  | can use it too, but we suggest you first think carefully about whether | ||||||
|  | this license or the ordinary General Public License is the better | ||||||
|  | strategy to use in any particular case, based on the explanations below. | ||||||
|  |  | ||||||
|  |   When we speak of free software, we are referring to freedom of use, | ||||||
|  | not price.  Our General Public Licenses are designed to make sure that | ||||||
|  | you have the freedom to distribute copies of free software (and charge | ||||||
|  | for this service if you wish); that you receive source code or can get | ||||||
|  | it if you want it; that you can change the software and use pieces of | ||||||
|  | it in new free programs; and that you are informed that you can do | ||||||
|  | these things. | ||||||
|  |  | ||||||
|  |   To protect your rights, we need to make restrictions that forbid | ||||||
|  | distributors to deny you these rights or to ask you to surrender these | ||||||
|  | rights.  These restrictions translate to certain responsibilities for | ||||||
|  | you if you distribute copies of the library or if you modify it. | ||||||
|  |  | ||||||
|  |   For example, if you distribute copies of the library, whether gratis | ||||||
|  | or for a fee, you must give the recipients all the rights that we gave | ||||||
|  | you.  You must make sure that they, too, receive or can get the source | ||||||
|  | code.  If you link other code with the library, you must provide | ||||||
|  | complete object files to the recipients, so that they can relink them | ||||||
|  | with the library after making changes to the library and recompiling | ||||||
|  | it.  And you must show them these terms so they know their rights. | ||||||
|  |  | ||||||
|  |   We protect your rights with a two-step method: (1) we copyright the | ||||||
|  | library, and (2) we offer you this license, which gives you legal | ||||||
|  | permission to copy, distribute and/or modify the library. | ||||||
|  |  | ||||||
|  |   To protect each distributor, we want to make it very clear that | ||||||
|  | there is no warranty for the free library.  Also, if the library is | ||||||
|  | modified by someone else and passed on, the recipients should know | ||||||
|  | that what they have is not the original version, so that the original | ||||||
|  | author's reputation will not be affected by problems that might be | ||||||
|  | introduced by others. | ||||||
|  |  | ||||||
|  |   Finally, software patents pose a constant threat to the existence of | ||||||
|  | any free program.  We wish to make sure that a company cannot | ||||||
|  | effectively restrict the users of a free program by obtaining a | ||||||
|  | restrictive license from a patent holder.  Therefore, we insist that | ||||||
|  | any patent license obtained for a version of the library must be | ||||||
|  | consistent with the full freedom of use specified in this license. | ||||||
|  |  | ||||||
|  |   Most GNU software, including some libraries, is covered by the | ||||||
|  | ordinary GNU General Public License.  This license, the GNU Lesser | ||||||
|  | General Public License, applies to certain designated libraries, and | ||||||
|  | is quite different from the ordinary General Public License.  We use | ||||||
|  | this license for certain libraries in order to permit linking those | ||||||
|  | libraries into non-free programs. | ||||||
|  |  | ||||||
|  |   When a program is linked with a library, whether statically or using | ||||||
|  | a shared library, the combination of the two is legally speaking a | ||||||
|  | combined work, a derivative of the original library.  The ordinary | ||||||
|  | General Public License therefore permits such linking only if the | ||||||
|  | entire combination fits its criteria of freedom.  The Lesser General | ||||||
|  | Public License permits more lax criteria for linking other code with | ||||||
|  | the library. | ||||||
|  |  | ||||||
|  |   We call this license the "Lesser" General Public License because it | ||||||
|  | does Less to protect the user's freedom than the ordinary General | ||||||
|  | Public License.  It also provides other free software developers Less | ||||||
|  | of an advantage over competing non-free programs.  These disadvantages | ||||||
|  | are the reason we use the ordinary General Public License for many | ||||||
|  | libraries.  However, the Lesser license provides advantages in certain | ||||||
|  | special circumstances. | ||||||
|  |  | ||||||
|  |   For example, on rare occasions, there may be a special need to | ||||||
|  | encourage the widest possible use of a certain library, so that it becomes | ||||||
|  | a de-facto standard.  To achieve this, non-free programs must be | ||||||
|  | allowed to use the library.  A more frequent case is that a free | ||||||
|  | library does the same job as widely used non-free libraries.  In this | ||||||
|  | case, there is little to gain by limiting the free library to free | ||||||
|  | software only, so we use the Lesser General Public License. | ||||||
|  |  | ||||||
|  |   In other cases, permission to use a particular library in non-free | ||||||
|  | programs enables a greater number of people to use a large body of | ||||||
|  | free software.  For example, permission to use the GNU C Library in | ||||||
|  | non-free programs enables many more people to use the whole GNU | ||||||
|  | operating system, as well as its variant, the GNU/Linux operating | ||||||
|  | system. | ||||||
|  |  | ||||||
|  |   Although the Lesser General Public License is Less protective of the | ||||||
|  | users' freedom, it does ensure that the user of a program that is | ||||||
|  | linked with the Library has the freedom and the wherewithal to run | ||||||
|  | that program using a modified version of the Library. | ||||||
|  |  | ||||||
|  |   The precise terms and conditions for copying, distribution and | ||||||
|  | modification follow.  Pay close attention to the difference between a | ||||||
|  | "work based on the library" and a "work that uses the library".  The | ||||||
|  | former contains code derived from the library, whereas the latter must | ||||||
|  | be combined with the library in order to run. | ||||||
|  |  | ||||||
|  |                   GNU LESSER GENERAL PUBLIC LICENSE | ||||||
|  |    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||||||
|  |  | ||||||
|  |   0. This License Agreement applies to any software library or other | ||||||
|  | program which contains a notice placed by the copyright holder or | ||||||
|  | other authorized party saying it may be distributed under the terms of | ||||||
|  | this Lesser General Public License (also called "this License"). | ||||||
|  | Each licensee is addressed as "you". | ||||||
|  |  | ||||||
|  |   A "library" means a collection of software functions and/or data | ||||||
|  | prepared so as to be conveniently linked with application programs | ||||||
|  | (which use some of those functions and data) to form executables. | ||||||
|  |  | ||||||
|  |   The "Library", below, refers to any such software library or work | ||||||
|  | which has been distributed under these terms.  A "work based on the | ||||||
|  | Library" means either the Library or any derivative work under | ||||||
|  | copyright law: that is to say, a work containing the Library or a | ||||||
|  | portion of it, either verbatim or with modifications and/or translated | ||||||
|  | straightforwardly into another language.  (Hereinafter, translation is | ||||||
|  | included without limitation in the term "modification".) | ||||||
|  |  | ||||||
|  |   "Source code" for a work means the preferred form of the work for | ||||||
|  | making modifications to it.  For a library, complete source code means | ||||||
|  | all the source code for all modules it contains, plus any associated | ||||||
|  | interface definition files, plus the scripts used to control compilation | ||||||
|  | and installation of the library. | ||||||
|  |  | ||||||
|  |   Activities other than copying, distribution and modification are not | ||||||
|  | covered by this License; they are outside its scope.  The act of | ||||||
|  | running a program using the Library is not restricted, and output from | ||||||
|  | such a program is covered only if its contents constitute a work based | ||||||
|  | on the Library (independent of the use of the Library in a tool for | ||||||
|  | writing it).  Whether that is true depends on what the Library does | ||||||
|  | and what the program that uses the Library does. | ||||||
|  |  | ||||||
|  |   1. You may copy and distribute verbatim copies of the Library's | ||||||
|  | complete source code as you receive it, in any medium, provided that | ||||||
|  | you conspicuously and appropriately publish on each copy an | ||||||
|  | appropriate copyright notice and disclaimer of warranty; keep intact | ||||||
|  | all the notices that refer to this License and to the absence of any | ||||||
|  | warranty; and distribute a copy of this License along with the | ||||||
|  | Library. | ||||||
|  |  | ||||||
|  |   You may charge a fee for the physical act of transferring a copy, | ||||||
|  | and you may at your option offer warranty protection in exchange for a | ||||||
|  | fee. | ||||||
|  |  | ||||||
|  |   2. You may modify your copy or copies of the Library or any portion | ||||||
|  | of it, thus forming a work based on the Library, and copy and | ||||||
|  | distribute such modifications or work under the terms of Section 1 | ||||||
|  | above, provided that you also meet all of these conditions: | ||||||
|  |  | ||||||
|  |     a) The modified work must itself be a software library. | ||||||
|  |  | ||||||
|  |     b) You must cause the files modified to carry prominent notices | ||||||
|  |     stating that you changed the files and the date of any change. | ||||||
|  |  | ||||||
|  |     c) You must cause the whole of the work to be licensed at no | ||||||
|  |     charge to all third parties under the terms of this License. | ||||||
|  |  | ||||||
|  |     d) If a facility in the modified Library refers to a function or a | ||||||
|  |     table of data to be supplied by an application program that uses | ||||||
|  |     the facility, other than as an argument passed when the facility | ||||||
|  |     is invoked, then you must make a good faith effort to ensure that, | ||||||
|  |     in the event an application does not supply such function or | ||||||
|  |     table, the facility still operates, and performs whatever part of | ||||||
|  |     its purpose remains meaningful. | ||||||
|  |  | ||||||
|  |     (For example, a function in a library to compute square roots has | ||||||
|  |     a purpose that is entirely well-defined independent of the | ||||||
|  |     application.  Therefore, Subsection 2d requires that any | ||||||
|  |     application-supplied function or table used by this function must | ||||||
|  |     be optional: if the application does not supply it, the square | ||||||
|  |     root function must still compute square roots.) | ||||||
|  |  | ||||||
|  | These requirements apply to the modified work as a whole.  If | ||||||
|  | identifiable sections of that work are not derived from the Library, | ||||||
|  | and can be reasonably considered independent and separate works in | ||||||
|  | themselves, then this License, and its terms, do not apply to those | ||||||
|  | sections when you distribute them as separate works.  But when you | ||||||
|  | distribute the same sections as part of a whole which is a work based | ||||||
|  | on the Library, the distribution of the whole must be on the terms of | ||||||
|  | this License, whose permissions for other licensees extend to the | ||||||
|  | entire whole, and thus to each and every part regardless of who wrote | ||||||
|  | it. | ||||||
|  |  | ||||||
|  | Thus, it is not the intent of this section to claim rights or contest | ||||||
|  | your rights to work written entirely by you; rather, the intent is to | ||||||
|  | exercise the right to control the distribution of derivative or | ||||||
|  | collective works based on the Library. | ||||||
|  |  | ||||||
|  | In addition, mere aggregation of another work not based on the Library | ||||||
|  | with the Library (or with a work based on the Library) on a volume of | ||||||
|  | a storage or distribution medium does not bring the other work under | ||||||
|  | the scope of this License. | ||||||
|  |  | ||||||
|  |   3. You may opt to apply the terms of the ordinary GNU General Public | ||||||
|  | License instead of this License to a given copy of the Library.  To do | ||||||
|  | this, you must alter all the notices that refer to this License, so | ||||||
|  | that they refer to the ordinary GNU General Public License, version 2, | ||||||
|  | instead of to this License.  (If a newer version than version 2 of the | ||||||
|  | ordinary GNU General Public License has appeared, then you can specify | ||||||
|  | that version instead if you wish.)  Do not make any other change in | ||||||
|  | these notices. | ||||||
|  |  | ||||||
|  |   Once this change is made in a given copy, it is irreversible for | ||||||
|  | that copy, so the ordinary GNU General Public License applies to all | ||||||
|  | subsequent copies and derivative works made from that copy. | ||||||
|  |  | ||||||
|  |   This option is useful when you wish to copy part of the code of | ||||||
|  | the Library into a program that is not a library. | ||||||
|  |  | ||||||
|  |   4. You may copy and distribute the Library (or a portion or | ||||||
|  | derivative of it, under Section 2) in object code or executable form | ||||||
|  | under the terms of Sections 1 and 2 above provided that you accompany | ||||||
|  | it with the complete corresponding machine-readable source code, which | ||||||
|  | must be distributed under the terms of Sections 1 and 2 above on a | ||||||
|  | medium customarily used for software interchange. | ||||||
|  |  | ||||||
|  |   If distribution of object code is made by offering access to copy | ||||||
|  | from a designated place, then offering equivalent access to copy the | ||||||
|  | source code from the same place satisfies the requirement to | ||||||
|  | distribute the source code, even though third parties are not | ||||||
|  | compelled to copy the source along with the object code. | ||||||
|  |  | ||||||
|  |   5. A program that contains no derivative of any portion of the | ||||||
|  | Library, but is designed to work with the Library by being compiled or | ||||||
|  | linked with it, is called a "work that uses the Library".  Such a | ||||||
|  | work, in isolation, is not a derivative work of the Library, and | ||||||
|  | therefore falls outside the scope of this License. | ||||||
|  |  | ||||||
|  |   However, linking a "work that uses the Library" with the Library | ||||||
|  | creates an executable that is a derivative of the Library (because it | ||||||
|  | contains portions of the Library), rather than a "work that uses the | ||||||
|  | library".  The executable is therefore covered by this License. | ||||||
|  | Section 6 states terms for distribution of such executables. | ||||||
|  |  | ||||||
|  |   When a "work that uses the Library" uses material from a header file | ||||||
|  | that is part of the Library, the object code for the work may be a | ||||||
|  | derivative work of the Library even though the source code is not. | ||||||
|  | Whether this is true is especially significant if the work can be | ||||||
|  | linked without the Library, or if the work is itself a library.  The | ||||||
|  | threshold for this to be true is not precisely defined by law. | ||||||
|  |  | ||||||
|  |   If such an object file uses only numerical parameters, data | ||||||
|  | structure layouts and accessors, and small macros and small inline | ||||||
|  | functions (ten lines or less in length), then the use of the object | ||||||
|  | file is unrestricted, regardless of whether it is legally a derivative | ||||||
|  | work.  (Executables containing this object code plus portions of the | ||||||
|  | Library will still fall under Section 6.) | ||||||
|  |  | ||||||
|  |   Otherwise, if the work is a derivative of the Library, you may | ||||||
|  | distribute the object code for the work under the terms of Section 6. | ||||||
|  | Any executables containing that work also fall under Section 6, | ||||||
|  | whether or not they are linked directly with the Library itself. | ||||||
|  |  | ||||||
|  |   6. As an exception to the Sections above, you may also combine or | ||||||
|  | link a "work that uses the Library" with the Library to produce a | ||||||
|  | work containing portions of the Library, and distribute that work | ||||||
|  | under terms of your choice, provided that the terms permit | ||||||
|  | modification of the work for the customer's own use and reverse | ||||||
|  | engineering for debugging such modifications. | ||||||
|  |  | ||||||
|  |   You must give prominent notice with each copy of the work that the | ||||||
|  | Library is used in it and that the Library and its use are covered by | ||||||
|  | this License.  You must supply a copy of this License.  If the work | ||||||
|  | during execution displays copyright notices, you must include the | ||||||
|  | copyright notice for the Library among them, as well as a reference | ||||||
|  | directing the user to the copy of this License.  Also, you must do one | ||||||
|  | of these things: | ||||||
|  |  | ||||||
|  |     a) Accompany the work with the complete corresponding | ||||||
|  |     machine-readable source code for the Library including whatever | ||||||
|  |     changes were used in the work (which must be distributed under | ||||||
|  |     Sections 1 and 2 above); and, if the work is an executable linked | ||||||
|  |     with the Library, with the complete machine-readable "work that | ||||||
|  |     uses the Library", as object code and/or source code, so that the | ||||||
|  |     user can modify the Library and then relink to produce a modified | ||||||
|  |     executable containing the modified Library.  (It is understood | ||||||
|  |     that the user who changes the contents of definitions files in the | ||||||
|  |     Library will not necessarily be able to recompile the application | ||||||
|  |     to use the modified definitions.) | ||||||
|  |  | ||||||
|  |     b) Use a suitable shared library mechanism for linking with the | ||||||
|  |     Library.  A suitable mechanism is one that (1) uses at run time a | ||||||
|  |     copy of the library already present on the user's computer system, | ||||||
|  |     rather than copying library functions into the executable, and (2) | ||||||
|  |     will operate properly with a modified version of the library, if | ||||||
|  |     the user installs one, as long as the modified version is | ||||||
|  |     interface-compatible with the version that the work was made with. | ||||||
|  |  | ||||||
|  |     c) Accompany the work with a written offer, valid for at | ||||||
|  |     least three years, to give the same user the materials | ||||||
|  |     specified in Subsection 6a, above, for a charge no more | ||||||
|  |     than the cost of performing this distribution. | ||||||
|  |  | ||||||
|  |     d) If distribution of the work is made by offering access to copy | ||||||
|  |     from a designated place, offer equivalent access to copy the above | ||||||
|  |     specified materials from the same place. | ||||||
|  |  | ||||||
|  |     e) Verify that the user has already received a copy of these | ||||||
|  |     materials or that you have already sent this user a copy. | ||||||
|  |  | ||||||
|  |   For an executable, the required form of the "work that uses the | ||||||
|  | Library" must include any data and utility programs needed for | ||||||
|  | reproducing the executable from it.  However, as a special exception, | ||||||
|  | the materials to be distributed need not include anything that is | ||||||
|  | normally distributed (in either source or binary form) with the major | ||||||
|  | components (compiler, kernel, and so on) of the operating system on | ||||||
|  | which the executable runs, unless that component itself accompanies | ||||||
|  | the executable. | ||||||
|  |  | ||||||
|  |   It may happen that this requirement contradicts the license | ||||||
|  | restrictions of other proprietary libraries that do not normally | ||||||
|  | accompany the operating system.  Such a contradiction means you cannot | ||||||
|  | use both them and the Library together in an executable that you | ||||||
|  | distribute. | ||||||
|  |  | ||||||
|  |   7. You may place library facilities that are a work based on the | ||||||
|  | Library side-by-side in a single library together with other library | ||||||
|  | facilities not covered by this License, and distribute such a combined | ||||||
|  | library, provided that the separate distribution of the work based on | ||||||
|  | the Library and of the other library facilities is otherwise | ||||||
|  | permitted, and provided that you do these two things: | ||||||
|  |  | ||||||
|  |     a) Accompany the combined library with a copy of the same work | ||||||
|  |     based on the Library, uncombined with any other library | ||||||
|  |     facilities.  This must be distributed under the terms of the | ||||||
|  |     Sections above. | ||||||
|  |  | ||||||
|  |     b) Give prominent notice with the combined library of the fact | ||||||
|  |     that part of it is a work based on the Library, and explaining | ||||||
|  |     where to find the accompanying uncombined form of the same work. | ||||||
|  |  | ||||||
|  |   8. You may not copy, modify, sublicense, link with, or distribute | ||||||
|  | the Library except as expressly provided under this License.  Any | ||||||
|  | attempt otherwise to copy, modify, sublicense, link with, or | ||||||
|  | distribute the Library is void, and will automatically terminate your | ||||||
|  | rights under this License.  However, parties who have received copies, | ||||||
|  | or rights, from you under this License will not have their licenses | ||||||
|  | terminated so long as such parties remain in full compliance. | ||||||
|  |  | ||||||
|  |   9. You are not required to accept this License, since you have not | ||||||
|  | signed it.  However, nothing else grants you permission to modify or | ||||||
|  | distribute the Library or its derivative works.  These actions are | ||||||
|  | prohibited by law if you do not accept this License.  Therefore, by | ||||||
|  | modifying or distributing the Library (or any work based on the | ||||||
|  | Library), you indicate your acceptance of this License to do so, and | ||||||
|  | all its terms and conditions for copying, distributing or modifying | ||||||
|  | the Library or works based on it. | ||||||
|  |  | ||||||
|  |   10. Each time you redistribute the Library (or any work based on the | ||||||
|  | Library), the recipient automatically receives a license from the | ||||||
|  | original licensor to copy, distribute, link with or modify the Library | ||||||
|  | subject to these terms and conditions.  You may not impose any further | ||||||
|  | restrictions on the recipients' exercise of the rights granted herein. | ||||||
|  | You are not responsible for enforcing compliance by third parties with | ||||||
|  | this License. | ||||||
|  |  | ||||||
|  |   11. If, as a consequence of a court judgment or allegation of patent | ||||||
|  | infringement or for any other reason (not limited to patent issues), | ||||||
|  | conditions are imposed on you (whether by court order, agreement or | ||||||
|  | otherwise) that contradict the conditions of this License, they do not | ||||||
|  | excuse you from the conditions of this License.  If you cannot | ||||||
|  | distribute so as to satisfy simultaneously your obligations under this | ||||||
|  | License and any other pertinent obligations, then as a consequence you | ||||||
|  | may not distribute the Library at all.  For example, if a patent | ||||||
|  | license would not permit royalty-free redistribution of the Library by | ||||||
|  | all those who receive copies directly or indirectly through you, then | ||||||
|  | the only way you could satisfy both it and this License would be to | ||||||
|  | refrain entirely from distribution of the Library. | ||||||
|  |  | ||||||
|  | If any portion of this section is held invalid or unenforceable under any | ||||||
|  | particular circumstance, the balance of the section is intended to apply, | ||||||
|  | and the section as a whole is intended to apply in other circumstances. | ||||||
|  |  | ||||||
|  | It is not the purpose of this section to induce you to infringe any | ||||||
|  | patents or other property right claims or to contest validity of any | ||||||
|  | such claims; this section has the sole purpose of protecting the | ||||||
|  | integrity of the free software distribution system which is | ||||||
|  | implemented by public license practices.  Many people have made | ||||||
|  | generous contributions to the wide range of software distributed | ||||||
|  | through that system in reliance on consistent application of that | ||||||
|  | system; it is up to the author/donor to decide if he or she is willing | ||||||
|  | to distribute software through any other system and a licensee cannot | ||||||
|  | impose that choice. | ||||||
|  |  | ||||||
|  | This section is intended to make thoroughly clear what is believed to | ||||||
|  | be a consequence of the rest of this License. | ||||||
|  |  | ||||||
|  |   12. If the distribution and/or use of the Library is restricted in | ||||||
|  | certain countries either by patents or by copyrighted interfaces, the | ||||||
|  | original copyright holder who places the Library under this License may add | ||||||
|  | an explicit geographical distribution limitation excluding those countries, | ||||||
|  | so that distribution is permitted only in or among countries not thus | ||||||
|  | excluded.  In such case, this License incorporates the limitation as if | ||||||
|  | written in the body of this License. | ||||||
|  |  | ||||||
|  |   13. The Free Software Foundation may publish revised and/or new | ||||||
|  | versions of the Lesser General Public License from time to time. | ||||||
|  | Such new versions will be similar in spirit to the present version, | ||||||
|  | but may differ in detail to address new problems or concerns. | ||||||
|  |  | ||||||
|  | Each version is given a distinguishing version number.  If the Library | ||||||
|  | specifies a version number of this License which applies to it and | ||||||
|  | "any later version", you have the option of following the terms and | ||||||
|  | conditions either of that version or of any later version published by | ||||||
|  | the Free Software Foundation.  If the Library does not specify a | ||||||
|  | license version number, you may choose any version ever published by | ||||||
|  | the Free Software Foundation. | ||||||
|  |  | ||||||
|  |   14. If you wish to incorporate parts of the Library into other free | ||||||
|  | programs whose distribution conditions are incompatible with these, | ||||||
|  | write to the author to ask for permission.  For software which is | ||||||
|  | copyrighted by the Free Software Foundation, write to the Free | ||||||
|  | Software Foundation; we sometimes make exceptions for this.  Our | ||||||
|  | decision will be guided by the two goals of preserving the free status | ||||||
|  | of all derivatives of our free software and of promoting the sharing | ||||||
|  | and reuse of software generally. | ||||||
|  |  | ||||||
|  |                             NO WARRANTY | ||||||
|  |  | ||||||
|  |   15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO | ||||||
|  | WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. | ||||||
|  | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR | ||||||
|  | OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY | ||||||
|  | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE | ||||||
|  | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||||||
|  | PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE | ||||||
|  | LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME | ||||||
|  | THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. | ||||||
|  |  | ||||||
|  |   16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN | ||||||
|  | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY | ||||||
|  | AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU | ||||||
|  | FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR | ||||||
|  | CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE | ||||||
|  | LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING | ||||||
|  | RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A | ||||||
|  | FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF | ||||||
|  | SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH | ||||||
|  | DAMAGES. | ||||||
|  |  | ||||||
|  |                      END OF TERMS AND CONDITIONS | ||||||
|  |  | ||||||
|  |            How to Apply These Terms to Your New Libraries | ||||||
|  |  | ||||||
|  |   If you develop a new library, and you want it to be of the greatest | ||||||
|  | possible use to the public, we recommend making it free software that | ||||||
|  | everyone can redistribute and change.  You can do so by permitting | ||||||
|  | redistribution under these terms (or, alternatively, under the terms of the | ||||||
|  | ordinary General Public License). | ||||||
|  |  | ||||||
|  |   To apply these terms, attach the following notices to the library.  It is | ||||||
|  | safest to attach them to the start of each source file to most effectively | ||||||
|  | convey the exclusion of warranty; and each file should have at least the | ||||||
|  | "copyright" line and a pointer to where the full notice is found. | ||||||
|  |  | ||||||
|  |     <one line to give the library's name and a brief idea of what it does.> | ||||||
|  |     Copyright (C) <year>  <name of author> | ||||||
|  |  | ||||||
|  |     This library is free software; you can redistribute it and/or | ||||||
|  |     modify it under the terms of the GNU Lesser General Public | ||||||
|  |     License as published by the Free Software Foundation; either | ||||||
|  |     version 2.1 of the License, or (at your option) any later version. | ||||||
|  |  | ||||||
|  |     This library is distributed in the hope that it will be useful, | ||||||
|  |     but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  |     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
|  |     Lesser General Public License for more details. | ||||||
|  |  | ||||||
|  |     You should have received a copy of the GNU Lesser General Public | ||||||
|  |     License along with this library; if not, write to the Free Software | ||||||
|  |     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA | ||||||
|  |  | ||||||
|  | Also add information on how to contact you by electronic and paper mail. | ||||||
|  |  | ||||||
|  | You should also get your employer (if you work as a programmer) or your | ||||||
|  | school, if any, to sign a "copyright disclaimer" for the library, if | ||||||
|  | necessary.  Here is a sample; alter the names: | ||||||
|  |  | ||||||
|  |   Yoyodyne, Inc., hereby disclaims all copyright interest in the | ||||||
|  |   library `Frob' (a library for tweaking knobs) written by James Random Hacker. | ||||||
|  |  | ||||||
|  |   <signature of Ty Coon>, 1 April 1990 | ||||||
|  |   Ty Coon, President of Vice | ||||||
|  |  | ||||||
|  | That's all there is to it! | ||||||
							
								
								
									
										7
									
								
								GENERAL
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,7 @@ | |||||||
|  | # Руководство пользователя | ||||||
|  | Подробное и актуальное руководство по использованию WineHelper смотрите на сайте: https://www.altlinux.org/Winehelper | ||||||
|  |  | ||||||
|  | # Совместимость ПО и сертификаты | ||||||
|  | С полным списком совместимого ПО и сертификатами можно ознакомиться по следующим ссылкам: | ||||||
|  | Для 10 платформы: https://www.basealt.ru/fileadmin/user_upload/compatibility/P10-view2.html | ||||||
|  | Для 11 платформы: https://www.basealt.ru/fileadmin/user_upload/compatibility/P11-view2.html | ||||||
							
								
								
									
										26
									
								
								LICENSE
									
									
									
									
									
								
							
							
						
						| @@ -1,21 +1,11 @@ | |||||||
| MIT License |  | ||||||
|  |  | ||||||
| Copyright (c) 2025 Mikhail Tergoev | Copyright (c) 2025 Mikhail Tergoev | ||||||
|  |  | ||||||
| Permission is hereby granted, free of charge, to any person obtaining a copy | Winehelper is free software; you can redistribute it and/or | ||||||
| of this software and associated documentation files (the "Software"), to deal | modify it under the terms of the GNU Lesser General Public | ||||||
| in the Software without restriction, including without limitation the rights | License as published by the Free Software Foundation; either | ||||||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | version 2.1 of the License, or (at your option) any later version. | ||||||
| copies of the Software, and to permit persons to whom the Software is |  | ||||||
| furnished to do so, subject to the following conditions: |  | ||||||
|  |  | ||||||
| The above copyright notice and this permission notice shall be included in all | This program is distributed in the hope that it will be useful, | ||||||
| copies or substantial portions of the Software. | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||||
|  | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | Lesser General Public License for more details. | ||||||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |  | ||||||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |  | ||||||
| AUTHORS OR COPYRIGHT HOLDERS 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. |  | ||||||
|   | |||||||
							
								
								
									
										14
									
								
								LICENSE_AGREEMENT
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,14 @@ | |||||||
|  | Отказ от ответственности: | ||||||
|  |  | ||||||
|  | Некоторые компоненты, устанавливаемые в префикс и необходимые для запуска | ||||||
|  | приложений, могут быть защищены авторским правом или лицензионными | ||||||
|  | соглашениями. Вы обязаны самостоятельно убедиться в законности использования | ||||||
|  | этих компонентов в вашей юрисдикции. | ||||||
|  |  | ||||||
|  | Мы не несём ответственности за нарушение лицензионных соглашений, связанное с | ||||||
|  | использованием подготовленного префикса, а также за программное обеспечение, | ||||||
|  | полученное из сторонних источников. | ||||||
|  |  | ||||||
|  | Продолжая установку, вы подтверждаете, что ознакомились с данным отказом от | ||||||
|  | ответственности и принимаете все риски, связанные с использованием программного | ||||||
|  | обеспечения. | ||||||
							
								
								
									
										371
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,371 @@ | |||||||
|  | <div align="center"> | ||||||
|  |   <img src="image/gui/winehelper.svg" width="64"> | ||||||
|  |   <h1 align="center">WineHelper</h1> | ||||||
|  |   <p align="center">Инструмент для упрощения установки Windows-приложений на Linux. Он использует подготовленные скрипты, портативные версии Wine и изолированные префиксы, обеспечивая максимальную идентичность на различных операционных системах основанных на Alt Linux, начиная с релиза p10 и выше.</p> | ||||||
|  | </div> | ||||||
|  |  | ||||||
|  | <p align="center"> | ||||||
|  |   <img src="image/handbook/auto_install.png" alt="WineHelper GUI" width="80%"> | ||||||
|  | </p> | ||||||
|  |  | ||||||
|  | ## Основные возможности | ||||||
|  |  | ||||||
|  | *   **Простая установка**: Устанавливайте Windows-приложения с помощью готовых скриптов, как в автоматическом, так и в ручном режиме. | ||||||
|  | *   **Изолированные окружения**: Каждое приложение устанавливается в свой собственный, изолированный префикс, что предотвращает конфликты. | ||||||
|  | *   **Управление версиями Wine**: Легко переключайтесь между различными версиями Wine и Proton для достижения наилучшей совместимости. | ||||||
|  | *   **Графический и консольный интерфейсы**: Используйте удобный GUI для повседневных задач или мощный CLI для автоматизации. | ||||||
|  | *   **Резервное копирование**: Создавайте и восстанавливайте полные резервные копии ваших префиксов. | ||||||
|  | *   **Встроенные утилиты**: Быстрый доступ к `winecfg`, `regedit`, `Winetricks` и другим инструментам для каждого префикса. | ||||||
|  |  | ||||||
|  | --- | ||||||
|  |  | ||||||
|  |  | ||||||
|  | <!-- Описание установки WineHelper--> | ||||||
|  | <details> | ||||||
|  |  <summary style="font-size: 35px; font-weight: bold;">Установка</summary> | ||||||
|  |  | ||||||
|  | ``` | ||||||
|  |  $ su - | ||||||
|  |  # apt-get update && apt-get dist-upgrade | ||||||
|  |  # apt-get install winehelper | ||||||
|  |  # exit | ||||||
|  |  ``` | ||||||
|  | </details> | ||||||
|  |  | ||||||
|  |  | ||||||
|  | <!-- Описание использования CLI --> | ||||||
|  | <details> | ||||||
|  |   <summary style="font-size: 35px; font-weight: bold;">Использование WineHelper (CLI)</summary> | ||||||
|  |  | ||||||
|  | ### Список приложений для установки | ||||||
|  |  | ||||||
|  | Вывод списка приложений, доступных к установке: | ||||||
|  | ``` | ||||||
|  |  $ winehelper install list | ||||||
|  |  ``` | ||||||
|  | или сокращенная команда: | ||||||
|  | ``` | ||||||
|  |  $ winehelper -i | ||||||
|  |  ``` | ||||||
|  |  | ||||||
|  | ### Запуск установки приложений | ||||||
|  |  | ||||||
|  | Скрипты установки разделены на два типа: | ||||||
|  |  | ||||||
|  | 1. **Список программ с возможностью автоматической установки** — содержит полностью автоматизированные скрипты установок программ у которыx есть дистрибутивы (установщики) в свободном доступе. | ||||||
|  | Процесс полностью автоматизирован. | ||||||
|  | Пример: | ||||||
|  | ``` | ||||||
|  |  $ winehelper install spravki-bk | ||||||
|  |  ``` | ||||||
|  | или сокращенная команда: | ||||||
|  | ``` | ||||||
|  |  $ winehelper -i spravki-bk | ||||||
|  | ``` | ||||||
|  | 2. **Список программ с возможностью установки из существующего дистрибутива** — содержит скрипты установок для программ, которых нет в свободном доступе. | ||||||
|  | Пример: | ||||||
|  | ``` | ||||||
|  |  $ winehelper install is-record-station "/путь/до/установочного_файла" | ||||||
|  |  ``` | ||||||
|  | или сокращенная команда: | ||||||
|  | ``` | ||||||
|  |  $ winehelper -i is-record-station "/путь/до/установочного_файла" | ||||||
|  | ``` | ||||||
|  |  | ||||||
|  | ### Процесс установки приложений | ||||||
|  |  | ||||||
|  | При первом запуске **WineHelper** проверяются и при необходимости устанавливаются дополнительные зависимости (запрашиваются права root). | ||||||
|  |  | ||||||
|  | Процесс установки приложений: | ||||||
|  | 1. Отображаются лицензионные соглашения на сторонние компоненты. Для продолжения введите **y** и нажмите **Enter**. | ||||||
|  | 2. Далее процесс проходит автоматически с подробным выводом в терминал: | ||||||
|  | - Загрузка и проверка хэш-суммы нужной версии Wine. | ||||||
|  | - Загрузка и проверка хэш-суммы базового префикса. | ||||||
|  | - Инициализация и подготовка префикса. | ||||||
|  | - Скачивание дистрибутива (установщика) программы с официального сайта (если применимо). | ||||||
|  | - Установка приложения. | ||||||
|  | - Создание .desktop-файла (ярлыка) на рабочем столе и в меню приложений. | ||||||
|  |  | ||||||
|  | Если устанавливаемое приложение требует дополнительных действий от пользователя (ввод лицензии, настройка), это будет явно указано в терминале. | ||||||
|  |  | ||||||
|  | ### Удаление префикса с приложением | ||||||
|  |  | ||||||
|  | Для удаления префикса выполните команду: | ||||||
|  | ``` | ||||||
|  |  $ winehelper remove-prefix [имя_префикса] | ||||||
|  |  ``` | ||||||
|  | Если имя префикса не указано, будет выведен список существующих префиксов: | ||||||
|  | ``` | ||||||
|  |  0 - Отмена | ||||||
|  |  1 - Префикс1 | ||||||
|  |  2 - Префикс2 | ||||||
|  |  Выберите префикс (0-2): | ||||||
|  | ``` | ||||||
|  | Необходимо указать номер удаляемого префикса и нажать клавишу **Enter**.Далее потребуется подтвердить удаление префикса вводом **y**. | ||||||
|  |  | ||||||
|  | В результате будут удалены: | ||||||
|  | - сам префикс; | ||||||
|  | - установленное ПО; | ||||||
|  | - desktop-файлы (ярлыки для установленного ПО в префиксе). | ||||||
|  |  | ||||||
|  | ###  | ||||||
|  |  | ||||||
|  | Команда создания резервной копии префикса: | ||||||
|  | ``` | ||||||
|  |  $ winehelper backup-prefix [имя_префикса] | ||||||
|  |  ``` | ||||||
|  | Если имя префикса не указано, будет выведен список существующих префиксов: | ||||||
|  | ``` | ||||||
|  |  0 - Отмена | ||||||
|  |  1 - Префикс1 | ||||||
|  |  2 - Префикс2 | ||||||
|  |  Выберите префикс (0-2): | ||||||
|  |  ``` | ||||||
|  | Необходимо указать номер удаляемого префикса и нажать клавишу **Enter**.   | ||||||
|  | После выбора префикса автоматически: | ||||||
|  | - Создаётся копия префикса. | ||||||
|  | - Внутри префикса сохраняется используемая версия WINE. | ||||||
|  | - Копируются иконки для ярлыков (.desktop-файлов). | ||||||
|  | - Сохраняется информация о ярлыках (.desktop-файлах) для будущей распаковки/восстановления префикса. | ||||||
|  | - Резервная копия сохраняется на рабочем столе с именем: {{path|backup_имя_префикса_дата_создания.whpack}} | ||||||
|  |  | ||||||
|  | ### Восстановление префикса из резервной копии | ||||||
|  |  | ||||||
|  | Команда восстановления префикса из резервной копии: | ||||||
|  | ``` | ||||||
|  |  $ winehelper restore-prefix "путь/до/файла.whpack" | ||||||
|  | ``` | ||||||
|  | Восстановление префикса не требует подключение к интернету и происходит в автоматическом режиме: | ||||||
|  | - Распаковка префикса. | ||||||
|  | - Восстановление версии WINE. | ||||||
|  | - Восстановление ярлыков (.desktop-файdлов). | ||||||
|  |  | ||||||
|  | После завершения восстановления приложение будет доступно для запуска через меню или рабочий стол. | ||||||
|  |  | ||||||
|  | ### Использование команд WINE в WineHelper | ||||||
|  |  | ||||||
|  | WineHelper предоставляет доступ к основным инструментам WINE: | ||||||
|  | ``` | ||||||
|  |  winehelper winefile                  # запуск файлового менеджера wine | ||||||
|  |  winehelper winecfg                   # запуск wine конфигуратора для префикса | ||||||
|  |  winehelper winereg                   # запуск редактора реестра для префикса | ||||||
|  |  winehelper wineconsole               # запуск терминала wine (cmd.exe) | ||||||
|  |  winehelper winetricks                # запуск графического интерфейса winetricks | ||||||
|  |  winehelper winetricks [компонент]    # автоматическая установка дополнительного компонента в префикс | ||||||
|  | ``` | ||||||
|  | После выполнения любой из вышеперечисленных команд отображается список существующих префиксов: | ||||||
|  |  ``` | ||||||
|  | 0 - Отмена | ||||||
|  |  1 - Префикс1 | ||||||
|  |  2 - Префикс2 | ||||||
|  |  Выберите префикс (0-2): | ||||||
|  |  ``` | ||||||
|  | Команда выполняется в выбранном вами префиксе. | ||||||
|  |  | ||||||
|  | ### Запуск стороннего *.exe файла в WineHelper | ||||||
|  |  | ||||||
|  | Есть два варианта: | ||||||
|  | 1. В командной строке выполнить команду: | ||||||
|  |  ``` | ||||||
|  |  $ winehelper "путь/до/файла.exe" | ||||||
|  |  0 - Отмена | ||||||
|  |  1 - Префикс1 | ||||||
|  |  2 - Префикс2 | ||||||
|  |  Выберите префикс (0-2): | ||||||
|  |  ``` | ||||||
|  | Файл будет запущен в выбранном префиксе. | ||||||
|  |  | ||||||
|  | 2. С помощью файлового менеджера WINE:''' | ||||||
|  |  ``` | ||||||
|  |  $ winehelper winefile | ||||||
|  |  0 - Отмена | ||||||
|  |  1 - Префикс1 | ||||||
|  |  2 - Префикс2 | ||||||
|  |  Выберите префикс (0-2): | ||||||
|  |  ``` | ||||||
|  | В файловом менеджере найти и запустить нужный exe-файл. | ||||||
|  |  | ||||||
|  | ### Дополнительные команды | ||||||
|  |  | ||||||
|  |  ``` | ||||||
|  |  $ winehelper help | ||||||
|  |  ``` | ||||||
|  | Вывод: | ||||||
|  | <pre> | ||||||
|  | Использование: winehelper [команда] | ||||||
|  |  | ||||||
|  | Команды: | ||||||
|  |     install list                    список возможных установочных скриптов | ||||||
|  |     install [скрипт]                запустить скрипт установки программы | ||||||
|  |     install [скрипт] --clear-pfx    не использовать готовый префикс для установки ПО | ||||||
|  |  | ||||||
|  |     install-dxvk [версия|none|list] установить, удалить или показать версии DXVK | ||||||
|  |     install-vkd3d [версия|none|list] установить, удалить или показать версии VKD3D | ||||||
|  |     change-wine [версия]            изменить версию Wine/Proton для текущего префикса | ||||||
|  |  | ||||||
|  |     installed                       список установленных программ | ||||||
|  |     run [программа]                 запуск программы (отладка) | ||||||
|  |     remove-all                      удалить WineHelper и все связанные данные | ||||||
|  |     create-prefix                   создать префикс | ||||||
|  |     remove-prefix [имя_префикса]    удалить префикс и все связанные данные | ||||||
|  |     backup-prefix [имя_префикса]    создать резервную копию префикса | ||||||
|  |     restore-prefix \"путь/до/whpack\" восстановить префикс из резервной копии | ||||||
|  |  | ||||||
|  | Параметры: | ||||||
|  |     --help                          показать эту справку и выйти | ||||||
|  |     --version                       показать информацию о пакете и его версии | ||||||
|  |     --changelog                     показать историю изменений | ||||||
|  |     --debug [команда]               включить режим логирования работы WINE | ||||||
|  | </pre> | ||||||
|  |  | ||||||
|  | </details> | ||||||
|  |  | ||||||
|  |  | ||||||
|  | <!-- Описание использования GUI --> | ||||||
|  | <details> | ||||||
|  |   <summary style="font-size: 35px; font-weight: bold;">Использование WineHelper (GUI)</summary> | ||||||
|  |  | ||||||
|  | ### Вкладки «Автоматическая установка» и «Ручная установка» | ||||||
|  |  | ||||||
|  | При использовании графического интерфейса списки приложений расположены во вкладках **Автоматическая установка** и **Ручная установка**. | ||||||
|  |  | ||||||
|  | <div align="center"> | ||||||
|  |   <img src="image/handbook/auto_install.png"> | ||||||
|  |   <p><em>Вкладка "Автоматическая установка"</em></p> | ||||||
|  | </div> | ||||||
|  |  | ||||||
|  | <div align="center"> | ||||||
|  |   <img src="image/handbook/manual_install.png"> | ||||||
|  |   <p><em>Вкладка "Ручная установка"</em></p> | ||||||
|  | </div> | ||||||
|  |  | ||||||
|  | Для поиска нужной программы введите название в поле поиска. | ||||||
|  |  | ||||||
|  | <div align="center"> | ||||||
|  |   <img src="image/handbook/search.png"> | ||||||
|  |   <p><em>Поле поиска</em></p> | ||||||
|  | </div> | ||||||
|  |  | ||||||
|  | При выборе программы из списка слева, в правой части окна отображается подробная информация о ней: описание, иконка и ссылка на официальный сайт. | ||||||
|  |  | ||||||
|  | <div align="center"> | ||||||
|  |   <img src="image/handbook/info.png"> | ||||||
|  |   <p><em>Информация о выбранной программе</em></p> | ||||||
|  | </div> | ||||||
|  |  | ||||||
|  | Для установки программы нажмите кнопку **Установить**. | ||||||
|  |  | ||||||
|  | Для **ручной установки** дополнительно потребуется указать путь к установочному файлу (`.exe` или `.msi`), который вы скачали самостоятельно. | ||||||
|  |  | ||||||
|  | <div align="center"> | ||||||
|  |   <img src="image/handbook/manual_install_1.png"> | ||||||
|  |   <p><em>Вкладка "Ручная установка" с указанием пути к дистрибутиву</em></p> | ||||||
|  | </div> | ||||||
|  |  | ||||||
|  | После нажатия кнопки **Установить** появится окно с лицензионным соглашением. После его принятия начнется процесс установки, который будет подробно логироваться в отдельном окне. | ||||||
|  |  | ||||||
|  | <div align="center"> | ||||||
|  |   <img src="image/handbook/license_agreement.png"> | ||||||
|  |   <p><em>Окно с лицензионным соглашением</em></p> | ||||||
|  | </div> | ||||||
|  |  | ||||||
|  | <div align="center"> | ||||||
|  |   <img src="image/handbook/log.png"> | ||||||
|  |   <p><em>Окно установки с логом</em></м</em></p> | ||||||
|  | </div> | ||||||
|  |  | ||||||
|  | После установки приложения и нажатия кнопки **Закрыть** в окне установки приложения, ярлык приложения появится в списке установленных приложений во вкладке **Установленные** а также в меню приложений и на рабочем столе если это разрешено в рабочем окружении. | ||||||
|  |  | ||||||
|  | ### Вкладка «Установленные» | ||||||
|  |  | ||||||
|  | На этой вкладке отображаются все приложения, которые были установлены с помощью WineHelper. | ||||||
|  |  | ||||||
|  | <div align="center"> | ||||||
|  |   <img src="image/handbook/installed.png"> | ||||||
|  |   <p><em>Вкладка "Установленные"</em></p> | ||||||
|  | </div> | ||||||
|  |  | ||||||
|  | При выборе приложения в правой панели становятся доступны следующие действия: | ||||||
|  | *   **Запустить/Остановить**: Запускает или останавливает/закрывает выбранное приложение. | ||||||
|  | *   **Создать лог запуска программы**: Запускает приложение в режиме отладки. После закрытия приложения в вашем домашнем каталоге будет создан файл `winehelper.log`. | ||||||
|  | *   **Создать резервную копию префикса**: Создает полный бэкап префикса приложения (включая версию Wine) в формате `.whpack` на вашем рабочем столе если это разрешено в рабочем окружении. | ||||||
|  | *   **Удалить префикс**: Полностью удаляет приложение вместе с его префиксом и всеми связанными ярлыками. | ||||||
|  |  | ||||||
|  | Также на этой вкладке доступна кнопка **«Восстановить префикс из резервной копии»**, которая позволяет восстановить любое приложение из ранее созданного `.whpack` файла. | ||||||
|  |  | ||||||
|  | <div align="center"> | ||||||
|  |   <img src="image/handbook/election_installed.png"> | ||||||
|  |   <p><em>Выбранное приложение во вкладке "Установленные"</em></p> | ||||||
|  | </div> | ||||||
|  |  | ||||||
|  | Расположения лога запуска программы а также резервной копии префикса можно просмотреть с помощью кнопки **«Открыть папку с логом/резервной копией префикса»** которая появляется автоматически после создания лога или резервной копии. | ||||||
|  |  | ||||||
|  | <div align="center"> | ||||||
|  |   <img src="image/handbook/folder_log_backup.png"> | ||||||
|  |   <p><em>Кнопка "Открыть папку с логом/резервной копией префикса"</em></p> | ||||||
|  | </div> | ||||||
|  |  | ||||||
|  | ### Вкладка «Менеджер префиксов» | ||||||
|  |  | ||||||
|  | Эта вкладка предоставляет мощные инструменты для управления префиксами Wine. | ||||||
|  |  | ||||||
|  | <div align="center"> | ||||||
|  |   <img src="image/handbook/prefix_manager.png"> | ||||||
|  |   <p><em>Вкладка "Менеджер префиксов"</em></p> | ||||||
|  | </div> | ||||||
|  |  | ||||||
|  | #### Создание нового префикса | ||||||
|  |  | ||||||
|  | Нажав кнопку **«Создать новый префикс»**, вы откроете диалог, где можно задать: | ||||||
|  | *   **Имя префикса**. | ||||||
|  | *   **Разрядность** (32-bit или 64-bit). | ||||||
|  | *   **Наполнение** (чистый префикс или с рекомендуемыми библиотеками). | ||||||
|  | *   **Версию Wine/Proton** из доступного списка. | ||||||
|  |  | ||||||
|  | <div align="center"> | ||||||
|  |   <img src="image/handbook/create_prefix.png"> | ||||||
|  |   <p><em>Диалог создания нового префикса</em></p> | ||||||
|  | </div> | ||||||
|  |  | ||||||
|  | #### Управление существующим префиксом | ||||||
|  |  | ||||||
|  | Выбрав префикс из выпадающего списка, вы получаете доступ к панели управления, которая позволяет: | ||||||
|  |  | ||||||
|  | *   **Запускать стандартные утилиты Wine**: | ||||||
|  |     *   `Редактор настроек (winecfg)` | ||||||
|  |     *   `Редактор реестра (regedit)` | ||||||
|  |     *   `Удаление программ (uninstaller)` | ||||||
|  |     *   `Командная строка (cmd)` | ||||||
|  |     *   `Файловый менеджер (winefile)` | ||||||
|  | *   **Управлять компонентами**: | ||||||
|  |     *   **Менеджер компонентов (Winetricks)**: Удобный интерфейс для установки и переустановки библиотек, шрифтов и настроек. | ||||||
|  |     *   **Управление Wine/Proton**: Смена версии Wine или Proton для выбранного префикса. | ||||||
|  |     *   **Управление DXVK/VKD3D**: Установка или удаление конкретных версий DXVK и VKD3D. | ||||||
|  |     *   **Ассоциации файлов**: Настройка открытия определенных типов файлов (например, `.pdf`, `.docx`) нативными приложениями Linux. | ||||||
|  | *   **Включать/выключать ESync и FSync**. | ||||||
|  | *   **Устанавливать приложения**: Установить любой `.exe` или `.msi` файл напрямую в выбранный префикс. | ||||||
|  | *   **Создавать ярлыки**: Создать ярлык для любого исполняемого файла внутри префикса. | ||||||
|  | *   **Удалять префикс** или **создавать из него шаблон**. | ||||||
|  |  | ||||||
|  | Справа отображается подробная информация о конфигурации выбранного префикса. | ||||||
|  |  | ||||||
|  | ### Вкладка «Справка» | ||||||
|  |  | ||||||
|  | Содержит полезную информацию о проекте: | ||||||
|  | *   **Руководство**: Ссылка на официальную документацию. | ||||||
|  | *   **Авторы**: Список разработчиков и участников проекта. | ||||||
|  | *   **Лицензия**: Текст лицензии WineHelper и информация о сторонних компонентах. | ||||||
|  | *   **История изменений**: Changelog пакета. | ||||||
|  |  | ||||||
|  | <div align="center"> | ||||||
|  |   <img src="image/handbook/help.png"> | ||||||
|  |   <p><em>Вкладка "Справка"</em></p> | ||||||
|  | </div> | ||||||
|  |  | ||||||
|  | </details> | ||||||
|  |  | ||||||
|  |  | ||||||
|  | ### Примечание | ||||||
|  |  | ||||||
|  | > [!WARNING] | ||||||
|  | > Проект находится на стадии WIP (work in progress) | ||||||
							
								
								
									
										25
									
								
								THIRD-PARTY
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,25 @@ | |||||||
|  | WINE: | ||||||
|  | https://gitlab.winehq.org/wine/wine | ||||||
|  | https://gitlab.winehq.org/wine/wine-staging | ||||||
|  | https://github.com/ValveSoftware/Proton | ||||||
|  | https://github.com/Kron4ek/wine-tkg | ||||||
|  | https://git.altlinux.org/gears/w/wine.git | ||||||
|  |  | ||||||
|  | WINE-MONO: | ||||||
|  | https://gitlab.winehq.org/mono/wine-mono | ||||||
|  |  | ||||||
|  | WINE-GECKO: | ||||||
|  | https://gitlab.winehq.org/wine/wine-gecko | ||||||
|  |  | ||||||
|  | DXVK: | ||||||
|  | https://github.com/doitsujin/dxvk | ||||||
|  |  | ||||||
|  | VKD3D: | ||||||
|  | https://gitlab.winehq.org/wine/vkd3d | ||||||
|  | https://github.com/HansKristian-Work/vkd3d-proton | ||||||
|  |  | ||||||
|  | WINETRICKS: | ||||||
|  | https://github.com/Winetricks/winetricks | ||||||
|  |  | ||||||
|  | WINE-CPCSP_PROXY: | ||||||
|  | https://github.com/Etersoft/wine-cpcsp_proxy | ||||||
							
								
								
									
										56
									
								
								auto_completion/bash_completion/winehelper
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,56 @@ | |||||||
|  | # Auto-completion for winehelper | ||||||
|  | _winehelper_completions() { | ||||||
|  |     local cur prev opts | ||||||
|  |     COMPREPLY=() | ||||||
|  |     cur="${COMP_WORDS[COMP_CWORD]}" | ||||||
|  |     prev="${COMP_WORDS[COMP_CWORD-1]}" | ||||||
|  |     opts="--help --version --debug install installed install-dxvk install-vkd3d -r -i remove-all --clear-pfx killall remove-prefix backup-prefix restore-prefix create-prefix --changelog changelog change-wine" | ||||||
|  |     wine_cmd="winecfg winereg winefile wineconsole winetricks desktop regedit explorer cmd run" | ||||||
|  |  | ||||||
|  |     case "${prev}" in | ||||||
|  |         winehelper) | ||||||
|  |             COMPREPLY=( $(compgen -W "${opts} ${wine_cmd}" -- "${cur}") ) | ||||||
|  |             return 0 | ||||||
|  |             ;; | ||||||
|  |         --debug) | ||||||
|  |             COMPREPLY=( $(compgen -W "${wine_cmd}" -- "${cur}") ) | ||||||
|  |             return 0 | ||||||
|  |             ;; | ||||||
|  |         install|-i) | ||||||
|  |             local scripts="$(ls -1 /usr/share/winehelper/autoinstall) $(ls -1 /usr/share/winehelper/manualinstall)" | ||||||
|  |             COMPREPLY=( $(compgen -W "list ${scripts}" -- "${cur}") ) | ||||||
|  |             return 0 | ||||||
|  |             ;; | ||||||
|  |         run|installed) | ||||||
|  |             local installed=$(ls -1 ~/.local/share/winehelper/ | grep ".desktop" | sed 's/.desktop//') | ||||||
|  |             COMPREPLY=( $(compgen -W "${installed}" -- "${cur}") ) | ||||||
|  |             return 0 | ||||||
|  |             ;; | ||||||
|  |         remove-prefix|backup-prefix) | ||||||
|  |             local prefixes=$(ls -1 ~/.local/share/winehelper/prefixes 2>/dev/null) | ||||||
|  |             COMPREPLY=( $(compgen -W "${prefixes}" -- "${cur}") ) | ||||||
|  |             return 0 | ||||||
|  |             ;; | ||||||
|  |         restore-prefix) | ||||||
|  |             return 0 | ||||||
|  |             ;; | ||||||
|  |         install-dxvk|install-vkd3d) | ||||||
|  |             local versions=$(winehelper "${prev}" list 2>/dev/null | grep ' - ' | sed 's/ - //') | ||||||
|  |             COMPREPLY=( $(compgen -W "${versions} none list" -- "${cur}") ) | ||||||
|  |             return 0 | ||||||
|  |             ;; | ||||||
|  |         change-wine) | ||||||
|  |             local wine_versions=$(awk ' | ||||||
|  |                 /^#+\s*(WINE|WINE_LG|PROTON_LG|PROTON_STEAM)\s*#*$/ { in_group=1 } | ||||||
|  |                 /^#+/ { if (! ($0 ~ /^#+\s*(WINE|WINE_LG|PROTON_LG|PROTON_STEAM)\s*#*$/)) in_group=0 } | ||||||
|  |                 /^[a-f0-9]{64}/ && in_group { sub(/\.tar\.xz$/, "", $2); print $2 } | ||||||
|  |             ' /usr/share/winehelper/sha256sum.list 2>/dev/null) | ||||||
|  |             COMPREPLY=( $(compgen -W "system ${wine_versions}" -- "${cur}") ) | ||||||
|  |             return 0 | ||||||
|  |             ;; | ||||||
|  |         *) | ||||||
|  |             ;; | ||||||
|  |     esac | ||||||
|  | } | ||||||
|  |  | ||||||
|  | complete -F _winehelper_completions winehelper | ||||||
							
								
								
									
										153
									
								
								auto_completion/zsh_completion/_winehelper
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,153 @@ | |||||||
|  | #compdef winehelper | ||||||
|  | # shellcheck disable=SC2034,SC2206 | ||||||
|  | _winehelper() { | ||||||
|  |   local -a opts wine_cmd scripts installed prefixes | ||||||
|  |  | ||||||
|  |   opts=( | ||||||
|  |     '--help[Вывести справку]' | ||||||
|  |     '--version[Показать информацию о пакете и его версии]' | ||||||
|  |     '--debug[Режим отладки]' | ||||||
|  |     'install[Запустить скрипт установки программы]' | ||||||
|  |     'install-dxvk[Установить/удалить DXVK]' | ||||||
|  |     'install-vkd3d[Установить/удалить VKD3D]' | ||||||
|  |     'installed[Список установленных программ]' | ||||||
|  |     '-r[Запуск программы (отладка)]' | ||||||
|  |     '-i[Запустить скрипт установки программы]' | ||||||
|  |     'remove-all[Удалить WineHelper и все связанные данные]' | ||||||
|  |     '--clear-pfx[Очистить префикс \[имя_префикса\]]' | ||||||
|  |     'killall[Убить все процессы]' | ||||||
|  |     'create-prefix[Создать новый префикс]' | ||||||
|  |     'remove-prefix[Удалить префикс и все связанные данные]' | ||||||
|  |     'backup-prefix[Создать резерную копию префикса]' | ||||||
|  |     'restore-prefix[восстановить префикс из резервной копии "путь/до/whpack"]' | ||||||
|  |     'change-wine[Изменить версию Wine/Proton для префикса]' | ||||||
|  |   ) | ||||||
|  |  | ||||||
|  |   wine_cmd=( | ||||||
|  |     winecfg | ||||||
|  |     winereg | ||||||
|  |     winefile | ||||||
|  |     wineconsole | ||||||
|  |     winetricks | ||||||
|  |     desktop | ||||||
|  |     regedit | ||||||
|  |     explorer | ||||||
|  |     cmd | ||||||
|  |     'run[Запуск программы (отладка)]' | ||||||
|  |   ) | ||||||
|  |  | ||||||
|  |   local context state line | ||||||
|  |   _arguments -C \ | ||||||
|  |     '1:command:->cmds' \ | ||||||
|  |     '2:subcommand or argument:->args' | ||||||
|  |  | ||||||
|  |   case $state in | ||||||
|  |     cmds) | ||||||
|  |       _values 'winehelper options' "${opts[@]}" "${wine_cmd[@]}" | ||||||
|  |       ;; | ||||||
|  |     args) | ||||||
|  |       case $words[2] in | ||||||
|  |         --debug) | ||||||
|  |           _values 'wine commands' "${wine_cmd[@]}" | ||||||
|  |           ;; | ||||||
|  |         install|-i) | ||||||
|  |           _get_list_for_install | ||||||
|  |           ;; | ||||||
|  |         run|installed) | ||||||
|  |           _get_installed_list | ||||||
|  |           ;; | ||||||
|  |         remove-prefix|backup-prefix) | ||||||
|  |           _get_prefixes | ||||||
|  |           ;; | ||||||
|  |         create-prefix) | ||||||
|  |           ;; | ||||||
|  |         restore-prefix) | ||||||
|  |           _files | ||||||
|  |           ;; | ||||||
|  |         install-dxvk) | ||||||
|  |           _get_component_versions 'install-dxvk' | ||||||
|  |           ;; | ||||||
|  |         install-vkd3d) | ||||||
|  |           _get_component_versions 'install-vkd3d' | ||||||
|  |           ;; | ||||||
|  |         change-wine) | ||||||
|  |           _get_wine_versions | ||||||
|  |           ;; | ||||||
|  |         *) | ||||||
|  |           _values 'winehelper options' "${opts[@]}" "${wine_cmd[@]}" | ||||||
|  |           ;; | ||||||
|  |       esac | ||||||
|  |       ;; | ||||||
|  |   esac | ||||||
|  | } | ||||||
|  |  | ||||||
|  | _get_component_versions () { | ||||||
|  |   local component_command=$1 | ||||||
|  |   local -a versions | ||||||
|  |  | ||||||
|  |   versions=( ${(f)"$(winehelper "${component_command}" list 2>/dev/null | grep ' - ' | sed 's/ - //')" } ) | ||||||
|  |   versions+=(none list) | ||||||
|  |  | ||||||
|  |   _values 'versions' "${versions[@]}" | ||||||
|  | } | ||||||
|  |  | ||||||
|  | _get_wine_versions () { | ||||||
|  |   local -a versions | ||||||
|  |   local sha256_file="/usr/share/winehelper/sha256sum.list" | ||||||
|  |  | ||||||
|  |   if [[ -f "$sha256_file" ]]; then | ||||||
|  |     versions=( ${(f)"$(awk ' | ||||||
|  |         /^#+\s*(WINE|WINE_LG|PROTON_LG|PROTON_STEAM)\s*#*$/ { in_group=1 } | ||||||
|  |         /^#+/ { if (! ($0 ~ /^#+\s*(WINE|WINE_LG|PROTON_LG|PROTON_STEAM)\s*#*$/)) in_group=0 } | ||||||
|  |         /^[a-f0-9]{64}/ && in_group { sub(/\.tar\.xz$/, "", $2); print $2 } | ||||||
|  |     ' "$sha256_file" 2>/dev/null)"} ) | ||||||
|  |   fi | ||||||
|  |  | ||||||
|  |   versions+=(system) | ||||||
|  |   _values 'wine/proton versions' "${versions[@]}" | ||||||
|  | } | ||||||
|  |  | ||||||
|  | _get_prefixes () { | ||||||
|  |   prefixes=( ${(f)"$(ls -1 ~/.local/share/winehelper/prefixes 2>/dev/null)"} ) | ||||||
|  |  | ||||||
|  |   if ((! ${#prefixes[@]} == 0 )); then | ||||||
|  |     _values 'prefixes' "${prefixes[@]}" | ||||||
|  |   fi | ||||||
|  | } | ||||||
|  |  | ||||||
|  | _get_list_for_install () { | ||||||
|  |    | ||||||
|  |   packages=(${(f)"$(winehelper install list 2>/dev/null | | ||||||
|  |     awk -F ' - ' ' | ||||||
|  |       /^[^ ]+ - \("/ {next} | ||||||
|  |       /^[[:space:]]*$/ {next} | ||||||
|  |       /^Информация:/ {next} | ||||||
|  |       /^[^ ]+ - / { | ||||||
|  |         name=$1; | ||||||
|  |         desc=$2; | ||||||
|  |         gsub(/^[[:space:]]+|[[:space:]]+$/, "", name); | ||||||
|  |         gsub(/^[[:space:]]*"?|"?[[:space:]]*$/, "", desc); | ||||||
|  |         if (name && desc) print name ":" desc | ||||||
|  |       } | ||||||
|  |     ')"}) | ||||||
|  |    | ||||||
|  |   packages+=( | ||||||
|  |     scadoffice:"SCAD Office" | ||||||
|  |     t-flex-cad17-applications:"Приложения для T-FLEX CAD 17" | ||||||
|  |     t-flex-cad17-resources:"Обучающие материалы T-FLEX CAD 17" | ||||||
|  |   ) | ||||||
|  |  | ||||||
|  |     _describe 'packages' packages | ||||||
|  | } | ||||||
|  |  | ||||||
|  | _get_installed_list () { | ||||||
|  |   installed=( | ||||||
|  |     ${(f)"$(ls -1 ~/.local/share/winehelper/ | grep ".desktop" | sed 's/.desktop//')"} | ||||||
|  |   ) | ||||||
|  |  | ||||||
|  |   if ((! ${#installed[@]} == 0 )); then | ||||||
|  |     _values 'installed apps' "${installed[@]}" | ||||||
|  |   fi | ||||||
|  | } | ||||||
|  |  | ||||||
|  | compdef _winehelper winehelper | ||||||
							
								
								
									
										30
									
								
								autoinstall/alta-expert
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,30 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Пакет программ для таможенного оформления. Включает программы Такса и ТамДок в комплектациях Эксперт, а также программу Заполнитель. | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://www.alta.ru" | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
|  | export WINEPREFIX="alta" | ||||||
|  | export PROG_NAME="Альта-Эксперт" | ||||||
|  | export BASE_PFX="alta_pfx_x86_v01" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win32" | ||||||
|  | export INSTALL_DLL="corefonts eufonts lucida opensymbol tahoma cjkfonts vb6run mdac28 msxml3 msxml4 msxml6 mfc42 jet40 native_oleaut32" | ||||||
|  |  | ||||||
|  | ALTA_VERSION="230325" | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/expert${ALTA_VERSION}.zip" | ||||||
|  | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/expert${ALTA_VERSION}" | ||||||
|  | AUTOINSTALL_SETUP="${WH_TMP_DIR}/expert${ALTA_VERSION}/setup.exe" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | if try_download "https://www1.alta.ru/pub/packets/distr/expert${ALTA_VERSION}.zip" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_SETUP}" /S /OVERWRITE | ||||||
|  |     try_remove_dir "$AUTOINSTALL_UNPACK" | ||||||
|  |  | ||||||
|  |     ALTA_PATH="$DRIVE_C/ALTA" | ||||||
|  |     create_desktop "Таможенные документы" "$ALTA_PATH/ordview.exe" "altatamdoc" | ||||||
|  |     create_desktop "Такса" "$ALTA_PATH/taxwin.exe" "altatax" | ||||||
|  |     create_desktop "Заполнитель" "$ALTA_PATH/zapoln.exe" "altazap" | ||||||
|  | fi | ||||||
| @@ -1,7 +1,7 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Таможенное оформление товаров | # info_ru: Таможенное оформление товаров | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://www.alta.ru" | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="alta" | export WINEPREFIX="alta" | ||||||
| export PROG_NAME="Альта-ГТД" | export PROG_NAME="Альта-ГТД" | ||||||
| @@ -16,11 +16,11 @@ AUTOINSTALL_UNPACK="${WH_TMP_DIR}/gtdw280125" | |||||||
| AUTOINSTALL_SETUP="${WH_TMP_DIR}/gtdw280125/setup.exe" | AUTOINSTALL_SETUP="${WH_TMP_DIR}/gtdw280125/setup.exe" | ||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
| if try_download "https://www1.alta.ru/pub/packets/distr/gtdw280125.zip" "${AUTOINSTALL_EXE}" ; then | if try_download "https://www2.alta.ru/pub/packets/distr/gtdw280125.zip" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /S |     wine_run_install "${AUTOINSTALL_SETUP}" /S /OVERWRITE | ||||||
|     try_remove_dir "$AUTOINSTALL_UNPACK" |     try_remove_dir "$AUTOINSTALL_UNPACK" | ||||||
|  |  | ||||||
|     WIN_FILE_EXEC="$DRIVE_C/ALTA/gtdw.exe" |     WIN_FILE_EXEC="$DRIVE_C/ALTA/gtdw.exe" | ||||||
|   | |||||||
							
								
								
									
										31
									
								
								autoinstall/alta-maximum
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,31 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Пакет программ для таможенного оформления. Включает программы Альта-ГТД, Такса и ТамДок в комплектациях Максимум, а также программу Заполнитель. | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://www.alta.ru" | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
|  | export WINEPREFIX="alta" | ||||||
|  | export PROG_NAME="Альта-Максимум" | ||||||
|  | export BASE_PFX="alta_pfx_x86_v01" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win32" | ||||||
|  | export INSTALL_DLL="corefonts eufonts lucida opensymbol tahoma cjkfonts vb6run mdac28 msxml3 msxml4 msxml6 mfc42 jet40 native_oleaut32" | ||||||
|  |  | ||||||
|  | ALTA_VERSION="120325" | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/maximum${ALTA_VERSION}.zip" | ||||||
|  | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/maximum${ALTA_VERSION}" | ||||||
|  | AUTOINSTALL_SETUP="${WH_TMP_DIR}/maximum${ALTA_VERSION}/setup.exe" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | if try_download "https://www2.alta.ru/pub/packets/distr/maximum${ALTA_VERSION}.zip" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_SETUP}" /S /OVERWRITE | ||||||
|  |     try_remove_dir "$AUTOINSTALL_UNPACK" | ||||||
|  |  | ||||||
|  |     ALTA_PATH="$DRIVE_C/ALTA" | ||||||
|  |     create_desktop "Альта-ГТД" "$ALTA_PATH/gtdw.exe" "altagtd" | ||||||
|  |     create_desktop "Таможенные документы" "$ALTA_PATH/ordview.exe" "altatamdoc" | ||||||
|  |     create_desktop "Такса" "$ALTA_PATH/taxwin.exe" "altatax" | ||||||
|  |     create_desktop "Заполнитель" "$ALTA_PATH/zapoln.exe" "altazap" | ||||||
|  | fi | ||||||
| @@ -1,7 +1,7 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Таможенное законодательство | # info_ru: Таможенное законодательство | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://www.alta.ru" | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="alta" | export WINEPREFIX="alta" | ||||||
| export PROG_NAME="Таможенные документы" | export PROG_NAME="Таможенные документы" | ||||||
| @@ -17,10 +17,10 @@ AUTOINSTALL_SETUP="${WH_TMP_DIR}/ordw030225/setup.exe" | |||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
| if try_download "https://www2.alta.ru/pub/packets/distr/ordw030225.zip" "${AUTOINSTALL_EXE}" ; then | if try_download "https://www2.alta.ru/pub/packets/distr/ordw030225.zip" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /S |     wine_run_install "${AUTOINSTALL_SETUP}" /S /OVERWRITE | ||||||
|     try_remove_dir "$AUTOINSTALL_UNPACK" |     try_remove_dir "$AUTOINSTALL_UNPACK" | ||||||
|  |  | ||||||
|     WIN_FILE_EXEC="$DRIVE_C/ALTA/ordview.exe" |     WIN_FILE_EXEC="$DRIVE_C/ALTA/ordview.exe" | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Расчет контракта | # info_ru: Расчет контракта | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://www.alta.ru" | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="alta" | export WINEPREFIX="alta" | ||||||
| export PROG_NAME="Такса" | export PROG_NAME="Такса" | ||||||
| @@ -17,10 +17,10 @@ AUTOINSTALL_SETUP="${WH_TMP_DIR}/taxwin040225/setup.exe" | |||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
| if try_download "https://www2.alta.ru/pub/packets/distr/taxwin040225.zip" "${AUTOINSTALL_EXE}" ; then | if try_download "https://www2.alta.ru/pub/packets/distr/taxwin040225.zip" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /S |     wine_run_install "${AUTOINSTALL_SETUP}" /S /OVERWRITE | ||||||
|     try_remove_dir "$AUTOINSTALL_UNPACK" |     try_remove_dir "$AUTOINSTALL_UNPACK" | ||||||
|  |  | ||||||
|     WIN_FILE_EXEC="$DRIVE_C/ALTA/taxwin.exe" |     WIN_FILE_EXEC="$DRIVE_C/ALTA/taxwin.exe" | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Автоматизация импорта данных | # info_ru: Автоматизация импорта данных | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://www.alta.ru" | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="alta" | export WINEPREFIX="alta" | ||||||
| export PROG_NAME="Заполнитель" | export PROG_NAME="Заполнитель" | ||||||
| @@ -17,10 +17,10 @@ AUTOINSTALL_SETUP="${WH_TMP_DIR}/zapwin040225/setup.exe" | |||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
| if try_download "https://www1.alta.ru/pub/packets/distr/zapwin040225.zip" "${AUTOINSTALL_EXE}" ; then | if try_download "https://www1.alta.ru/pub/packets/distr/zapwin040225.zip" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /S |     wine_run_install "${AUTOINSTALL_SETUP}" /S /OVERWRITE | ||||||
|     try_remove_dir "$AUTOINSTALL_UNPACK" |     try_remove_dir "$AUTOINSTALL_UNPACK" | ||||||
|  |  | ||||||
|     WIN_FILE_EXEC="$DRIVE_C/ALTA/zapoln.exe" |     WIN_FILE_EXEC="$DRIVE_C/ALTA/zapoln.exe" | ||||||
|   | |||||||
							
								
								
									
										39
									
								
								autoinstall/arm-kt-att
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,39 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Программа “АРМ КТ ПРОФ АТТЕСТАТ” для документов об основном общем, среднем общем образовании. | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://armregistr.ru/programmnoe-obespechenie/licenziya-na-programmnoe-obespechenie-dlya-zapolneniya-blank-4" | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
|  | export WINEPREFIX="arm-kt" | ||||||
|  | export PROG_NAME="АРМ КТ ПРОФ АТТЕСТАТ" | ||||||
|  | export PROG_ICON="armkt" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export INSTALL_DLL="" | ||||||
|  | export WH_WINDOWS_VER="7" | ||||||
|  |  | ||||||
|  | AUTOINSTALL_URL=$(curl -s "$PROG_URL" | grep "setup.zip" | awk -F'"' '{print $2}') | ||||||
|  | SHORT_NAME=$(echo $AUTOINSTALL_URL | awk -F'/' '{print $5}') | ||||||
|  | VER_EXE=$(echo $AUTOINSTALL_URL | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+') | ||||||
|  | AUTOINSTALL_ZIP="${WH_TMP_DIR}/$SHORT_NAME-$VER_EXE-setup.zip" | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/$SHORT_NAME-$VER_EXE-setup.exe" | ||||||
|  |  | ||||||
|  | if [[ -z $VER_EXE ]] | ||||||
|  | then fatal "Не удалось получить версию ПО со страницы на сайте!" | ||||||
|  | else print_info "Устанавливаем $PROG_NAME версии $VER_EXE" | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  |  | ||||||
|  | if try_download "$AUTOINSTALL_URL" "$AUTOINSTALL_ZIP" ; then | ||||||
|  |     unpack "$AUTOINSTALL_ZIP" "${WH_TMP_DIR}" | ||||||
|  |     try_remove_file "$AUTOINSTALL_ZIP" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT | ||||||
|  |     try_remove_file "${AUTOINSTALL_EXE}" | ||||||
|  |  | ||||||
|  |     create_desktop "$PROG_NAME" \ | ||||||
|  |     "$DRIVE_C/Program Files/KtSoftware/$SHORT_NAME/$SHORT_NAME.exe" "$PROG_ICON" | ||||||
|  |  | ||||||
|  |     create_desktop "Регистрация $PROG_NAME" \ | ||||||
|  |     "$DRIVE_C/Program Files/KtSoftware/$SHORT_NAME/${SHORT_NAME}Reg.exe" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										39
									
								
								autoinstall/arm-kt-dpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,39 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Программа “АРМ КТ ПРОФ ДПП” для заполнения бланков документов о повышении квалификации и профессиональной переподготовке. | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://armregistr.ru/programmnoe-obespechenie/licenziya-na-programmnoe-obespechenie-dlya-zapolneniya-blank" | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
|  | export WINEPREFIX="arm-kt" | ||||||
|  | export PROG_NAME="АРМ КТ ПРОФ ДПП" | ||||||
|  | export PROG_ICON="armkt" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export INSTALL_DLL="" | ||||||
|  | export WH_WINDOWS_VER="7" | ||||||
|  |  | ||||||
|  | AUTOINSTALL_URL=$(curl -s "$PROG_URL" | grep "setup.zip" | awk -F'"' '{print $2}') | ||||||
|  | SHORT_NAME=$(echo $AUTOINSTALL_URL | awk -F'/' '{print $5}') | ||||||
|  | VER_EXE=$(echo $AUTOINSTALL_URL | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+') | ||||||
|  | AUTOINSTALL_ZIP="${WH_TMP_DIR}/$SHORT_NAME-$VER_EXE-setup.zip" | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/$SHORT_NAME-$VER_EXE-setup.exe" | ||||||
|  |  | ||||||
|  | if [[ -z $VER_EXE ]] | ||||||
|  | then fatal "Не удалось получить версию ПО со страницы на сайте!" | ||||||
|  | else print_info "Устанавливаем $PROG_NAME версии $VER_EXE" | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  |  | ||||||
|  | if try_download "$AUTOINSTALL_URL" "$AUTOINSTALL_ZIP" ; then | ||||||
|  |     unpack "$AUTOINSTALL_ZIP" "${WH_TMP_DIR}" | ||||||
|  |     try_remove_file "$AUTOINSTALL_ZIP" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT | ||||||
|  |     try_remove_file "${AUTOINSTALL_EXE}" | ||||||
|  |  | ||||||
|  |     create_desktop "$PROG_NAME" \ | ||||||
|  |     "$DRIVE_C/Program Files/KtSoftware/$SHORT_NAME/$SHORT_NAME.exe" "$PROG_ICON" | ||||||
|  |  | ||||||
|  |     create_desktop "Регистрация $PROG_NAME" \ | ||||||
|  |     "$DRIVE_C/Program Files/KtSoftware/$SHORT_NAME/${SHORT_NAME}Reg.exe" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										35
									
								
								autoinstall/arm-kt-es
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,35 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Программа “АРМ КТ ПРОФ НШ” для заполнения бланков документов об окончании начальной школы. | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://armregistr.ru/programmnoe-obespechenie/licenziya-na-programmnoe-obespechenie-dlya-zapolneniya-blank-1" | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
|  | export WINEPREFIX="arm-kt" | ||||||
|  | export PROG_NAME="АРМ КТ ПРОФ НШ" | ||||||
|  | export PROG_ICON="armkt" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export INSTALL_DLL="" | ||||||
|  | export WH_WINDOWS_VER="7" | ||||||
|  |  | ||||||
|  | AUTOINSTALL_URL=$(curl -s "$PROG_URL" | grep "setup.exe" | awk -F'"' '{print $2}') | ||||||
|  | SHORT_NAME=$(echo $AUTOINSTALL_URL | awk -F'/' '{print $5}') | ||||||
|  | VER_EXE=$(echo $AUTOINSTALL_URL | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+') | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/$SHORT_NAME-$VER_EXE-setup.exe" | ||||||
|  |  | ||||||
|  | if [[ -z $VER_EXE ]] | ||||||
|  | then fatal "Не удалось получить версию ПО со страницы на сайте!" | ||||||
|  | else print_info "Устанавливаем $PROG_NAME версии $VER_EXE" | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  |  | ||||||
|  | if try_download "$AUTOINSTALL_URL" "$AUTOINSTALL_EXE" ; then | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT | ||||||
|  |     try_remove_file "${AUTOINSTALL_EXE}" | ||||||
|  |  | ||||||
|  |     create_desktop "$PROG_NAME" \ | ||||||
|  |     "$DRIVE_C/Program Files/KtSoftware/$SHORT_NAME/$SHORT_NAME.exe" "$PROG_ICON" | ||||||
|  |  | ||||||
|  |     create_desktop "Регистрация $PROG_NAME" \ | ||||||
|  |     "$DRIVE_C/Program Files/KtSoftware/$SHORT_NAME/${SHORT_NAME}Reg.exe" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										39
									
								
								autoinstall/arm-kt-med
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,39 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Программа “АРМ КТ ПРОФ МЕД” для заполнения бланков документов о послевузовском профессиональном образовании и сертификатов специалиста. | ||||||
|  | ###################################################### | ||||||
|  | export PROG_URL="https://armregistr.ru/programmnoe-obespechenie/licenziya-na-programmnoe-obespechenie-dlya-zapolneniya-blank-3" | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
|  | export WINEPREFIX="arm-kt" | ||||||
|  | export PROG_NAME="АРМ КТ ПРОФ МЕД" | ||||||
|  | export PROG_ICON="armkt" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export INSTALL_DLL="" | ||||||
|  | export WH_WINDOWS_VER="7" | ||||||
|  |  | ||||||
|  | AUTOINSTALL_URL=$(curl -s "$PROG_URL" | grep "setup.zip" | awk -F'"' '{print $2}') | ||||||
|  | SHORT_NAME=$(echo $AUTOINSTALL_URL | awk -F'/' '{print $5}') | ||||||
|  | VER_EXE=$(echo $AUTOINSTALL_URL | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+') | ||||||
|  | AUTOINSTALL_ZIP="${WH_TMP_DIR}/$SHORT_NAME-$VER_EXE-setup.zip" | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/$SHORT_NAME-$VER_EXE-setup.exe" | ||||||
|  |  | ||||||
|  | if [[ -z $VER_EXE ]] | ||||||
|  | then fatal "Не удалось получить версию ПО со страницы на сайте!" | ||||||
|  | else print_info "Устанавливаем $PROG_NAME версии $VER_EXE" | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  |  | ||||||
|  | if try_download "$AUTOINSTALL_URL" "$AUTOINSTALL_ZIP" ; then | ||||||
|  |     unpack "$AUTOINSTALL_ZIP" "${WH_TMP_DIR}" | ||||||
|  |     try_remove_file "$AUTOINSTALL_ZIP" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT | ||||||
|  |     try_remove_file "${AUTOINSTALL_EXE}" | ||||||
|  |  | ||||||
|  |     create_desktop "$PROG_NAME" \ | ||||||
|  |     "$DRIVE_C/Program Files/KtSoftware/$SHORT_NAME/$SHORT_NAME.exe" "$PROG_ICON" | ||||||
|  |  | ||||||
|  |     create_desktop "Регистрация $PROG_NAME" \ | ||||||
|  |     "$DRIVE_C/Program Files/KtSoftware/$SHORT_NAME/${SHORT_NAME}Reg.exe" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										39
									
								
								autoinstall/arm-kt-prof
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,39 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Программа “АРМ КТ ПРОФ ПРОФЕССИЯ” для заполнения бланков документов профессионального обучения. | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://armregistr.ru/programmnoe-obespechenie/licenziya-na-programmnoe-obespechenie-dlya-zapolneniya-blank-5" | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
|  | export WINEPREFIX="arm-kt" | ||||||
|  | export PROG_NAME="АРМ КТ ПРОФ ПРОФЕССИЯ" | ||||||
|  | export PROG_ICON="armkt" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export INSTALL_DLL="" | ||||||
|  | export WH_WINDOWS_VER="7" | ||||||
|  |  | ||||||
|  | AUTOINSTALL_URL=$(curl -s "$PROG_URL" | grep "setup.zip" | awk -F'"' '{print $2}') | ||||||
|  | SHORT_NAME=$(echo $AUTOINSTALL_URL | awk -F'/' '{print $5}') | ||||||
|  | VER_EXE=$(echo $AUTOINSTALL_URL | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+') | ||||||
|  | AUTOINSTALL_ZIP="${WH_TMP_DIR}/$SHORT_NAME-$VER_EXE-setup.zip" | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/$SHORT_NAME-$VER_EXE-setup.exe" | ||||||
|  |  | ||||||
|  | if [[ -z $VER_EXE ]] | ||||||
|  | then fatal "Не удалось получить версию ПО со страницы на сайте!" | ||||||
|  | else print_info "Устанавливаем $PROG_NAME версии $VER_EXE" | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  |  | ||||||
|  | if try_download "$AUTOINSTALL_URL" "$AUTOINSTALL_ZIP" ; then | ||||||
|  |     unpack "$AUTOINSTALL_ZIP" "${WH_TMP_DIR}" | ||||||
|  |     try_remove_file "$AUTOINSTALL_ZIP" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT | ||||||
|  |     try_remove_file "${AUTOINSTALL_EXE}" | ||||||
|  |  | ||||||
|  |     create_desktop "$PROG_NAME" \ | ||||||
|  |     "$DRIVE_C/Program Files/KtSoftware/$SHORT_NAME/$SHORT_NAME.exe" "$PROG_ICON" | ||||||
|  |  | ||||||
|  |     create_desktop "Регистрация $PROG_NAME" \ | ||||||
|  |     "$DRIVE_C/Program Files/KtSoftware/$SHORT_NAME/${SHORT_NAME}Reg.exe" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										39
									
								
								autoinstall/arm-kt-spo
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,39 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Программа “АРМ КТ ПРОФ СПО” для заполнения бланков документов о среднем профессиональном образовании. | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://armregistr.ru/programmnoe-obespechenie/licenziya-na-programmnoe-obespechenie-dlya-zapolneniya-blank-2" | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
|  | export WINEPREFIX="arm-kt" | ||||||
|  | export PROG_NAME="АРМ КТ ПРОФ СПО" | ||||||
|  | export PROG_ICON="armkt" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export INSTALL_DLL="" | ||||||
|  | export WH_WINDOWS_VER="7" | ||||||
|  |  | ||||||
|  | AUTOINSTALL_URL=$(curl -s "$PROG_URL" | grep "setup.zip" | awk -F'"' '{print $2}') | ||||||
|  | SHORT_NAME=$(echo $AUTOINSTALL_URL | awk -F'/' '{print $5}') | ||||||
|  | VER_EXE=$(echo $AUTOINSTALL_URL | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+') | ||||||
|  | AUTOINSTALL_ZIP="${WH_TMP_DIR}/$SHORT_NAME-$VER_EXE-setup.zip" | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/$SHORT_NAME-$VER_EXE-setup.exe" | ||||||
|  |  | ||||||
|  | if [[ -z $VER_EXE ]] | ||||||
|  | then fatal "Не удалось получить версию ПО со страницы на сайте!" | ||||||
|  | else print_info "Устанавливаем $PROG_NAME версии $VER_EXE" | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  |  | ||||||
|  | if try_download "$AUTOINSTALL_URL" "$AUTOINSTALL_ZIP" ; then | ||||||
|  |     unpack "$AUTOINSTALL_ZIP" "${WH_TMP_DIR}" | ||||||
|  |     try_remove_file "$AUTOINSTALL_ZIP" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT | ||||||
|  |     try_remove_file "${AUTOINSTALL_EXE}" | ||||||
|  |  | ||||||
|  |     create_desktop "$PROG_NAME" \ | ||||||
|  |     "$DRIVE_C/Program Files/KtSoftware/$SHORT_NAME/$SHORT_NAME.exe" "$PROG_ICON" | ||||||
|  |  | ||||||
|  |     create_desktop "Регистрация $PROG_NAME" \ | ||||||
|  |     "$DRIVE_C/Program Files/KtSoftware/$SHORT_NAME/${SHORT_NAME}Reg.exe" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										39
									
								
								autoinstall/arm-kt-vuz
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,39 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Программа “АРМ КТ ПРОФ ВУЗ” для заполнения бланков документов о высшем образовании. | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://armregistr.ru/programmnoe-obespechenie/licenziya-na-programmnoe-obespechenie-dlya-zapolneniya-blank-6" | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
|  | export WINEPREFIX="arm-kt" | ||||||
|  | export PROG_NAME="АРМ КТ ПРОФ ВУЗ" | ||||||
|  | export PROG_ICON="armkt" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export INSTALL_DLL="" | ||||||
|  | export WH_WINDOWS_VER="7" | ||||||
|  |  | ||||||
|  | AUTOINSTALL_URL=$(curl -s "$PROG_URL" | grep "setup.zip" | awk -F'"' '{print $2}') | ||||||
|  | SHORT_NAME=$(echo $AUTOINSTALL_URL | awk -F'/' '{print $5}') | ||||||
|  | VER_EXE=$(echo $AUTOINSTALL_URL | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+') | ||||||
|  | AUTOINSTALL_ZIP="${WH_TMP_DIR}/$SHORT_NAME-$VER_EXE-setup.zip" | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/$SHORT_NAME-$VER_EXE-setup.exe" | ||||||
|  |  | ||||||
|  | if [[ -z $VER_EXE ]] | ||||||
|  | then fatal "Не удалось получить версию ПО со страницы на сайте!" | ||||||
|  | else print_info "Устанавливаем $PROG_NAME версии $VER_EXE" | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  |  | ||||||
|  | if try_download "$AUTOINSTALL_URL" "$AUTOINSTALL_ZIP" ; then | ||||||
|  |     unpack "$AUTOINSTALL_ZIP" "${WH_TMP_DIR}" | ||||||
|  |     try_remove_file "$AUTOINSTALL_ZIP" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT | ||||||
|  |     try_remove_file "${AUTOINSTALL_EXE}" | ||||||
|  |  | ||||||
|  |     create_desktop "$PROG_NAME" \ | ||||||
|  |     "$DRIVE_C/Program Files/KtSoftware/$SHORT_NAME/$SHORT_NAME.exe" "$PROG_ICON" | ||||||
|  |  | ||||||
|  |     create_desktop "Регистрация $PROG_NAME" \ | ||||||
|  |     "$DRIVE_C/Program Files/KtSoftware/$SHORT_NAME/${SHORT_NAME}Reg.exe" "$PROG_ICON" | ||||||
|  | fi | ||||||
| @@ -1,25 +1,27 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Программа для ведения автоматического контроля договоров, счетов и прочих платежных документов организаций-поставщиков и клиентов. | # info_ru: Программа для ведения автоматического контроля договоров, счетов и прочих платежных документов организаций-поставщиков и клиентов. | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://www.ctm.ru" | ||||||
| export PROG_NAME="СТМ-Финансы" | export PROG_NAME="СТМ-Финансы" | ||||||
| export PROG_ICON="ctmfinance" | export PROG_ICON="ctmfinance" | ||||||
|  |  | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="ved_ctm" | export WINEPREFIX="ved_ctm" | ||||||
| export BASE_PFX="ved_ctm_pfx_x86_v04" | export BASE_PFX="ved_ctm_pfx_x86_v05" | ||||||
| export WINEARCH="win32" | export WINEARCH="win32" | ||||||
| export WH_WINDOWS_VER="7" | export WH_WINDOWS_VER="7" | ||||||
| export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8" | export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8 vcrun2019 dotnet7 dotnetdesktop7 renderer=gdi" | ||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
|  |  | ||||||
|  | # фикс постоянного запроса обновления Windows | ||||||
|  | get_and_set_reg_file --add 'Software\CTM\CTMSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
| AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_fn.exe" | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_fn.exe" | ||||||
| AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_fn" | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_fn" | ||||||
| AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_fn/setup.exe" | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_fn/setup.exe" | ||||||
|  |  | ||||||
| if try_download "https://files.ctm.ru/FINANCE/SFX/setup_fn.exe" "${AUTOINSTALL_EXE}" ; then | if try_download "https://files.ctm.ru/FINANCE/SFX/setup_fn.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\FINANCE" /auto /hide |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\FINANCE" /auto /hide | ||||||
|   | |||||||
| @@ -1,25 +1,27 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Удобная многофункциональная программа для ведения электронных журналов. Позволяет автоматизировать документооборот участников ВЭД, таможенных представителей и пр. | # info_ru: Удобная многофункциональная программа для ведения электронных журналов. Позволяет автоматизировать документооборот участников ВЭД, таможенных представителей и пр. | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://www.ctm.ru" | ||||||
| export PROG_NAME="СТМ-Журналы" | export PROG_NAME="СТМ-Журналы" | ||||||
| export PROG_ICON="ctmjournals" | export PROG_ICON="ctmjournals" | ||||||
|  |  | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="ved_ctm" | export WINEPREFIX="ved_ctm" | ||||||
| export BASE_PFX="ved_ctm_pfx_x86_v04" | export BASE_PFX="ved_ctm_pfx_x86_v05" | ||||||
| export WINEARCH="win32" | export WINEARCH="win32" | ||||||
| export WH_WINDOWS_VER="7" | export WH_WINDOWS_VER="7" | ||||||
| export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8" | export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8 vcrun2019 dotnet7 dotnetdesktop7 renderer=gdi" | ||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
|  |  | ||||||
|  | # фикс постоянного запроса обновления Windows | ||||||
|  | get_and_set_reg_file --add 'Software\CTM\CTMSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
| AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_jr.exe" | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_jr.exe" | ||||||
| AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_jr" | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_jr" | ||||||
| AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_jr/setup.exe" | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_jr/setup.exe" | ||||||
|  |  | ||||||
| if try_download "https://files.ctm.ru/JOURNALS/SFX/setup_jr.exe" "${AUTOINSTALL_EXE}" ; then | if try_download "https://files.ctm.ru/JOURNALS/SFX/setup_jr.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\JOURNALS" /auto /hide |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\JOURNALS" /auto /hide | ||||||
|   | |||||||
| @@ -1,25 +1,27 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Программный модуль, обеспечивающий передачу данных при работе в системе Электронного декларирования через Интернет. | # info_ru: Программный модуль, обеспечивающий передачу данных при работе в системе Электронного декларирования через Интернет. | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://www.ctm.ru" | ||||||
| export PROG_NAME="Монитор ЭД" | export PROG_NAME="Монитор ЭД" | ||||||
| export PROG_ICON="ctmmonitor" | export PROG_ICON="ctmmonitor" | ||||||
|  |  | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="ved_ctm" | export WINEPREFIX="ved_ctm" | ||||||
| export BASE_PFX="ved_ctm_pfx_x86_v04" | export BASE_PFX="ved_ctm_pfx_x86_v05" | ||||||
| export WINEARCH="win32" | export WINEARCH="win32" | ||||||
| export WH_WINDOWS_VER="7" | export WH_WINDOWS_VER="7" | ||||||
| export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8" | export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8 vcrun2019 dotnet7 dotnetdesktop7 renderer=gdi" | ||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
|  |  | ||||||
|  | # фикс постоянного запроса обновления Windows | ||||||
|  | get_and_set_reg_file --add 'Software\CTM\CTMSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
| AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_me.exe" | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_me.exe" | ||||||
| AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_me" | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_me" | ||||||
| AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_me/setup.exe" | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_me/setup.exe" | ||||||
|  |  | ||||||
| if try_download "https://files.ctm.ru/MONITOR_ED/SFX/setup_me.exe" "${AUTOINSTALL_EXE}" ; then | if try_download "https://files.ctm.ru/MONITOR_ED/SFX/setup_me.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\MONITOR_ED" /auto /hide |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\MONITOR_ED" /auto /hide | ||||||
|   | |||||||
| @@ -1,25 +1,27 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Универсальная программа для создания различных отчетов, в том числе подаваемых в таможенные органы таможенными представителями. | # info_ru: Универсальная программа для создания различных отчетов, в том числе подаваемых в таможенные органы таможенными представителями. | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://www.ctm.ru" | ||||||
| export PROG_NAME="СТМ-Отчет" | export PROG_NAME="СТМ-Отчет" | ||||||
| export PROG_ICON="ctmreport" | export PROG_ICON="ctmreport" | ||||||
|  |  | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="ved_ctm" | export WINEPREFIX="ved_ctm" | ||||||
| export BASE_PFX="ved_ctm_pfx_x86_v04" | export BASE_PFX="ved_ctm_pfx_x86_v05" | ||||||
| export WINEARCH="win32" | export WINEARCH="win32" | ||||||
| export WH_WINDOWS_VER="7" | export WH_WINDOWS_VER="7" | ||||||
| export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8" | export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8 vcrun2019 dotnet7 dotnetdesktop7 renderer=gdi" | ||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
|  |  | ||||||
|  | # фикс постоянного запроса обновления Windows | ||||||
|  | get_and_set_reg_file --add 'Software\CTM\CTMSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
| AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_rp.exe" | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_rp.exe" | ||||||
| AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_rp" | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_rp" | ||||||
| AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_rp/setup.exe" | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_rp/setup.exe" | ||||||
|  |  | ||||||
| if try_download "https://ftp.ctm.ru/REPORT/SFX/setup_rp.exe" "${AUTOINSTALL_EXE}" ; then | if try_download "https://ftp.ctm.ru/REPORT/SFX/setup_rp.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\REPORT" /auto /hide |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\REPORT" /auto /hide | ||||||
|   | |||||||
| @@ -1,25 +1,27 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Вспомогательная программа для автоматического обновления через Интернет программного обеспечения «СТМ» | # info_ru: Вспомогательная программа для автоматического обновления через Интернет программного обеспечения «СТМ» | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://www.ctm.ru" | ||||||
| export PROG_NAME="СТМ-Сервис" | export PROG_NAME="СТМ-Сервис" | ||||||
| export PROG_ICON="ctmservice" | export PROG_ICON="ctmservice" | ||||||
|  |  | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="ved_ctm" | export WINEPREFIX="ved_ctm" | ||||||
| export BASE_PFX="ved_ctm_pfx_x86_v04" | export BASE_PFX="ved_ctm_pfx_x86_v05" | ||||||
| export WINEARCH="win32" | export WINEARCH="win32" | ||||||
| export WH_WINDOWS_VER="7" | export WH_WINDOWS_VER="7" | ||||||
| export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8" | export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8 vcrun2019 dotnet7 dotnetdesktop7 renderer=gdi" | ||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
|  |  | ||||||
|  | # фикс постоянного запроса обновления Windows | ||||||
|  | get_and_set_reg_file --add 'Software\CTM\CTMSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
| AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_cs.exe" | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_cs.exe" | ||||||
| AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_cs" | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_cs" | ||||||
| AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_cs/setup.exe" | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_cs/setup.exe" | ||||||
|  |  | ||||||
| if try_download "https://files.ctm.ru/CSERVICE/SFX/setup_cs.exe" "${AUTOINSTALL_EXE}" ; then | if try_download "https://files.ctm.ru/CSERVICE/SFX/setup_cs.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\CSERVICE" /auto /hide |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\CSERVICE" /auto /hide | ||||||
|   | |||||||
							
								
								
									
										31
									
								
								autoinstall/daobit-cservice
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,31 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru:  Сервис обновления ПО: "R-Атлас", "R-Инфо" и "R-Тариф". | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://daobit.ru" | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_i586" # wine-9.0.9-alt1-i586" | ||||||
|  | export WINEPREFIX="daobit" | ||||||
|  | export PROG_NAME="Сервис обновления ПО" | ||||||
|  | export PROG_ICON="daobitcservice" | ||||||
|  | export BASE_PFX="daobit_pfx_x86_v01" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win32" | ||||||
|  | export INSTALL_DLL="dotnet7 dotnetdesktop7 arial renderer=gdi" | ||||||
|  |  | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_cs.exe" | ||||||
|  | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_cs" | ||||||
|  | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_cs/SETUP.EXE" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | if try_download "https://files.daobit.ru/CSERVICE/SFX/setup_cs.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |  | ||||||
|  |     # фикс постоянного запроса обновления Windows | ||||||
|  |     get_and_set_reg_file --add 'Software\DAO\DAOSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
|  |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|  |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\DAO\\\\CSERVICE" /auto /hide | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/Program Files/DAO/CSERVICE/CService32.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  |     try_remove_dir "$AUTOINSTALL_UNPACK" | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  | fi | ||||||
							
								
								
									
										31
									
								
								autoinstall/daobit-ratlas
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,31 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Построение маршрутов железнодорожных грузоперевозок | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://daobit.ru" | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_i586" # wine-9.0.9-alt1-i586" | ||||||
|  | export WINEPREFIX="daobit" | ||||||
|  | export PROG_NAME="R-Атлас" | ||||||
|  | export PROG_ICON="daobitratlas" | ||||||
|  | export BASE_PFX="daobit_pfx_x86_v01" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win32" | ||||||
|  | export INSTALL_DLL="dotnet7 dotnetdesktop7 arial renderer=gdi" | ||||||
|  |  | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_rk.exe" | ||||||
|  | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_rk" | ||||||
|  | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_rk/setup.exe" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | if try_download "https://files.daobit.ru/RATLAS/SFX/setup_rk.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |  | ||||||
|  |     # фикс постоянного запроса обновления Windows | ||||||
|  |     get_and_set_reg_file --add 'Software\DAO\DAOSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
|  |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|  |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\DAO\\\\RAtlas" /auto /hide | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/Program Files/DAO/RAtlas/ratlas.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  |     try_remove_dir "$AUTOINSTALL_UNPACK" | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  | fi | ||||||
							
								
								
									
										31
									
								
								autoinstall/daobit-rinfo
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,31 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Специализированная информация для организации железнодорожных перевозок | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://daobit.ru" | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_i586" # wine-9.0.9-alt1-i586" | ||||||
|  | export WINEPREFIX="daobit" | ||||||
|  | export PROG_NAME="R-Инфо" | ||||||
|  | export PROG_ICON="daobitrinfo" | ||||||
|  | export BASE_PFX="daobit_pfx_x86_v01" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win32" | ||||||
|  | export INSTALL_DLL="dotnet7 dotnetdesktop7 arial renderer=gdi" | ||||||
|  |  | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_ri.exe" | ||||||
|  | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_ri" | ||||||
|  | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_ri/setup.exe" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | if try_download "https://files.daobit.ru/RINFO/SFX/setup_ri.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |  | ||||||
|  |     # фикс постоянного запроса обновления Windows | ||||||
|  |     get_and_set_reg_file --add 'Software\DAO\DAOSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
|  |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|  |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\DAO\\\\RInfo" /auto /hide | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/Program Files/DAO/RInfo/rinfo.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  |     try_remove_dir "$AUTOINSTALL_UNPACK" | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  | fi | ||||||
							
								
								
									
										31
									
								
								autoinstall/daobit-rtariff
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,31 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru:  Расчёт размера провозной платы и дополнительных сборов за грузовые перевозки по железной дороге | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://daobit.ru" | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_i586" # wine-9.0.9-alt1-i586" | ||||||
|  | export WINEPREFIX="daobit" | ||||||
|  | export PROG_NAME="R-Тариф" | ||||||
|  | export PROG_ICON="daobitrtariff" | ||||||
|  | export BASE_PFX="daobit_pfx_x86_v01" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win32" | ||||||
|  | export INSTALL_DLL="dotnet7 dotnetdesktop7 arial renderer=gdi" | ||||||
|  |  | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_rt.exe" | ||||||
|  | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_rt" | ||||||
|  | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_rt/setup.exe" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | if try_download "https://files.daobit.ru/RTARIFF/SFX/setup_rt.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |  | ||||||
|  |     # фикс постоянного запроса обновления Windows | ||||||
|  |     get_and_set_reg_file --add 'Software\DAO\DAOSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
|  |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|  |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\DAO\\\\RTariff" /auto /hide | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/Program Files/DAO/RTariff/Tariff.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  |     try_remove_dir "$AUTOINSTALL_UNPACK" | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  | fi | ||||||
| @@ -1,24 +0,0 @@ | |||||||
| #!/usr/bin/env bash |  | ||||||
| # info_ru: Программа «Декларация 2023» позволяет автоматически формировать налоговые декларации по форме 3-НДФЛ. В процессе заполнения Вами данных программа автоматически проверяет их корректность, что уменьшает вероятность появления ошибки. |  | ||||||
| ######################################################################## |  | ||||||
| export WH_AUTOINSTALL="1" |  | ||||||
| export AUTOINSTALL_EXE="${WH_TMP_DIR}/InsD2023.msi" |  | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" |  | ||||||
| export WINEPREFIX="declaration2023" |  | ||||||
| export PROG_NAME="Декларация 2023" |  | ||||||
| # export PROG_VERSION="" |  | ||||||
| export PROG_ICON="declarac" |  | ||||||
| # export ADD_MIME_TYPE="" |  | ||||||
| export BASE_PFX="defpfx_x86_v01" |  | ||||||
| export WINEARCH="win32" |  | ||||||
| export INSTALL_DLL="msxml3 msxml4 msxml6 corefonts wsh57 vcrun6 jet40 gdiplus" |  | ||||||
| export WH_WINDOWS_VER="10" |  | ||||||
|  |  | ||||||
| prepair_wine |  | ||||||
| if try_download "https://data.nalog.ru/files/decl2023/1.0.3/InsD2023.msi" "${AUTOINSTALL_EXE}" ; then |  | ||||||
|     wine_run_install "${AUTOINSTALL_EXE}" "/q" |  | ||||||
|     try_remove_file "${AUTOINSTALL_EXE}" |  | ||||||
|  |  | ||||||
|     WIN_FILE_EXEC="$DRIVE_C/АО ГНИВЦ/Декларация 2023/Decl2023.exe" |  | ||||||
|     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" |  | ||||||
| fi |  | ||||||
| @@ -1,7 +1,7 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Конструктор тестов предназначен для проведения тестирования персонала и учащихся. | # info_ru: Конструктор тестов предназначен для проведения тестирования персонала и учащихся. | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://www.keepsoft.ru" | ||||||
| export PROG_NAME="Конструктор тестов" | export PROG_NAME="Конструктор тестов" | ||||||
| export AUTOINSTALL_EXE="${WH_TMP_DIR}/simulator4.exe" | export AUTOINSTALL_EXE="${WH_TMP_DIR}/simulator4.exe" | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: «Справки БК» — специальное программное обеспечение, предназначенное для заполнения справок о доходах, расходах, об имуществе и обязательствах имущественного характера. | # info_ru: «Справки БК» (Windows версия 2.5.5) от 31.01.2024 — специальное программное обеспечение, предназначенное для заполнения справок о доходах, расходах, об имуществе и обязательствах имущественного характера. | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://spravki-bk.ru" | ||||||
| export WH_WINE_USE="wine-9.0.14-alt1-i586-spravkibk" | export WH_WINE_USE="wine-9.0.14-alt1-i586-spravkibk" | ||||||
| export WINEPREFIX="spravki-bk" | export WINEPREFIX="spravki-bk" | ||||||
| export PROG_NAME="СПО Справки БК" | export PROG_NAME="СПО Справки БК" | ||||||
| @@ -10,6 +10,7 @@ export BASE_PFX="spravkibk_pfx_x86_v03" | |||||||
| export WH_WINDOWS_VER="10" | export WH_WINDOWS_VER="10" | ||||||
| export WINEARCH="win32" | export WINEARCH="win32" | ||||||
| export INSTALL_DLL="msxml3 msxml6 dotnet35sp1 renderer=gdi" | export INSTALL_DLL="msxml3 msxml6 dotnet35sp1 renderer=gdi" | ||||||
|  | export WH_USE_EXTRA_FONTS="1" | ||||||
|  |  | ||||||
| AUTOINSTALL_EXE="${WH_TMP_DIR}/СПО-Справки-БК-(версия-2.5.5)-от-31.01.2024.zip" | AUTOINSTALL_EXE="${WH_TMP_DIR}/СПО-Справки-БК-(версия-2.5.5)-от-31.01.2024.zip" | ||||||
| AUTOINSTALL_UNPACK="${WH_TMP_DIR}/SpravkiBk" | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/SpravkiBk" | ||||||
| @@ -17,7 +18,7 @@ AUTOINSTALL_SETUP="${WH_TMP_DIR}/SpravkiBk/SpravkiBk-2-5-5-2275-Internet.msi" | |||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
| if try_download "https://spravki-bk.ru/wp-content/uploads/СПО-Справки-БК-(версия-2.5.5)-от-31.01.2024.zip" "${AUTOINSTALL_EXE}" ; then | if try_download "https://spravki-bk.ru/wp-content/uploads/СПО-Справки-БК-(версия-2.5.5)-от-31.01.2024.zip" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /q |     wine_run_install "${AUTOINSTALL_SETUP}" /q | ||||||
|   | |||||||
							
								
								
									
										40
									
								
								autoinstall/t-flex-cad-edu17
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,40 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Учебная версия. САПР, объединяющая в себе мощные параметрические возможности 2D и 3D-моделирования со средствами создания и оформления чертежей и конструкторской документации по ЕСКД. | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://www.tflexcad.ru" | ||||||
|  | export PROG_NAME="T-FLEX CAD Учебная Версия 17" | ||||||
|  | export PROG_ICON="tflexcad" | ||||||
|  | export WH_WINE_USE="wine_wh_tflex_10-9_amd64" | ||||||
|  | export BASE_PFX="tflex_pfx_x64_v03" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEPREFIX="tflex" | ||||||
|  | export WH_XDG_OPEN="log" | ||||||
|  | export WH_USE_MESA_GL_OVERRIDE="1" | ||||||
|  |  | ||||||
|  | # используем общий whdb файл для подготовки префикса и сервисов | ||||||
|  | # prepair_wine используется из файла настроек | ||||||
|  | source "$WH_DB_DIR/t-flex-cad.whdb" | ||||||
|  |  | ||||||
|  | # Программа T-FLEX CAD Учебная Версия | ||||||
|  | export AUTOINSTALL_ZIP="${WH_TMP_DIR}/TFCAD_ST_17x64_PACK.zip" | ||||||
|  | export AUTOINSTALL_DIR="${WH_TMP_DIR}" | ||||||
|  | export AUTOINSTALL_EDUCATION="${WH_TMP_DIR}/T-FLEX CAD Учебная Версия 17/T-FLEX CAD Учебная Версия 17.msi" | ||||||
|  | export AUTOINSTALL_COMPONENTS="${WH_TMP_DIR}/Компоненты поддержки T-FLEX 17/Setup.exe" | ||||||
|  | export AUTOINSTALL_ELEMENTS="${WH_TMP_DIR}/Стандартные элементы 17/Стандартные элементы 17.msi" | ||||||
|  |  | ||||||
|  | if try_download "https://www.tflexcad.ru/download/t-flex-cad-free/files/TFCAD_ST_17x64_PACK.zip" "${AUTOINSTALL_ZIP}" ; then | ||||||
|  |     unpack "${AUTOINSTALL_ZIP}" "${AUTOINSTALL_DIR}" | ||||||
|  |     try_remove_file "${AUTOINSTALL_ZIP}" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_EDUCATION}" /q | ||||||
|  |     wine_run_install "${AUTOINSTALL_COMPONENTS}" /q | ||||||
|  |     wine_run_install "${AUTOINSTALL_ELEMENTS}" /q | ||||||
|  |     try_remove_file "${WH_TMP_DIR}/Setup.exe" | ||||||
|  |     try_remove_dir "${WH_TMP_DIR}/T-FLEX CAD Учебная Версия 17" | ||||||
|  |     try_remove_dir "${WH_TMP_DIR}/Компоненты поддержки T-FLEX 17" | ||||||
|  |     try_remove_dir "${WH_TMP_DIR}/Стандартные элементы 17" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/Program Files/T-FLEX CAD Учебная Версия 17/Program/TFlexCad.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" "TFlexCadEDU" | ||||||
|  | fi | ||||||
| @@ -1,77 +1,20 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Профессиональная САПР, объединяющая в себе мощные параметрические возможности 2D и 3D-моделирования со средствами создания и оформления чертежей и конструкторской документации по ЕСКД. | # info_ru: Профессиональная САПР, объединяющая в себе мощные параметрические возможности 2D и 3D-моделирования со средствами создания и оформления чертежей и конструкторской документации по ЕСКД. | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://www.tflexcad.ru" | ||||||
| export PROG_NAME="T-FLEX CAD 17" | export PROG_NAME="T-FLEX CAD 17" | ||||||
| export WH_WINDOWS_VER="10" |  | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" |  | ||||||
| export BASE_PFX="tflex17_pfx_x64_v01" |  | ||||||
| export WINEARCH="win64" |  | ||||||
| export WINEPREFIX="tflex17" |  | ||||||
| export PROG_VERSION="" |  | ||||||
| export PROG_ICON="tflexcad" | export PROG_ICON="tflexcad" | ||||||
| export INSTALL_DLL="corefonts d3dcompiler_47 dotnet48 vcrun2019 ucrtbase2019 msxml6 fontsmooth=rgb baekmuk droid eufonts ipamona liberation lucida opensymbol sourcehansans tahoma takao uff unifont vlgothic wenquanyi wenquanyizenhei" | export WH_WINE_USE="wine_wh_tflex_10-9_amd64" | ||||||
|  | export BASE_PFX="tflex_pfx_x64_v03" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEPREFIX="tflex" | ||||||
|  | export WH_XDG_OPEN="log" | ||||||
|  | export WH_USE_MESA_GL_OVERRIDE="1" | ||||||
|  |  | ||||||
| prepair_wine | # используем общий whdb файл для подготовки префикса и сервисов | ||||||
| if [[ "$BASE_PFX" == "none" ]] \ | # prepair_wine используется из файла настроек | ||||||
| || ! systemctl list-units --type service --state running | grep aksusbd \ | source "$WH_DB_DIR/t-flex-cad.whdb" | ||||||
| || ! systemctl list-units --type service --state running | grep hasplmd |  | ||||||
| then |  | ||||||
|     # Компоненты поддержки T-FLEX PLM 17 (Linux) |  | ||||||
|     AUTOINSTALL_ZIP_LIN="${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux.zip" |  | ||||||
|     AUTOINSTALL_DIR_LIN="${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux" |  | ||||||
|     AUTOINSTALL_EXE_LIN1="${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/Components/fake_hasp.reg" |  | ||||||
|     if try_download "https://www.tflex.ru/downloads/Prerequisites_T-FLEX_17_Linux.zip" "${AUTOINSTALL_ZIP_LIN}" ; then |  | ||||||
|         7z x -y "${AUTOINSTALL_ZIP_LIN}" -o"${AUTOINSTALL_DIR_LIN}" |  | ||||||
|         try_remove_file "$AUTOINSTALL_ZIP_LIN" |  | ||||||
|         "$WINELOADER" regedit "${AUTOINSTALL_EXE_LIN1}" |  | ||||||
|     fi |  | ||||||
|  |  | ||||||
|     if [[ "$BASE_PFX" == "none" ]] ; then |  | ||||||
|         # Компоненты поддержки T-FLEX PLM 17 (Windows) |  | ||||||
|         AUTOINSTALL_ZIP_WIN="${WH_TMP_DIR}/T-FLEX 17 Prerequisites.zip" |  | ||||||
|         AUTOINSTALL_DIRWIN="${WH_TMP_DIR}" |  | ||||||
|         AUTOINSTALL_EXE_WIN1="${WH_TMP_DIR}/Компоненты поддержки T-FLEX 17/Access Database Engine 2007/AccessDatabaseEngine.exe" |  | ||||||
|         AUTOINSTALL_EXE_WIN_MSY="${WH_TMP_DIR}/Компоненты поддержки T-FLEX 17/Access Database Engine 2007" |  | ||||||
|         AUTOINSTALL_EXE_WIN2="${WH_TMP_DIR}/Компоненты поддержки T-FLEX 17/TSC2/Setup_TSC2.msi" |  | ||||||
|         if try_download "https://www.tflex.ru/downloads/T-FLEX%2017%20Prerequisites.zip" "${AUTOINSTALL_ZIP_WIN}" ; then |  | ||||||
|             7z x -y "${AUTOINSTALL_ZIP_WIN}" -o"${AUTOINSTALL_DIRWIN}" |  | ||||||
|             try_remove_file "$AUTOINSTALL_ZIP_WIN" |  | ||||||
|  |  | ||||||
|             7z x -y "${AUTOINSTALL_EXE_WIN1}" -o"${AUTOINSTALL_EXE_WIN_MSY}" |  | ||||||
|             try_remove_file "$AUTOINSTALL_EXE_WIN1" |  | ||||||
|  |  | ||||||
|             wine_run_install "${AUTOINSTALL_EXE_WIN_MSY}/AceRedist.msi" /q |  | ||||||
|             wine_run_install "${AUTOINSTALL_EXE_WIN2}" /q |  | ||||||
|         fi |  | ||||||
|         rm -fR "$DRIVE_C/Program Files/Common Files/System" |  | ||||||
|         rm -fR "$DRIVE_C/Program Files (x86)/Common Files/System" |  | ||||||
|         cp -r "${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/Components/Program Files/Common Files/System" "$DRIVE_C/Program Files/Common Files" |  | ||||||
|         cp -r "${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/Components/Program Files (x86)/Common Files/System" "$DRIVE_C/Program Files (x86)/Common Files" |  | ||||||
|         mv -f "${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/Components/Windows/System32/"*.dll "$DRIVE_C/windows/system32" |  | ||||||
|  |  | ||||||
|         "$WINELOADER" regedit "${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/Components/ado-32.reg" |  | ||||||
|         "$WINELOADER"64 regedit "${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/Components/ado-64.reg" |  | ||||||
|         "$WINELOADER" regedit "${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/Components/tflex.reg" |  | ||||||
|     fi |  | ||||||
|  |  | ||||||
|     if systemctl list-units --type service --state running | grep aksusbd \ |  | ||||||
|     && systemctl list-units --type service --state running | grep hasplmd |  | ||||||
|     then |  | ||||||
|         print_info "Службы aksusbd и hasplmd уже запущены. Пропускаем..." |  | ||||||
|     else |  | ||||||
|         echo "#!/usr/bin/env bash |  | ||||||
|         cd \"${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/HASP_Linux/aksusbd/\" |  | ||||||
|         bash ./dinst |  | ||||||
|         mv -f \"${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/HASP_Linux/\"*.so /var/hasplm/ |  | ||||||
|         systemctl restart hasplmd.service" > "${WH_TMP_DIR}/tflex17_aksusbd.sh" |  | ||||||
|         chmod +x ${WH_TMP_DIR}/tflex17_aksusbd.sh |  | ||||||
|         su_run "${WH_TMP_DIR}/tflex17_aksusbd.sh" |  | ||||||
|         try_remove_file "${WH_TMP_DIR}/tflex17_aksusbd.sh" |  | ||||||
|     fi |  | ||||||
|     try_remove_dir "$AUTOINSTALL_DIR_LIN" |  | ||||||
|     try_remove_dir "${WH_TMP_DIR}/Компоненты поддержки T-FLEX 17/" |  | ||||||
| fi |  | ||||||
|  |  | ||||||
| # Программа T-FLEX CAD | # Программа T-FLEX CAD | ||||||
| export AUTOINSTALL_ZIP="${WH_TMP_DIR}/T-FLEX CAD 17.zip" | export AUTOINSTALL_ZIP="${WH_TMP_DIR}/T-FLEX CAD 17.zip" | ||||||
| @@ -79,12 +22,12 @@ export AUTOINSTALL_DIR="${WH_TMP_DIR}" | |||||||
| export AUTOINSTALL_EXE="${WH_TMP_DIR}/T-FLEX CAD 17/T-FLEX CAD 17.msi" | export AUTOINSTALL_EXE="${WH_TMP_DIR}/T-FLEX CAD 17/T-FLEX CAD 17.msi" | ||||||
|  |  | ||||||
| if try_download "https://www.tflex.ru/downloads/T-FLEX%20CAD%2017.zip" "${AUTOINSTALL_ZIP}" ; then | if try_download "https://www.tflex.ru/downloads/T-FLEX%20CAD%2017.zip" "${AUTOINSTALL_ZIP}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_ZIP}" -o"${AUTOINSTALL_DIR}" |     unpack "${AUTOINSTALL_ZIP}" "${AUTOINSTALL_DIR}" | ||||||
|     try_remove_file "${AUTOINSTALL_ZIP}" |     try_remove_file "${AUTOINSTALL_ZIP}" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_EXE}" /q |     wine_run_install "${AUTOINSTALL_EXE}" /q | ||||||
|     try_remove_file "${AUTOINSTALL_EXE}" |     try_remove_file "${AUTOINSTALL_EXE}" | ||||||
|  |  | ||||||
|     WIN_FILE_EXEC="$DRIVE_C/Program Files/T-FLEX CAD 17/Program/TFlexCad.exe" |     WIN_FILE_EXEC="$DRIVE_C/Program Files/T-FLEX CAD 17/Program/TFlexCad.exe" | ||||||
|     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" "TFlexCad" | ||||||
| fi | fi | ||||||
|   | |||||||
							
								
								
									
										54
									
								
								autoinstall/t-flex-cad17-applications
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,54 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Приложения для T-FLEX CAD 17 (T-FLEX Анализ 17, T-FLEX Динамика 17, T-FLEX Зубчатые передачи 17, T-FLEX ЧПУ 17, T-FLEX Раскрой 17, T-FLEX Электротехника 17, T-FLEX VR 17, T-FLEX Печатные платы 17) | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://www.tflexcad.ru" | ||||||
|  | export PROG_NAME="Приложения для T-FLEX CAD 17" | ||||||
|  | export PROG_ICON="tflexcad" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WH_WINE_USE="wine_wh_tflex_10-9_amd64" | ||||||
|  | export BASE_PFX="tflex_pfx_x64_v03" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export WINEPREFIX="tflex" | ||||||
|  | export WH_XDG_OPEN="log" | ||||||
|  | export WH_USE_MESA_GL_OVERRIDE="1" | ||||||
|  |  | ||||||
|  | check_prefix_var | ||||||
|  | if [[ ! -f "$WINEPREFIX/drive_c/Program Files/T-FLEX CAD 17/Program/TFlexCad.exe" ]] | ||||||
|  | then fatal "Изначально установите T-FLEX CAD 17." | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | BASE_URL="https://www.tflex.ru/downloads" | ||||||
|  | FILES=( | ||||||
|  |     "T-FLEX Analysis 17.zip" | ||||||
|  |     "T-FLEX Dynamics 17.zip" | ||||||
|  |     "T-FLEX Gears 17.zip" | ||||||
|  |     "T-FLEX CAM 17.zip" | ||||||
|  |     "T-FLEX Nesting 17.zip" | ||||||
|  |     "T-FLEX Electrical 17.zip" | ||||||
|  |     "T-FLEX VR 17.zip" | ||||||
|  |     "T-FLEX Circuits 17.zip" | ||||||
|  | ) | ||||||
|  | UNPACK_APP="${WH_TMP_DIR}/unpack_applications" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  |  | ||||||
|  | # Скачивание всех файлов | ||||||
|  | for file_name in "${FILES[@]}" ; do | ||||||
|  |     local output="${WH_TMP_DIR}/${file_name// /_}" | ||||||
|  |  | ||||||
|  |     if try_download "$BASE_URL/$file_name" "$output" ; then | ||||||
|  |         unpack "$output" "${UNPACK_APP}" | ||||||
|  |     fi | ||||||
|  |     try_remove_file "$output" | ||||||
|  | done | ||||||
|  |  | ||||||
|  | # Установка .msi файлов | ||||||
|  | for msi_file in "${UNPACK_APP}"/*/*.msi ; do | ||||||
|  |     if [[ -f "$msi_file" ]] ; then | ||||||
|  |         wine_run_install "$msi_file" /q | ||||||
|  |     else | ||||||
|  |         fatal "Нет .msi файлов для установки в ${UNPACK_APP}/*." | ||||||
|  |     fi | ||||||
|  | done | ||||||
|  |  | ||||||
|  | try_remove_dir "${UNPACK_APP}" | ||||||
							
								
								
									
										53
									
								
								autoinstall/t-flex-cad17-resources
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,53 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Обучающие материалы, примеры, бесплатные библиотеки для T-FLEX CAD 17 (Учебное пособие 17, Стандартные элементы 17, Элементы уплотнительной техники 17, Станочные приспособления 17, Детали штампов листовой штамповки 17, Детали пресс-форм 17, Примеры 17) | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://www.tflexcad.ru" | ||||||
|  | export PROG_NAME="Ресурсы для T-FLEX CAD 17" | ||||||
|  | export PROG_ICON="tflexcad" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WH_WINE_USE="wine_wh_tflex_10-9_amd64" | ||||||
|  | export BASE_PFX="tflex_pfx_x64_v03" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export WINEPREFIX="tflex" | ||||||
|  | export WH_XDG_OPEN="log" | ||||||
|  | export WH_USE_MESA_GL_OVERRIDE="1" | ||||||
|  |  | ||||||
|  | check_prefix_var | ||||||
|  | if [[ ! -f "$WINEPREFIX/drive_c/Program Files/T-FLEX CAD 17/Program/TFlexCad.exe" ]] | ||||||
|  | then fatal "Изначально установите T-FLEX CAD 17." | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | BASE_URL="https://www.tflex.ru/downloads" | ||||||
|  | FILES=( | ||||||
|  |     "T-FLEX Tutorial 17.zip" | ||||||
|  |     "Standard parts 17.zip" | ||||||
|  |     "Elements of sealing technology 17.zip" | ||||||
|  |     "Machine tools 17.zip" | ||||||
|  |     "Standard parts for sheet metal dies 17.zip" | ||||||
|  |     "Standard Mold Parts 17.zip" | ||||||
|  |     "Examples 17.zip" | ||||||
|  | ) | ||||||
|  | UNPACK_RESOURCES="${WH_TMP_DIR}/unpack_resources" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  |  | ||||||
|  | # Скачивание всех файлов | ||||||
|  | for file_name in "${FILES[@]}" ; do | ||||||
|  |     local output="${WH_TMP_DIR}/${file_name// /_}" | ||||||
|  |  | ||||||
|  |     if try_download "$BASE_URL/$file_name" "$output" ; then | ||||||
|  |         unpack "$output" "$UNPACK_RESOURCES" | ||||||
|  |     fi | ||||||
|  |     try_remove_file "$output" | ||||||
|  | done | ||||||
|  |  | ||||||
|  | # Установка .msi файлов | ||||||
|  | for msi_file in "${UNPACK_RESOURCES}"/*/*.msi ; do | ||||||
|  |     if [[ -f "$msi_file" ]] ; then | ||||||
|  |         wine_run_install "$msi_file" /q | ||||||
|  |     else | ||||||
|  |         fatal "Нет .msi файлов для установки в ${UNPACK_RESOURCES}/unpack_dop/*." | ||||||
|  |     fi | ||||||
|  | done | ||||||
|  |  | ||||||
|  | try_remove_dir "${UNPACK_RESOURCES}" | ||||||
							
								
								
									
										34
									
								
								autoinstall/t-flex-cad18
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,34 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Профессиональная САПР, объединяющая в себе мощные параметрические возможности 2D и 3D-моделирования со средствами создания и оформления чертежей и конструкторской документации по ЕСКД. | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://www.tflexcad.ru" | ||||||
|  | export PROG_NAME="T-FLEX CAD 18" | ||||||
|  | export PROG_ICON="tflexcad" | ||||||
|  | export WH_WINE_USE="wine_wh_tflex_10-9_amd64" | ||||||
|  | export BASE_PFX="tflex_pfx_x64_v03" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEPREFIX="tflex" | ||||||
|  | export WH_XDG_OPEN="log" | ||||||
|  | export WH_USE_MESA_GL_OVERRIDE="1" | ||||||
|  |  | ||||||
|  | # используем общий whdb файл для подготовки префикса и сервисов | ||||||
|  | # prepair_wine используется из файла настроек | ||||||
|  | source "$WH_DB_DIR/t-flex-cad.whdb" | ||||||
|  |  | ||||||
|  | # Программа T-FLEX CAD | ||||||
|  | AUTOINSTALL_ZIP="${WH_TMP_DIR}/T-FLEX CAD 18.zip" | ||||||
|  | AUTOINSTALL_DIR="${WH_TMP_DIR}" | ||||||
|  | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/T-FLEX CAD 18" | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/T-FLEX CAD 18/T-FLEX CAD 18.msi" | ||||||
|  |  | ||||||
|  | if try_download "https://www.tflex.ru/downloads/V18/T-FLEX%20CAD%2018.zip" "${AUTOINSTALL_ZIP}" ; then | ||||||
|  |     unpack "${AUTOINSTALL_ZIP}" "${AUTOINSTALL_DIR}" | ||||||
|  |     try_remove_file "${AUTOINSTALL_ZIP}" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /q | ||||||
|  |     try_remove_dir "${AUTOINSTALL_UNPACK}" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/Program Files/T-FLEX CAD 18/Program/TFlexCad.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" "TFlexCad" | ||||||
|  | fi | ||||||
							
								
								
									
										52
									
								
								autoinstall/t-flex-cad18-applications
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,52 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Приложения для T-FLEX CAD 18 (T-FLEX Анализ 18, T-FLEX Динамика 18, T-FLEX Детали машин 18, T-FLEX Раскрой 18, T-FLEX VR 18, T-FLEX Печатные платы 18) | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://www.tflexcad.ru" | ||||||
|  | export PROG_NAME="Приложения для T-FLEX CAD 18" | ||||||
|  | export PROG_ICON="tflexcad" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WH_WINE_USE="wine_wh_tflex_10-9_amd64" | ||||||
|  | export BASE_PFX="tflex_pfx_x64_v03" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export WINEPREFIX="tflex" | ||||||
|  | export WH_XDG_OPEN="log" | ||||||
|  | export WH_USE_MESA_GL_OVERRIDE="1" | ||||||
|  |  | ||||||
|  | check_prefix_var | ||||||
|  | if [[ ! -f "$WINEPREFIX/drive_c/Program Files/T-FLEX CAD 18/Program/TFlexCad.exe" ]] | ||||||
|  | then fatal "Изначально установите T-FLEX CAD 18." | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | BASE_URL="https://www.tflex.ru/downloads/V18" | ||||||
|  | FILES=( | ||||||
|  |     "T-FLEX Analysis 18.zip" | ||||||
|  |     "T-FLEX Dynamics 18.zip" | ||||||
|  |     "T-FLEX Machinery 18.zip" | ||||||
|  |     "T-FLEX Nesting 18.zip" | ||||||
|  |     "T-FLEX VR 18.zip" | ||||||
|  |     "T-FLEX Circuits 18.zip" | ||||||
|  | ) | ||||||
|  | UNPACK_APP="${WH_TMP_DIR}/unpack_applications" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  |  | ||||||
|  | # Скачивание всех файлов | ||||||
|  | for file_name in "${FILES[@]}" ; do | ||||||
|  |     local output="${WH_TMP_DIR}/${file_name// /_}" | ||||||
|  |  | ||||||
|  |     if try_download "$BASE_URL/$file_name" "$output" ; then | ||||||
|  |         unpack "$output" "${UNPACK_APP}" | ||||||
|  |     fi | ||||||
|  |     try_remove_file "$output" | ||||||
|  | done | ||||||
|  |  | ||||||
|  | # Установка .msi файлов | ||||||
|  | for msi_file in "${UNPACK_APP}"/*/*.msi ; do | ||||||
|  |     if [[ -f "$msi_file" ]] ; then | ||||||
|  |         wine_run_install "$msi_file" /q | ||||||
|  |     else | ||||||
|  |         fatal "Нет .msi файлов для установки в ${UNPACK_APP}/*." | ||||||
|  |     fi | ||||||
|  | done | ||||||
|  |  | ||||||
|  | try_remove_dir "${UNPACK_APP}" | ||||||
							
								
								
									
										49
									
								
								autoinstall/t-flex-cad18-resources
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,49 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Обучающие материалы, примеры, бесплатные библиотеки для T-FLEX CAD 18 (Учебное пособие 18, Стандартные элементы 18, Примеры 18) | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://www.tflexcad.ru" | ||||||
|  | export PROG_NAME="Ресурсы для T-FLEX CAD 18" | ||||||
|  | export PROG_ICON="tflexcad" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WH_WINE_USE="wine_wh_tflex_10-9_amd64" | ||||||
|  | export BASE_PFX="tflex_pfx_x64_v03" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export WINEPREFIX="tflex" | ||||||
|  | export WH_XDG_OPEN="log" | ||||||
|  | export WH_USE_MESA_GL_OVERRIDE="1" | ||||||
|  |  | ||||||
|  | check_prefix_var | ||||||
|  | if [[ ! -f "$WINEPREFIX/drive_c/Program Files/T-FLEX CAD 18/Program/TFlexCad.exe" ]] | ||||||
|  | then fatal "Изначально установите T-FLEX CAD 18." | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | BASE_URL="https://www.tflex.ru/downloads/V18" | ||||||
|  | FILES=( | ||||||
|  |     "T-FLEX Tutorial 18.zip" | ||||||
|  |     "Standard parts 18.zip" | ||||||
|  |     "Examples 18.zip" | ||||||
|  | ) | ||||||
|  | UNPACK_RESOURCES="${WH_TMP_DIR}/unpack_resources" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  |  | ||||||
|  | # Скачивание всех файлов | ||||||
|  | for file_name in "${FILES[@]}" ; do | ||||||
|  |     local output="${WH_TMP_DIR}/${file_name// /_}" | ||||||
|  |  | ||||||
|  |     if try_download "$BASE_URL/$file_name" "$output" ; then | ||||||
|  |         unpack "$output" "$UNPACK_RESOURCES" | ||||||
|  |     fi | ||||||
|  |     try_remove_file "$output" | ||||||
|  | done | ||||||
|  |  | ||||||
|  | # Установка .msi файлов | ||||||
|  | for msi_file in "${UNPACK_RESOURCES}"/*/*.msi ; do | ||||||
|  |     if [[ -f "$msi_file" ]] ; then | ||||||
|  |         wine_run_install "$msi_file" /q | ||||||
|  |     else | ||||||
|  |         fatal "Нет .msi файлов для установки в ${UNPACK_RESOURCES}/unpack_dop/*." | ||||||
|  |     fi | ||||||
|  | done | ||||||
|  |  | ||||||
|  | try_remove_dir "${UNPACK_RESOURCES}" | ||||||
							
								
								
									
										33
									
								
								autoinstall/t-flex-cad2d+17
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,33 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Профессиональная САПР, объединяющая в себе мощные параметрические возможности 2D и 3D-моделирования со средствами создания и оформления чертежей и конструкторской документации по ЕСКД. | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://www.tflexcad.ru" | ||||||
|  | export PROG_NAME="T-FLEX CAD 2D+ 17" | ||||||
|  | export PROG_ICON="tflexcad" | ||||||
|  | export WH_WINE_USE="wine_wh_tflex_10-9_amd64" | ||||||
|  | export BASE_PFX="tflex_pfx_x64_v03" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEPREFIX="tflex" | ||||||
|  | export WH_XDG_OPEN="log" | ||||||
|  | export WH_USE_MESA_GL_OVERRIDE="1" | ||||||
|  |  | ||||||
|  | # используем общий whdb файл для подготовки префикса и сервисов | ||||||
|  | # prepair_wine используется из файла настроек | ||||||
|  | source "$WH_DB_DIR/t-flex-cad.whdb" | ||||||
|  |  | ||||||
|  | # Программа T-FLEX CAD 2D+ 17 | ||||||
|  | export AUTOINSTALL_ZIP="${WH_TMP_DIR}/T-FLEX CAD 2D+ 17.zip" | ||||||
|  | export AUTOINSTALL_DIR="${WH_TMP_DIR}" | ||||||
|  | export AUTOINSTALL_EXE="${WH_TMP_DIR}/T-FLEX CAD 2D+ 17/T-FLEX CAD 2D+ 17.msi" | ||||||
|  |  | ||||||
|  | if try_download "https://www.tflex.ru/downloads/T-FLEX%20CAD%202D+%2017.zip" "${AUTOINSTALL_ZIP}" ; then | ||||||
|  |     unpack "${AUTOINSTALL_ZIP}" "${AUTOINSTALL_DIR}" | ||||||
|  |     try_remove_file "${AUTOINSTALL_ZIP}" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /q | ||||||
|  |     try_remove_file "${AUTOINSTALL_EXE}" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/Program Files/T-FLEX CAD 2D+ 17/Program/TFlexCad.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" "TFlexCad2D" | ||||||
|  | fi | ||||||
							
								
								
									
										34
									
								
								autoinstall/t-flex-cad2d+18
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,34 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Профессиональная САПР, объединяющая в себе мощные параметрические возможности 2D и 3D-моделирования со средствами создания и оформления чертежей и конструкторской документации по ЕСКД. | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://www.tflexcad.ru" | ||||||
|  | export PROG_NAME="T-FLEX CAD 2D+ 18" | ||||||
|  | export PROG_ICON="tflexcad" | ||||||
|  | export WH_WINE_USE="wine_wh_tflex_10-9_amd64" | ||||||
|  | export BASE_PFX="tflex_pfx_x64_v03" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEPREFIX="tflex" | ||||||
|  | export WH_XDG_OPEN="log" | ||||||
|  | export WH_USE_MESA_GL_OVERRIDE="1" | ||||||
|  |  | ||||||
|  | # используем общий whdb файл для подготовки префикса и сервисов | ||||||
|  | # prepair_wine используется из файла настроек | ||||||
|  | source "$WH_DB_DIR/t-flex-cad.whdb" | ||||||
|  |  | ||||||
|  | # Программа T-FLEX CAD 2D+ 18 | ||||||
|  | AUTOINSTALL_ZIP="${WH_TMP_DIR}/T-FLEX CAD 2D+ 18.zip" | ||||||
|  | AUTOINSTALL_DIR="${WH_TMP_DIR}" | ||||||
|  | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/T-FLEX CAD 2D+ 18" | ||||||
|  | AUTOINSTALL_EXE="${AUTOINSTALL_UNPACK}/T-FLEX CAD 2D+ 18.msi" | ||||||
|  |  | ||||||
|  | if try_download "https://www.tflex.ru/downloads/V18/T-FLEX%20CAD%202D+%2018.zip" "${AUTOINSTALL_ZIP}" ; then | ||||||
|  |     unpack "${AUTOINSTALL_ZIP}" "${AUTOINSTALL_DIR}" | ||||||
|  |     try_remove_file "${AUTOINSTALL_ZIP}" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /q | ||||||
|  |     try_remove_dir "${AUTOINSTALL_UNPACK}" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/Program Files/T-FLEX CAD 2D+ 18/Program/TFlexCad.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" "TFlexCad2D" | ||||||
|  | fi | ||||||
| @@ -1,92 +0,0 @@ | |||||||
| #!/usr/bin/env bash |  | ||||||
| # info_ru: Система T-FLEX DOCs предназначена для комплексного управления инженерными данными предприятия, а также решения задач конструкторско-технологического и организационно-распорядительного документооборота. |  | ||||||
| ######################################################################## |  | ||||||
| export WH_AUTOINSTALL="1" |  | ||||||
| export PROG_NAME="T-FLEX DOCs 17" |  | ||||||
| export WH_WINDOWS_VER="10" |  | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" |  | ||||||
| export BASE_PFX="tflex17_pfx_x64_v01" |  | ||||||
| export WINEARCH="win64" |  | ||||||
| export WINEPREFIX="tflex17" |  | ||||||
| export PROG_VERSION="" |  | ||||||
| export PROG_ICON="tflexdoc" |  | ||||||
| export INSTALL_DLL="vcrun2019 d3dcompiler_47 dotnet48 msxml6 fontsmooth=rgb corefonts" |  | ||||||
| # eucrtbase2019 baekmuk droid eufonts ipamona liberation lucida opensymbol sourcehansans tahoma takao uff unifont  vlgothic wenquanyi wenquanyizenhei |  | ||||||
|  |  | ||||||
| prepair_wine |  | ||||||
|  |  | ||||||
| if [[ "$BASE_PFX" == "none" ]] \ |  | ||||||
| || ! systemctl list-units --type service --state running | grep aksusbd \ |  | ||||||
| || ! systemctl list-units --type service --state running | grep hasplmd |  | ||||||
| then |  | ||||||
|     # Компоненты поддержки T-FLEX PLM 17 (Linux) |  | ||||||
|     AUTOINSTALL_ZIP_LIN="${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux.zip" |  | ||||||
|     AUTOINSTALL_DIR_LIN="${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux" |  | ||||||
|     AUTOINSTALL_EXE_LIN1="${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/Components/fake_hasp.reg" |  | ||||||
|     if try_download "https://www.tflex.ru/downloads/Prerequisites_T-FLEX_17_Linux.zip" "${AUTOINSTALL_ZIP_LIN}" ; then |  | ||||||
|         7z x -y "${AUTOINSTALL_ZIP_LIN}" -o"${AUTOINSTALL_DIR_LIN}" |  | ||||||
|         try_remove_file "$AUTOINSTALL_ZIP_LIN" |  | ||||||
|         "$WINELOADER" regedit "${AUTOINSTALL_EXE_LIN1}" |  | ||||||
|     fi |  | ||||||
|  |  | ||||||
|     if [[ "$BASE_PFX" == "none" ]] ; then |  | ||||||
|         # Компоненты поддержки T-FLEX PLM 17 (Windows) |  | ||||||
|         AUTOINSTALL_ZIP_WIN="${WH_TMP_DIR}/T-FLEX 17 Prerequisites.zip" |  | ||||||
|         AUTOINSTALL_DIRWIN="${WH_TMP_DIR}" |  | ||||||
|         AUTOINSTALL_EXE_WIN1="${WH_TMP_DIR}/Компоненты поддержки T-FLEX 17/Access Database Engine 2007/AccessDatabaseEngine.exe" |  | ||||||
|         AUTOINSTALL_EXE_WIN_MSY="${WH_TMP_DIR}/Компоненты поддержки T-FLEX 17/Access Database Engine 2007" |  | ||||||
|         AUTOINSTALL_EXE_WIN2="${WH_TMP_DIR}/Компоненты поддержки T-FLEX 17/TSC2/Setup_TSC2.msi" |  | ||||||
|         if try_download "https://www.tflex.ru/downloads/T-FLEX%2017%20Prerequisites.zip" "${AUTOINSTALL_ZIP_WIN}" ; then |  | ||||||
|             7z x -y "${AUTOINSTALL_ZIP_WIN}" -o"${AUTOINSTALL_DIRWIN}" |  | ||||||
|             try_remove_file "$AUTOINSTALL_ZIP_WIN" |  | ||||||
|  |  | ||||||
|             7z x -y "${AUTOINSTALL_EXE_WIN1}" -o"${AUTOINSTALL_EXE_WIN_MSY}" |  | ||||||
|             try_remove_file "$AUTOINSTALL_EXE_WIN1" |  | ||||||
|  |  | ||||||
|             wine_run_install "${AUTOINSTALL_EXE_WIN_MSY}/AceRedist.msi" /q |  | ||||||
|             wine_run_install "${AUTOINSTALL_EXE_WIN2}" /q |  | ||||||
|         fi |  | ||||||
|         rm -fR "$DRIVE_C/Program Files/Common Files/System" |  | ||||||
|         rm -fR "$DRIVE_C/Program Files (x86)/Common Files/System" |  | ||||||
|         cp -r "${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/Components/Program Files/Common Files/System" "$DRIVE_C/Program Files/Common Files" |  | ||||||
|         cp -r "${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/Components/Program Files (x86)/Common Files/System" "$DRIVE_C/Program Files (x86)/Common Files" |  | ||||||
|         mv -f "${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/Components/Windows/System32/"*.dll "$DRIVE_C/windows/system32" |  | ||||||
|  |  | ||||||
|         "$WINELOADER" regedit "${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/Components/ado-32.reg" |  | ||||||
|         "$WINELOADER"64 regedit "${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/Components/ado-64.reg" |  | ||||||
|         "$WINELOADER" regedit "${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/Components/tflex.reg" |  | ||||||
|     fi |  | ||||||
|  |  | ||||||
|     if systemctl list-units --type service --state running | grep aksusbd \ |  | ||||||
|     && systemctl list-units --type service --state running | grep hasplmd |  | ||||||
|     then |  | ||||||
|         print_info "Службы aksusbd и hasplmd уже запущены. Пропускаем..." |  | ||||||
|     else |  | ||||||
|         echo "#!/usr/bin/env bash |  | ||||||
|         cd \"${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/HASP_Linux/aksusbd/\" |  | ||||||
|         bash ./dinst |  | ||||||
|         mv -f \"${WH_TMP_DIR}/Prerequisites_T-FLEX_17_Linux/HASP_Linux/\"*.so /var/hasplm/ |  | ||||||
|         systemctl restart hasplmd.service" > "${WH_TMP_DIR}/tflex17_aksusbd.sh" |  | ||||||
|         chmod +x ${WH_TMP_DIR}/tflex17_aksusbd.sh |  | ||||||
|         su_run "${WH_TMP_DIR}/tflex17_aksusbd.sh" |  | ||||||
|         try_remove_file "${WH_TMP_DIR}/tflex17_aksusbd.sh" |  | ||||||
|     fi |  | ||||||
|     try_remove_dir "$AUTOINSTALL_DIR_LIN" |  | ||||||
|     try_remove_dir "${WH_TMP_DIR}/Компоненты поддержки T-FLEX 17/" |  | ||||||
| fi |  | ||||||
|  |  | ||||||
| # Программа T-FLEX DOC |  | ||||||
| AUTOINSTALL_ZIP="${WH_TMP_DIR}/T-FLEX DOCs 17 Client.zip" |  | ||||||
| AUTOINSTALL_DIR="${WH_TMP_DIR}/T-FLEX DOCs 17" |  | ||||||
| AUTOINSTALL_EXE="${WH_TMP_DIR}/T-FLEX DOCs 17/T-FLEX DOCs 17/T-FLEX DOCs 17.msi" |  | ||||||
|  |  | ||||||
| if try_download "https://www.tflex.ru/downloads/DOCs/T-FLEX%20DOCs%2017%20Client.zip" "${AUTOINSTALL_ZIP}" ; then |  | ||||||
|     7z x -y "${AUTOINSTALL_ZIP}" -o"${AUTOINSTALL_DIR}" |  | ||||||
|     try_remove_file "${AUTOINSTALL_ZIP}" |  | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_EXE}" /q |  | ||||||
|     try_remove_file "${AUTOINSTALL_EXE}" |  | ||||||
|  |  | ||||||
|     WIN_FILE_EXEC="$DRIVE_C/Program Files (x86)/T-FLEX DOCs 17/Program/TFlex.DOCs.Client.exe" |  | ||||||
|     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" |  | ||||||
| fi |  | ||||||
							
								
								
									
										33
									
								
								autoinstall/t-flex-docs17
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,33 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Система T-FLEX DOCs предназначена для комплексного управления инженерными данными предприятия, а также решения задач конструкторско-технологического и организационно-распорядительного документооборота. | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://www.tflexcad.ru" | ||||||
|  | export PROG_NAME="T-FLEX DOCs 17" | ||||||
|  | export PROG_ICON="tflexdoc" | ||||||
|  | export WH_WINE_USE="wine_wh_tflex_10-9_amd64" | ||||||
|  | export BASE_PFX="tflex_pfx_x64_v03" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEPREFIX="tflex" | ||||||
|  | export WH_XDG_OPEN="log" | ||||||
|  | export WH_USE_MESA_GL_OVERRIDE="1" | ||||||
|  |  | ||||||
|  | # используем общий whdb файл для подготовки префикса и сервисов | ||||||
|  | # prepair_wine используется из файла настроек | ||||||
|  | source "$WH_DB_DIR/t-flex-cad.whdb" | ||||||
|  |  | ||||||
|  | # Программа T-FLEX DOC | ||||||
|  | AUTOINSTALL_ZIP="${WH_TMP_DIR}/T-FLEX DOCs 17 Client.zip" | ||||||
|  | AUTOINSTALL_DIR="${WH_TMP_DIR}/T-FLEX DOCs 17" | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/T-FLEX DOCs 17/T-FLEX DOCs 17/T-FLEX DOCs 17.msi" | ||||||
|  |  | ||||||
|  | if try_download "https://www.tflex.ru/downloads/DOCs/T-FLEX%20DOCs%2017%20Client.zip" "${AUTOINSTALL_ZIP}" ; then | ||||||
|  |     unpack "${AUTOINSTALL_ZIP}" "${AUTOINSTALL_DIR}" | ||||||
|  |     try_remove_file "${AUTOINSTALL_ZIP}" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /q | ||||||
|  |     try_remove_file "${AUTOINSTALL_EXE}" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/Program Files (x86)/T-FLEX DOCs 17/Program/TFlex.DOCs.Client.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										33
									
								
								autoinstall/t-flex-viewer17
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,33 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Просмотр, печать и аннотирование документов T-FLEX CAD | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://www.tflexcad.ru" | ||||||
|  | export PROG_NAME="T-FLEX Viewer 17" | ||||||
|  | export PROG_ICON="tflexcad" | ||||||
|  | export WH_WINE_USE="wine_wh_tflex_10-9_amd64" | ||||||
|  | export BASE_PFX="tflex_pfx_x64_v03" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEPREFIX="tflex" | ||||||
|  | export WH_XDG_OPEN="log" | ||||||
|  | export WH_USE_MESA_GL_OVERRIDE="1" | ||||||
|  |  | ||||||
|  | # используем общий whdb файл для подготовки префикса и сервисов | ||||||
|  | # prepair_wine используется из файла настроек | ||||||
|  | source "$WH_DB_DIR/t-flex-cad.whdb" | ||||||
|  |  | ||||||
|  | # Программа T-FLEX Viewer | ||||||
|  | export AUTOINSTALL_ZIP="${WH_TMP_DIR}/T-FLEX Viewer 17.zip" | ||||||
|  | export AUTOINSTALL_DIR="${WH_TMP_DIR}" | ||||||
|  | export AUTOINSTALL_EXE="${WH_TMP_DIR}/T-FLEX Viewer 17/T-FLEX Viewer 17.msi" | ||||||
|  |  | ||||||
|  | if try_download "https://www.tflex.ru/downloads/T-FLEX%20Viewer%2017.zip" "${AUTOINSTALL_ZIP}" ; then | ||||||
|  |     unpack "${AUTOINSTALL_ZIP}" "${AUTOINSTALL_DIR}" | ||||||
|  |     try_remove_file "${AUTOINSTALL_ZIP}" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /q | ||||||
|  |     try_remove_file "${AUTOINSTALL_EXE}" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/Program Files/T-FLEX Viewer 17/Program/TFlexViewer.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										34
									
								
								autoinstall/t-flex-viewer18
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,34 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Просмотр, печать и аннотирование документов T-FLEX CAD | ||||||
|  | ######################################################################## | ||||||
|  | export PROG_URL="https://www.tflexcad.ru" | ||||||
|  | export PROG_NAME="T-FLEX Viewer 18" | ||||||
|  | export PROG_ICON="tflexcad" | ||||||
|  | export WH_WINE_USE="wine_wh_tflex_10-9_amd64" | ||||||
|  | export BASE_PFX="tflex_pfx_x64_v03" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEPREFIX="tflex" | ||||||
|  | export WH_XDG_OPEN="log" | ||||||
|  | export WH_USE_MESA_GL_OVERRIDE="1" | ||||||
|  |  | ||||||
|  | # используем общий whdb файл для подготовки префикса и сервисов | ||||||
|  | # prepair_wine используется из файла настроек | ||||||
|  | source "$WH_DB_DIR/t-flex-cad.whdb" | ||||||
|  |  | ||||||
|  | # Программа T-FLEX Viewer | ||||||
|  | AUTOINSTALL_ZIP="${WH_TMP_DIR}/T-FLEX Viewer 18.zip" | ||||||
|  | AUTOINSTALL_DIR="${WH_TMP_DIR}" | ||||||
|  | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/T-FLEX Viewer 18" | ||||||
|  | AUTOINSTALL_EXE="${AUTOINSTALL_UNPACK}/T-FLEX Viewer 18.msi" | ||||||
|  |  | ||||||
|  | if try_download "https://www.tflex.ru/downloads/V18/T-FLEX%20Viewer%2018.zip" "${AUTOINSTALL_ZIP}" ; then | ||||||
|  |     unpack "${AUTOINSTALL_ZIP}" "${AUTOINSTALL_DIR}" | ||||||
|  |     try_remove_file "${AUTOINSTALL_ZIP}" | ||||||
|  |  | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /q | ||||||
|  |     try_remove_dir "${AUTOINSTALL_UNPACK}" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/Program Files/T-FLEX Viewer 18/Program/TFlexViewer.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  | fi | ||||||
| @@ -1,25 +1,27 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Электронный алфавитно-предметный указатель, предназначенный для быстрого и простого подбора для товара кода ТН ВЭД ЕАЭС. | # info_ru: Электронный алфавитно-предметный указатель, предназначенный для быстрого и простого подбора для товара кода ТН ВЭД ЕАЭС. | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://ctm.ru" | ||||||
| export PROG_NAME="ВЭД-Алфавит" | export PROG_NAME="ВЭД-Алфавит" | ||||||
| export PROG_ICON="vedalf" | export PROG_ICON="vedalf" | ||||||
|  |  | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="ved_ctm" | export WINEPREFIX="ved_ctm" | ||||||
| export BASE_PFX="ved_ctm_pfx_x86_v04" | export BASE_PFX="ved_ctm_pfx_x86_v05" | ||||||
| export WINEARCH="win32" | export WINEARCH="win32" | ||||||
| export WH_WINDOWS_VER="7" | export WH_WINDOWS_VER="7" | ||||||
| export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8" | export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8 vcrun2019 dotnet7 dotnetdesktop7 renderer=gdi" | ||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
|  |  | ||||||
|  | # фикс постоянного запроса обновления Windows | ||||||
|  | get_and_set_reg_file --add 'Software\CTM\CTMSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
| AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_al.exe" | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_al.exe" | ||||||
| AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_al" | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_al" | ||||||
| AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_al/setup.exe" | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_al/setup.exe" | ||||||
|  |  | ||||||
| if try_download "https://ftp.ctm.ru/ALPHABET/SFX/setup_al.exe" "${AUTOINSTALL_EXE}" ; then | if try_download "https://ftp.ctm.ru/ALPHABET/SFX/setup_al.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\ALPHABET" /auto /hide |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\ALPHABET" /auto /hide | ||||||
|   | |||||||
| @@ -1,25 +1,27 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Программа для проверки ДТ и ДТС до представления их в таможенные органы и для внесения изменений в электронный вид документов. | # info_ru: Программа для проверки ДТ и ДТС до представления их в таможенные органы и для внесения изменений в электронный вид документов. | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://ctm.ru" | ||||||
| export PROG_NAME="ВЭД-Контроль" | export PROG_NAME="ВЭД-Контроль" | ||||||
| export PROG_ICON="vedcontrol" | export PROG_ICON="vedcontrol" | ||||||
|  |  | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="ved_ctm" | export WINEPREFIX="ved_ctm" | ||||||
| export BASE_PFX="ved_ctm_pfx_x86_v04" | export BASE_PFX="ved_ctm_pfx_x86_v05" | ||||||
| export WINEARCH="win32" | export WINEARCH="win32" | ||||||
| export WH_WINDOWS_VER="7" | export WH_WINDOWS_VER="7" | ||||||
| export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8" | export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8 vcrun2019 dotnet7 dotnetdesktop7 renderer=gdi" | ||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
|  |  | ||||||
|  | # фикс постоянного запроса обновления Windows | ||||||
|  | get_and_set_reg_file --add 'Software\CTM\CTMSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
| AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_cl.exe" | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_cl.exe" | ||||||
| AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_cl" | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_cl" | ||||||
| AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_cl/setup.exe" | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_cl/setup.exe" | ||||||
|  |  | ||||||
| if try_download "https://ftp.ctm.ru/CONTROL/SFX/setup_cl.exe" "${AUTOINSTALL_EXE}" ; then | if try_download "https://ftp.ctm.ru/CONTROL/SFX/setup_cl.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\CONTROL" /auto /hide |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\CONTROL" /auto /hide | ||||||
|   | |||||||
| @@ -1,25 +1,27 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Программа для формирования полного комплекта документов для таможенного оформления. | # info_ru: Программа для формирования полного комплекта документов для таможенного оформления. | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://ctm.ru" | ||||||
| export PROG_NAME="ВЭД-Декларант" | export PROG_NAME="ВЭД-Декларант" | ||||||
| export PROG_ICON="veddcl" | export PROG_ICON="veddcl" | ||||||
|  |  | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="ved_ctm" | export WINEPREFIX="ved_ctm" | ||||||
| export BASE_PFX="ved_ctm_pfx_x86_v04" | export BASE_PFX="ved_ctm_pfx_x86_v05" | ||||||
| export WINEARCH="win32" | export WINEARCH="win32" | ||||||
| export WH_WINDOWS_VER="7" | export WH_WINDOWS_VER="7" | ||||||
| export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8" | export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8 vcrun2019 dotnet7 dotnetdesktop7 renderer=gdi" | ||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
|  |  | ||||||
|  | # фикс постоянного запроса обновления Windows | ||||||
|  | get_and_set_reg_file --add 'Software\CTM\CTMSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
| AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_dl.exe" | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_dl.exe" | ||||||
| AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_dl" | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_dl" | ||||||
| AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_dl/setup.exe" | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_dl/setup.exe" | ||||||
|  |  | ||||||
| if try_download "https://ftp.ctm.ru/DCL/SFX/setup_dl.exe" "${AUTOINSTALL_EXE}" ; then | if try_download "https://ftp.ctm.ru/DCL/SFX/setup_dl.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\DCL" /auto /hide |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\DCL" /auto /hide | ||||||
|   | |||||||
| @@ -1,25 +1,27 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Уникальный электронный справочник по таможенному законодательству государств-членов Евразийского экономического союза, содержащий актуальную нормативно-правовую базу в сфере регулирования внешнеэкономической деятельности. | # info_ru: Уникальный электронный справочник по таможенному законодательству государств-членов Евразийского экономического союза, содержащий актуальную нормативно-правовую базу в сфере регулирования внешнеэкономической деятельности. | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://ctm.ru" | ||||||
| export PROG_NAME="ВЭД-Инфо" | export PROG_NAME="ВЭД-Инфо" | ||||||
| export PROG_ICON="vedinfo" | export PROG_ICON="vedinfo" | ||||||
|  |  | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="ved_ctm" | export WINEPREFIX="ved_ctm" | ||||||
| export BASE_PFX="ved_ctm_pfx_x86_v04" | export BASE_PFX="ved_ctm_pfx_x86_v05" | ||||||
| export WINEARCH="win32" | export WINEARCH="win32" | ||||||
| export WH_WINDOWS_VER="7" | export WH_WINDOWS_VER="7" | ||||||
| export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8" | export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8 vcrun2019 dotnet7 dotnetdesktop7 renderer=gdi" | ||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
|  |  | ||||||
|  | # фикс постоянного запроса обновления Windows | ||||||
|  | get_and_set_reg_file --add 'Software\CTM\CTMSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
| AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_vi.exe" | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_vi.exe" | ||||||
| AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_vi" | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_vi" | ||||||
| AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_vi/setup.exe" | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_vi/setup.exe" | ||||||
|  |  | ||||||
| if try_download "https://ftp.ctm.ru/VEDINFO/SFX/setup_vi.exe" "${AUTOINSTALL_EXE}" ; then | if try_download "https://ftp.ctm.ru/VEDINFO/SFX/setup_vi.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\VED_INFO" /auto /hide |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\VED_INFO" /auto /hide | ||||||
|   | |||||||
| @@ -1,25 +1,27 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Программа для расчета таможенных платежей и стоимости товаров после «таможенной очистки» | # info_ru: Программа для расчета таможенных платежей и стоимости товаров после «таможенной очистки» | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://ctm.ru" | ||||||
| export PROG_NAME="ВЭД-Платежи" | export PROG_NAME="ВЭД-Платежи" | ||||||
| export PROG_ICON="vedpayments" | export PROG_ICON="vedpayments" | ||||||
|  |  | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="ved_ctm" | export WINEPREFIX="ved_ctm" | ||||||
| export BASE_PFX="ved_ctm_pfx_x86_v04" | export BASE_PFX="ved_ctm_pfx_x86_v05" | ||||||
| export WINEARCH="win32" | export WINEARCH="win32" | ||||||
| export WH_WINDOWS_VER="7" | export WH_WINDOWS_VER="7" | ||||||
| export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8" | export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8 vcrun2019 dotnet7 dotnetdesktop7 renderer=gdi" | ||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
|  |  | ||||||
|  | # фикс постоянного запроса обновления Windows | ||||||
|  | get_and_set_reg_file --add 'Software\CTM\CTMSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
| AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_pa.exe" | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_pa.exe" | ||||||
| AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_pa" | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_pa" | ||||||
| AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_pa/setup.exe" | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_pa/setup.exe" | ||||||
|  |  | ||||||
| if try_download "https://ftp.ctm.ru/PAYMENT/SFX/setup_pa.exe" "${AUTOINSTALL_EXE}" ; then | if try_download "https://ftp.ctm.ru/PAYMENT/SFX/setup_pa.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\PAYMENT" /auto /hide |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\PAYMENT" /auto /hide | ||||||
|   | |||||||
| @@ -1,25 +1,27 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # info_ru: Программа для формирования полного комплекта документов для таможенного оформления. | # info_ru: Программа для формирования полного комплекта документов для таможенного оформления. | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export WH_AUTOINSTALL="1" | export PROG_URL="https://ctm.ru" | ||||||
| export PROG_NAME="ВЭД-Склад" | export PROG_NAME="ВЭД-Склад" | ||||||
| export PROG_ICON="vedsts" | export PROG_ICON="vedsts" | ||||||
|  |  | ||||||
| export WH_WINE_USE="wine_x_tkg_10-0_amd64" | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
| export WINEPREFIX="ved_ctm" | export WINEPREFIX="ved_ctm" | ||||||
| export BASE_PFX="ved_ctm_pfx_x86_v04" | export BASE_PFX="ved_ctm_pfx_x86_v05" | ||||||
| export WINEARCH="win32" | export WINEARCH="win32" | ||||||
| export WH_WINDOWS_VER="7" | export WH_WINDOWS_VER="7" | ||||||
| export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8" | export INSTALL_DLL="vb6run art2kmin mdac27 mdac28 arial jet40 dotnet452 dotnet46 msxml3 ie8 vcrun2019 dotnet7 dotnetdesktop7 renderer=gdi" | ||||||
|  |  | ||||||
| prepair_wine | prepair_wine | ||||||
|  |  | ||||||
|  | # фикс постоянного запроса обновления Windows | ||||||
|  | get_and_set_reg_file --add 'Software\CTM\CTMSETUP' 'SkipKBCheck' 'REG_DWORD' "1" "userdef" | ||||||
|  |  | ||||||
| AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_st.exe" | AUTOINSTALL_EXE="${WH_TMP_DIR}/setup_st.exe" | ||||||
| AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_st" | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/setup_st" | ||||||
| AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_st/setup.exe" | AUTOINSTALL_SETUP="${WH_TMP_DIR}/setup_st/setup.exe" | ||||||
|  |  | ||||||
| if try_download "https://ftp.ctm.ru/STS/SFX/setup_st.exe" "${AUTOINSTALL_EXE}" ; then | if try_download "https://ftp.ctm.ru/STS/SFX/setup_st.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|     7z x -y "${AUTOINSTALL_EXE}" -o"${AUTOINSTALL_UNPACK}" |     unpack "${AUTOINSTALL_EXE}" "${AUTOINSTALL_UNPACK}" | ||||||
|     try_remove_file "$AUTOINSTALL_EXE" |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\STS" /auto /hide |     wine_run_install "${AUTOINSTALL_SETUP}" /cd /targetdir="C:\\\\Program Files\\\\CTM\\\\STS" /auto /hide | ||||||
|   | |||||||
							
								
								
									
										102
									
								
								database/t-flex-cad.whdb
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,102 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Компоненты сервисов поддержки T-FLEX 17 и 18 | ||||||
|  | ######################################################################## | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WH_WINE_USE="wine_wh_tflex_10-9_amd64" | ||||||
|  | export BASE_PFX="tflex_pfx_x64_v03" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | export WINEPREFIX="tflex" | ||||||
|  | export PROG_VERSION="" | ||||||
|  | export WH_XDG_OPEN="log" | ||||||
|  | export INSTALL_DLL="corefonts d3dcompiler_47 dotnet48 dotnet20 vcrun2019 ucrtbase2019 msxml6 fontsmooth=rgb baekmuk droid eufonts ipamona liberation lucida opensymbol sourcehansans tahoma takao uff unifont vlgothic wenquanyi wenquanyizenhei" | ||||||
|  | export WH_USE_MESA_GL_OVERRIDE="1" | ||||||
|  |  | ||||||
|  | GRDCONTROL_VER="4.3.0-0" | ||||||
|  | AUTOINSTALL_ZIP_LIN="$WH_TMP_DIR/Prerequisites_T-FLEX_Linux.zip" | ||||||
|  | AUTOINSTALL_DIR_LIN="$WH_TMP_DIR/Prerequisites_T-FLEX_Linux" | ||||||
|  |  | ||||||
|  | AUTOINSTALL_EXE_ADE2007="$AUTOINSTALL_DIR_LIN/Components/AccessDatabaseEngine.exe" | ||||||
|  | AUTOINSTALL_EXE_TSC2="$AUTOINSTALL_DIR_LIN/Components/Setup_TSC2.msi" | ||||||
|  | AUTOINSTALL_EXE_VC_X86="$AUTOINSTALL_DIR_LIN/Components/vc_redist.x86.exe" | ||||||
|  | AUTOINSTALL_EXE_VC_X64="$AUTOINSTALL_DIR_LIN/Components/vc_redist.x64.exe" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  |  | ||||||
|  | if [[ -d "$WINEPREFIX" ]] \ | ||||||
|  | && grep -q "t-flex-cad" "$WINEPREFIX/winetricks.log" \ | ||||||
|  | && systemctl list-units --type service --state running | grep -q aksusbd \ | ||||||
|  | && systemctl list-units --type service --state running | grep -q hasplmd \ | ||||||
|  | && rpm -q grdcontrol | grep -q "$GRDCONTROL_VER" | ||||||
|  | then | ||||||
|  |     print_info "Префикс $PREFIX_NAME готов к установке ПО." | ||||||
|  |     print_info "Сервисы: aksusbd и hasplmd уже запущены. grdcontrol-$GRDCONTROL_VER установлен." | ||||||
|  | else | ||||||
|  |     print_warning "Службы aksusbd и hasplmd не запущены, или grdcontrol-$GRDCONTROL_VER не установлен." | ||||||
|  |  | ||||||
|  |     if [[ "$BASE_PFX" == "none" ]] \ | ||||||
|  |     || ! systemctl list-units --type service --state running | grep aksusbd \ | ||||||
|  |     || ! systemctl list-units --type service --state running | grep hasplmd \ | ||||||
|  |     || ! rpm -q grdcontrol | grep -q "$GRDCONTROL_VER" | ||||||
|  |     then | ||||||
|  |         try_download "https://www.tflex.ru/downloads/Prerequisites_T-FLEX_Linux.zip" "${AUTOINSTALL_ZIP_LIN}" | ||||||
|  |         unpack "$AUTOINSTALL_ZIP_LIN" "$AUTOINSTALL_DIR_LIN" | ||||||
|  |  | ||||||
|  |         if rpm -q grdcontrol | grep -q "$GRDCONTROL_VER" | ||||||
|  |         then print_info "grdcontrol-$GRDCONTROL_VER уже установлен в системе." | ||||||
|  |         else su_run "rpm -iv \"$AUTOINSTALL_DIR_LIN/Guardant_Linux/grdcontrol.x86_64.rpm\"" | ||||||
|  |         fi | ||||||
|  |  | ||||||
|  |         if [[ "$BASE_PFX" == "none" ]] ; then | ||||||
|  |             print_info "Запускаем подготовку префикса." | ||||||
|  |  | ||||||
|  |             unpack "$AUTOINSTALL_EXE_ADE2007" "$AUTOINSTALL_DIR_LIN/ADE2007" | ||||||
|  |             wine_run_install "$AUTOINSTALL_DIR_LIN/ADE2007/AceRedist.msi" /q | ||||||
|  |  | ||||||
|  |             wine_run_install "$AUTOINSTALL_EXE_VC_X86" /quiet | ||||||
|  |             wine_run_install "$AUTOINSTALL_EXE_VC_X64" /quiet | ||||||
|  |             wine_run_install "$AUTOINSTALL_EXE_TSC2" /q | ||||||
|  |  | ||||||
|  |             rm -fR "$DRIVE_C/Program Files/Common Files/System" | ||||||
|  |             rm -fR "$DRIVE_C/Program Files (x86)/Common Files/System" | ||||||
|  |  | ||||||
|  |             cp -r "$AUTOINSTALL_DIR_LIN/Components/Program Files/Common Files/System" \ | ||||||
|  |                    "$DRIVE_C/Program Files/Common Files" | ||||||
|  |             cp -r "$AUTOINSTALL_DIR_LIN/Components/Program Files (x86)/Common Files/System" \ | ||||||
|  |                    "$DRIVE_C/Program Files (x86)/Common Files" | ||||||
|  |  | ||||||
|  |             mv -f "$AUTOINSTALL_DIR_LIN/Components/Windows/System32/"*.dll \ | ||||||
|  |                   "$DRIVE_C/windows/system32" | ||||||
|  |  | ||||||
|  |             "$WINELOADER" regedit "$AUTOINSTALL_DIR_LIN/Components/fake_hasp.reg" | ||||||
|  |             "$WINELOADER" regedit "$AUTOINSTALL_DIR_LIN/Components/ado-32.reg" | ||||||
|  |             "$WINELOADER" regedit "$AUTOINSTALL_DIR_LIN/Components/ado-64.reg" | ||||||
|  |         fi | ||||||
|  |  | ||||||
|  |         if systemctl list-units --type service --state running | grep aksusbd \ | ||||||
|  |         && systemctl list-units --type service --state running | grep hasplmd | ||||||
|  |         then | ||||||
|  |             print_info "Службы aksusbd и hasplmd уже запущены. Пропускаем..." | ||||||
|  |         else | ||||||
|  |             echo "#!/usr/bin/env bash | ||||||
|  |             cd \"$AUTOINSTALL_DIR_LIN/HASP_Linux/aksusbd/\" | ||||||
|  |             bash ./dinst | ||||||
|  |             mv -f \"$AUTOINSTALL_DIR_LIN/HASP_Linux/\"*.so /var/hasplm/ | ||||||
|  |             systemctl restart hasplmd.service" > "$WH_TMP_DIR/tflex_aksusbd.sh" | ||||||
|  |             chmod +x "$WH_TMP_DIR/tflex_aksusbd.sh" | ||||||
|  |             unset TFLEX_ERROR | ||||||
|  |             print_info "Будут установлены и запущены службы aksusbd и hasplmd." | ||||||
|  |             su_run "$WH_TMP_DIR/tflex_aksusbd.sh" || TFLEX_ERROR=1 | ||||||
|  |             try_remove_file "$WH_TMP_DIR/tflex_aksusbd.sh" | ||||||
|  |         fi | ||||||
|  |     fi | ||||||
|  |  | ||||||
|  |     try_remove_dir "$AUTOINSTALL_DIR_LIN" | ||||||
|  |  | ||||||
|  |     if [[ $TFLEX_ERROR == "1" ]] ; then | ||||||
|  |         fatal "Произошла ошибка во время подготовки префикса, или установки компонентов ПО." | ||||||
|  |     else | ||||||
|  |         echo "t-flex-cad-prepair" >> "$WINEPREFIX/winetricks.log" | ||||||
|  | #         try_remove_file "$AUTOINSTALL_ZIP_LIN" | ||||||
|  |         print_info "Подготовка префикса и установка компонентов завершены." | ||||||
|  |     fi | ||||||
|  | fi | ||||||
| @@ -12,7 +12,6 @@ fatal () { print_error "$@" ; exit 1 ;} | |||||||
|  |  | ||||||
| ##### UPDATE SYSTEM ##### | ##### UPDATE SYSTEM ##### | ||||||
| apt-get update || fatal "Не удалось обновить список доступных пакетов," | apt-get update || fatal "Не удалось обновить список доступных пакетов," | ||||||
| apt-get dist-upgrade || fatal "Не удалось обновить систему." |  | ||||||
|  |  | ||||||
| ##### CHECK AREPO (x86_64-i586) ##### | ##### CHECK AREPO (x86_64-i586) ##### | ||||||
| apt-repo | grep -q "x86_64-i586" || fatal "Репозиторий x86_64-i586 не подключен. \ | apt-repo | grep -q "x86_64-i586" || fatal "Репозиторий x86_64-i586 не подключен. \ | ||||||
| @@ -20,11 +19,11 @@ apt-repo | grep -q "x86_64-i586" || fatal "Репозиторий x86_64-i586 н | |||||||
| windows приложения. Подробнее по ссылке: https://www.altlinux.org/Biarch" | windows приложения. Подробнее по ссылке: https://www.altlinux.org/Biarch" | ||||||
|  |  | ||||||
| ##### INSTALL DEPENDENCIES ##### | ##### INSTALL DEPENDENCIES ##### | ||||||
|  | # fonts-ttf-ms | ||||||
|  |  | ||||||
| apt-get install {i586-,}{glibc-core,libstdc++6,glibc-pthread,glibc-nss,\ | apt-get install {i586-,}{glibc-core,libstdc++6,glibc-pthread,glibc-nss,\ | ||||||
| libOSMesa,libnss-mdns,libunixODBC2,ocl-icd,libfreetype,libfontconfig1,\ | libnss-mdns,libunixODBC2,ocl-icd,libfreetype,libfontconfig1,\ | ||||||
| libgnutls30,libGL,libEGL,xorg-dri-swrast,xorg-dri-intel,xorg-dri-radeon,\ | libgnutls30,libGL,libEGL,xorg-dri-swrast,xorg-dri-intel,xorg-dri-radeon,\ | ||||||
| libvulkan1,libcups} winetricks ca-certificates cups-pdf  || fatal "Не удалось установить зависимости." | libvulkan1,libcups} || fatal "Не удалось установить зависимости." | ||||||
|  |  | ||||||
| apt-get install {i586-,}wine | apt-get install {i586-,}wine | ||||||
|  |  | ||||||
| # yad zenity |  | ||||||
|   | |||||||
							
								
								
									
										25
									
								
								hiden_scripts/abc-akkord-pos
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,25 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Автоматизация контроля координации организационно-распорядительной деятельности. ПОС Редакция. | ||||||
|  | ######################################################################## | ||||||
|  | export WH_WINE_USE="wine-9.0.14-alt1-amd64" | ||||||
|  | export WINEPREFIX="abccenter" | ||||||
|  | export PROG_NAME="АВС АККОРД ПОС" | ||||||
|  | export PROG_ICON="abc_akkord" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | # export INSTALL_DLL="" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | # Возможны точки либо нижнее подчеркивание в URL-адресе | ||||||
|  | try_get_page "https://abccenter.ru/download-ru/" | ||||||
|  | VERDATE=$(read_page | grep -oP 'akkord_pos_\K\d+[._]\d+[._]\d+[._]\d+_\d+-\d+-\d+') | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/akkord_pos_${VERDATE}.exe" | ||||||
|  |  | ||||||
|  | if try_download "https://abccenter.ru/wp-content/soft/akkord_pos_${VERDATE}.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/ABC-Soft/AKKORD POS/ABCAKKORD.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										25
									
								
								hiden_scripts/abc-akkord-pro
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,25 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Автоматизация контроля координации организационно-распорядительной деятельности. Профессиональная Редакция. | ||||||
|  | ######################################################################## | ||||||
|  | export WH_WINE_USE="wine-9.0.14-alt1-amd64" | ||||||
|  | export WINEPREFIX="abccenter" | ||||||
|  | export PROG_NAME="АВС АККОРД Профессиональный" | ||||||
|  | export PROG_ICON="abc_akkord" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | # export INSTALL_DLL="" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | # Возможны точки либо нижнее подчеркивание в URL-адресе | ||||||
|  | try_get_page "https://abccenter.ru/download-ru/" | ||||||
|  | VERDATE=$(read_page | grep -oP 'akkord_pro_\K\d+[._]\d+[._]\d+[._]\d+_\d+-\d+-\d+') | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/akkord_pro_${VERDATE}.exe" | ||||||
|  |  | ||||||
|  | if try_download "https://abccenter.ru/wp-content/soft/akkord_pro_${VERDATE}.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/ABC-Soft/AKKORD PRO/ABCAKKORD.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										21
									
								
								hiden_scripts/abc-bim-plugins
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,21 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Комплект плагинов «Сметная система АВС» к BIM-системам. | ||||||
|  | ######################################################################## | ||||||
|  | export WH_WINE_USE="wine-9.0.14-alt1-amd64" | ||||||
|  | export WINEPREFIX="abccenter" | ||||||
|  | export PROG_NAME="ABC-BIM-Plugins-RU" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | # export INSTALL_DLL="" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | # Возможны точки либо нижнее подчеркивание в URL-адресе | ||||||
|  | try_get_page "https://abccenter.ru/download-ru/" | ||||||
|  | VERSION=$(read_page | grep -oP 'ABC-BIM-Plugins-RU_\K\d+[._]\d+[._]\d+'| sed -E 's/[._]/./g') | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/ABC-BIM-Plugins-RU_${VERSION}.exe" | ||||||
|  |  | ||||||
|  | if try_download "https://abccenter.ru/wp-content/soft/ABC-BIM-Plugins-RU_${VERSION}_Setup.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  | fi | ||||||
							
								
								
									
										28
									
								
								hiden_scripts/abc-bim-ru
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,28 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Интеграция сметной системы АВС с BIM-платформами. | ||||||
|  | ######################################################################## | ||||||
|  | export WH_WINE_USE="wine-9.0.14-alt1-amd64" | ||||||
|  | export WINEPREFIX="abccenter" | ||||||
|  | PROG_NAME=("BIM-смета АВС-RU" "АВС Рекомпозитор") | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | # export INSTALL_DLL="" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | # Возможны точки либо нижнее подчеркивание в URL-адресе | ||||||
|  | try_get_page "https://abccenter.ru/download-ru/" | ||||||
|  | VERDATE=$(read_page | grep -oP 'Setup_ABC-BIM-RU_\K\d+[._]\d+_\d+-\d+-\d+') | ||||||
|  | VERSION=$(read_page | grep -oP 'Setup_ABC-BIM-RU_\K\d+[._]\d+' | sed -E 's/[._]/./g') | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/Setup_ABC-BIM-RU_${VERDATE}_trial.exe" | ||||||
|  |  | ||||||
|  | if try_download "https://abccenter.ru/wp-content/soft/Setup_ABC-BIM-RU_${VERDATE}_trial.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/ABC-Soft/ABC-RU/${VERSION}/Abc_win/Exec/Abc.exe" | ||||||
|  |     WIN_FILE_EXEC1="$DRIVE_C/ABC-Soft/ABC RECOMPOSER/abcrecomposerwl.exe" | ||||||
|  |  | ||||||
|  |     create_desktop "BIM-смета АВС-RU ${VERSION}" "$WIN_FILE_EXEC" "abc" | ||||||
|  |     create_desktop "АВС Рекомпозитор" "$WIN_FILE_EXEC1" "abc-recomposerwl" | ||||||
|  | fi | ||||||
							
								
								
									
										26
									
								
								hiden_scripts/abc-dps-ru
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,26 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: АВС-ЦСП предназначен для автоматизированного составления и выпуска спецификаций материалов и оборудования, а также формирования ведомостей объемов работ (ВОР) путем связывания материальных ресурсов, включаемых в спецификации, с видами работ. | ||||||
|  | ######################################################################## | ||||||
|  | export WH_WINE_USE="wine-9.0.14-alt1-amd64" | ||||||
|  | export WINEPREFIX="abccenter" | ||||||
|  | export PROG_NAME="Цифровая спецификация проекта" | ||||||
|  | export PROG_ICON="abc-dps" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | # export INSTALL_DLL="" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | # Возможны точки либо нижнее подчеркивание в URL-адресе | ||||||
|  | try_get_page "https://abccenter.ru/download-ru/" | ||||||
|  | VERDATE=$(read_page | grep -oP 'Setup_ABC_DPS_RU_\K\d+[._]\d+_\d+-\d+-\d+') | ||||||
|  | VERSION=$(read_page | grep -oP 'Setup_ABC_DPS_RU_\K\d+[._]\d+'| sed -E 's/[._]/./g') | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/Setup_ABC_DPS_RU_${VERDATE}.exe" | ||||||
|  |  | ||||||
|  | if try_download "https://abccenter.ru/wp-content/soft/Setup_ABC_DPS_RU_${VERDATE}.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/ABC-Soft/ABC-DPS RU/${VERSION}/ABCSpecificate.exe" | ||||||
|  |     create_desktop "$PROG_NAME RU ${VERSION}" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										24
									
								
								hiden_scripts/abc-erp-bim
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,24 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Конвертер в формат АВС_ERP_BIM_XML. | ||||||
|  | ######################################################################## | ||||||
|  | export WH_WINE_USE="wine-9.0.14-alt1-amd64" | ||||||
|  | export WINEPREFIX="abccenter" | ||||||
|  | export PROG_NAME="Конвертер в формат АВС_ERP_BIM_XML" | ||||||
|  | export PROG_ICON="abc-erp-bim" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | # export INSTALL_DLL="" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/abc_erp_bim_converter.exe" | ||||||
|  |  | ||||||
|  | if try_download "https://abccenter.ru/wp-content/soft/abc_erp_bim_converter.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |     mkdir -p "$DRIVE_C/ABC-Soft/abc_erp_bim_converter" | ||||||
|  |     try_copy_file "${AUTOINSTALL_EXE}" "$DRIVE_C/ABC-Soft/abc_erp_bim_converter" | ||||||
|  |  | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/ABC-Soft/abc_erp_bim_converter.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										26
									
								
								hiden_scripts/abc-pir-ru
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,26 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Программный продукт АВС «ПИР» предназначен для подготовки, расчета и выпуска смет на проектно-изыскательские работы. | ||||||
|  | ######################################################################## | ||||||
|  | export WH_WINE_USE="wine-9.0.14-alt1-amd64" | ||||||
|  | export WINEPREFIX="abccenter" | ||||||
|  | export PROG_NAME="АВС-ПИР" | ||||||
|  | export PROG_ICON="abc-pir" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | # export INSTALL_DLL="" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | # Возможны точки либо нижнее подчеркивание в URL-адресе | ||||||
|  | try_get_page "https://abccenter.ru/download-ru/" | ||||||
|  | VERDATE=$(read_page | grep -oP 'Setup_ABC-PIR-RU_\K\d+[._]\d+_\d+-\d+-\d+') | ||||||
|  | VERSION=$(read_page | grep -oP 'Setup_ABC-PIR-RU_\K\d+[._]\d+'| sed -E 's/[._]/./g') | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/Setup_ABC-PIR-RU_${VERDATE}.exe" | ||||||
|  |  | ||||||
|  | if try_download "https://abccenter.ru/wp-content/soft/Setup_ABC-PIR-RU_${VERDATE}.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/ABC-Soft/ABC-PIR/${VERSION}RU/ABC-PIR.exe" | ||||||
|  |     create_desktop "$PROG_NAME ${VERSION}RU" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										26
									
								
								hiden_scripts/abc-recomposer
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,26 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Программный комплекс АВС-Рекомпозитор. | ||||||
|  | ######################################################################## | ||||||
|  | export WH_WINE_USE="wine-9.0.14-alt1-amd64" | ||||||
|  | export WINEPREFIX="abccenter" | ||||||
|  | export PROG_NAME="АВС Рекомпозитор" | ||||||
|  | export PROG_ICON="abc-recomposerwl" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | # export INSTALL_DLL="" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | # Возможны точки либо нижнее подчеркивание в URL-адресе | ||||||
|  | try_get_page "https://abccenter.ru/download-ru/" | ||||||
|  | VERDATE=$(read_page | grep -oP 'abcrecomposer_\K\d+[._]\d+[._]\d+-\d+-\d+') | ||||||
|  | VERSION=$(read_page | grep -oP 'abcrecomposer_\K\d+[._]\d+' | sed -E 's/[._]/./g') | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/Setup_ABC-RU_${VERDATE}.exe" | ||||||
|  |  | ||||||
|  | if try_download "https://abccenter.ru/wp-content/soft/abcrecomposer_${VERDATE}.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/ABC-Soft/ABC RECOMPOSER/${VERSION}/abcrecomposerwl.exe" | ||||||
|  |     create_desktop "$PROG_NAME $VERSION" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										26
									
								
								hiden_scripts/abc-ru
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,26 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Система АВС предназначена для разработки сметной и ресурсной документации всеми участниками инвестиционного процесса: проектными, подрядными организациями и заказчиками строительства. | ||||||
|  | ######################################################################## | ||||||
|  | export WH_WINE_USE="wine-9.0.14-alt1-amd64" | ||||||
|  | export WINEPREFIX="abccenter" | ||||||
|  | export PROG_NAME="ABC-RU" | ||||||
|  | export PROG_ICON="abc" | ||||||
|  | export BASE_PFX="none" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win64" | ||||||
|  | # export INSTALL_DLL="" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | # Возможны точки либо нижнее подчеркивание в URL-адресе | ||||||
|  | try_get_page "https://abccenter.ru/download-ru/" | ||||||
|  | VERDATE=$(read_page | grep -oP 'Setup_ABC-RU_\K\d+[._]\d+[._]\d+-\d+-\d+') | ||||||
|  | VERSION=$(read_page | grep -oP 'Setup_ABC-RU_\K\d+[._]\d+' | sed -E 's/[._]/./g') | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/Setup_ABC-RU_${VERDATE}.exe" | ||||||
|  |  | ||||||
|  | if try_download "https://abccenter.ru/wp-content/soft/Setup_ABC-RU_${VERDATE}.exe" "${AUTOINSTALL_EXE}" ; then | ||||||
|  |     wine_run_install "${AUTOINSTALL_EXE}" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- | ||||||
|  |     try_remove_file "$AUTOINSTALL_EXE" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/ABC-Soft/ABC-RU/${VERSION}/Abc_win/Exec/Abc.exe" | ||||||
|  |     create_desktop "$PROG_NAME $VERSION" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										24
									
								
								hiden_scripts/ais-lpu-client
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,24 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Автоматизация установки МИС Витакарта (AIS LPU Client). | ||||||
|  | ######################################################################## | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_i586" | ||||||
|  | export WINEPREFIX="ais-lpu-client" | ||||||
|  | export PROG_NAME="AIS LPU Client" | ||||||
|  | export PROG_ICON="ais_lpu_client" | ||||||
|  | export BASE_PFX="ais-lpu-client_pfx_x86_v01" | ||||||
|  | export WH_WINDOWS_VER="7" | ||||||
|  | export WINEARCH="win32" | ||||||
|  | export INSTALL_DLL="dotnet40 dotnet20sp2 7zip vcrun2005 vcrun2008 mfc42" | ||||||
|  | export WH_USE_EXTRA_FONTS="1" | ||||||
|  |  | ||||||
|  | if [[ -f "$2" ]] ; then | ||||||
|  |     prepair_wine | ||||||
|  |  | ||||||
|  |     wine_run_install "$2" # /q | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/Program Files/Vitacore/AIS LPU Client/Update/AKUZ.UpdateUtility.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  | else | ||||||
|  |     fatal "Не найден файл установки для $PROG_NAME. Перезапустите по примеру: | ||||||
|  |     winehelper install $1 \"/путь/до/установочного_файла\"" | ||||||
|  | fi | ||||||
							
								
								
									
										20
									
								
								hiden_scripts/commfort-client
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,20 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: Локальный корпоративный чат/мессенджер с поддержкой видеоконференций. | ||||||
|  | ######################################################################## | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
|  | export WINEPREFIX="commfort" | ||||||
|  | export PROG_NAME="CommFort" | ||||||
|  | export PROG_ICON="commfort-client" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win32" | ||||||
|  |  | ||||||
|  | AUTOINSTALL_MSI="${WH_TMP_DIR}/commfort_client.msi" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | if try_download "https://www.commfort.com/download/commfort_client.msi" "${AUTOINSTALL_MSI}" ; then | ||||||
|  |     wine_run_install "${AUTOINSTALL_MSI}" /q | ||||||
|  |     try_remove_file "$AUTOINSTALL_MSI" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/Program Files/CommFort/CommFort.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										24
									
								
								hiden_scripts/commfort-server
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,24 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | # info_ru: (Сервер) Локальный корпоративный чат/мессенджер с поддержкой видеоконференций. | ||||||
|  | ######################################################################## | ||||||
|  | export WH_WINE_USE="wine_x_tkg_10-0_amd64" | ||||||
|  | export WINEPREFIX="commfort" | ||||||
|  | export PROG_NAME="CommFort server" | ||||||
|  | export PROG_ICON="commfort-server" | ||||||
|  | export WH_WINDOWS_VER="10" | ||||||
|  | export WINEARCH="win32" | ||||||
|  |  | ||||||
|  | PACKZIP="${WH_TMP_DIR}/commfort_server.zip" | ||||||
|  | AUTOINSTALL_UNPACK="${WH_TMP_DIR}/commfort_server" | ||||||
|  | AUTOINSTALL_EXE="${WH_TMP_DIR}/commfort_server/commfort_server_599.exe" | ||||||
|  |  | ||||||
|  | prepair_wine | ||||||
|  | if try_download "https://www.commfort.com/download/commfort_server.zip" "${PACKZIP}" ; then | ||||||
|  |     unpack "${PACKZIP}" "$AUTOINSTALL_UNPACK" | ||||||
|  |     wine_run_install "$AUTOINSTALL_EXE" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- | ||||||
|  |     try_remove_file "$PACKZIP" | ||||||
|  |     try_remove_dir "$AUTOINSTALL_UNPACK" | ||||||
|  |  | ||||||
|  |     WIN_FILE_EXEC="$DRIVE_C/Program Files/CommFort_server/CommFort_server.exe" | ||||||
|  |     create_desktop "$PROG_NAME" "$WIN_FILE_EXEC" "$PROG_ICON" | ||||||
|  | fi | ||||||
							
								
								
									
										
											BIN
										
									
								
								image/abc-dps.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 23 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/abc-erp-bim.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 24 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/abc-pir.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 8.9 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/abc-recomposerwl.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 9.0 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/abc.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 17 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/abc_akkord.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/acceledit.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 5.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/ais_lpu_client.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 15 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/animator.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 14 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/arbat.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 16 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/armkt.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 23 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/betaedit.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 17 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/cocon.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 10 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/comein.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 16 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/comet.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 15 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/commfort-client.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 25 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/commfort-server.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 24 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/configprotection.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 17 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/consul.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 6.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/cross.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 16 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/daobitcservice.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 20 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/daobitratlas.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 14 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/daobitrinfo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 19 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/daobitrtariff.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 15 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/decor.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 19 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/desktopaudiostation.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 18 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/easymnemo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 6.1 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/globalsettings.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 26 KiB | 
							
								
								
									
										97
									
								
								image/gui/winehelper-devel.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 109 KiB | 
							
								
								
									
										47
									
								
								image/gui/winehelper-symbolic.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,47 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||||||
|  | <svg | ||||||
|  |    height="16px" | ||||||
|  |    viewBox="0 0 16 16" | ||||||
|  |    width="16px" | ||||||
|  |    version="1.1" | ||||||
|  |    id="svg4" | ||||||
|  |    sodipodi:docname="5-symbolic.svg" | ||||||
|  |    inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)" | ||||||
|  |    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||||||
|  |    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||||||
|  |    xmlns="http://www.w3.org/2000/svg" | ||||||
|  |    xmlns:svg="http://www.w3.org/2000/svg"> | ||||||
|  |   <defs | ||||||
|  |      id="defs4" /> | ||||||
|  |   <sodipodi:namedview | ||||||
|  |      id="namedview4" | ||||||
|  |      pagecolor="#505050" | ||||||
|  |      bordercolor="#eeeeee" | ||||||
|  |      borderopacity="1" | ||||||
|  |      inkscape:showpageshadow="0" | ||||||
|  |      inkscape:pageopacity="0" | ||||||
|  |      inkscape:pagecheckerboard="0" | ||||||
|  |      inkscape:deskcolor="#505050" | ||||||
|  |      inkscape:zoom="38.448931" | ||||||
|  |      inkscape:cx="6.9702848" | ||||||
|  |      inkscape:cy="8.8949156" | ||||||
|  |      inkscape:window-width="1920" | ||||||
|  |      inkscape:window-height="1128" | ||||||
|  |      inkscape:window-x="0" | ||||||
|  |      inkscape:window-y="0" | ||||||
|  |      inkscape:window-maximized="1" | ||||||
|  |      inkscape:current-layer="g3" /> | ||||||
|  |   <g | ||||||
|  |      fill-rule="evenodd" | ||||||
|  |      id="g3"> | ||||||
|  |     <path | ||||||
|  |        d="m 0.800781 0 c -0.429687 0 -0.800781 0.371094 -0.800781 0.800781 v 5.078125 c 0 0.429688 0.371094 0.800782 0.800781 0.800782 h 1.996094 v -1.121094 h -1.675781 v -4.4375 h 4.4375 v 1.675781 h 1.121094 v -1.996094 c 0 -0.429687 -0.371094 -0.800781 -0.800782 -0.800781 z m 9.328125 0 c -0.425781 0 -0.800781 0.371094 -0.800781 0.800781 v 1.996094 h 1.121094 v -1.675781 h 4.441406 v 4.4375 h -1.675781 v 1.121094 h 1.992187 c 0.429688 0 0.804688 -0.375 0.804688 -0.800782 v -5.078125 c 0 -0.429687 -0.375 -0.800781 -0.804688 -0.800781 z m -9.328125 9.328125 c -0.429687 0 -0.800781 0.371094 -0.800781 0.800781 v 5.082032 c 0 0.425781 0.371094 0.800781 0.800781 0.800781 h 5.078125 c 0.429688 0 0.800782 -0.375 0.800782 -0.800781 v -1.996094 h -1.121094 v 1.675781 h -4.4375 v -4.441406 h 1.675781 v -1.121094 z m 12.414063 0 v 1.121094 h 1.675781 v 4.441406 h -4.441406 v -1.675781 h -1.121094 v 1.996094 c 0 0.425781 0.375 0.800781 0.800781 0.800781 h 5.078125 c 0.429688 0 0.804688 -0.375 0.804688 -0.800781 v -5.082032 c 0 -0.429687 -0.375 -0.800781 -0.804688 -0.800781 z m 0 0" | ||||||
|  |        id="path1" /> | ||||||
|  |     <path | ||||||
|  |        id="path2" | ||||||
|  |        d="M 7.9277344 4.515625 C 7.8097448 4.5185061 7.6899414 4.527832 7.5703125 4.5429688 C 5.6601565 4.7812497 4.3007808 6.527344 4.5429688 8.4375 C 4.7812497 10.351562 6.527344 11.710938 8.4375 11.46875 C 10.351562 11.230469 11.710938 9.4843755 11.46875 7.5703125 C 11.245362 5.7795413 9.6975779 4.4724088 7.9277344 4.515625 z M 8.0039062 6.3535156 C 8.9197403 6.3535156 9.6542969 7.0918241 9.6542969 8.0039062 C 9.6542969 8.9205649 8.920565 9.6542969 8.0039062 9.6542969 C 7.0918241 9.6542969 6.3535156 8.9197403 6.3535156 8.0039062 C 6.3535156 7.0926517 7.0926517 6.3535156 8.0039062 6.3535156 z " /> | ||||||
|  |     <path | ||||||
|  |        d="m 6.765625 3.570312 l 1.265625 -0.164062 l 0.410156 1.664062 l -1.601562 0.246094 z m -2.773437 2.175782 l 0.78125 -1.011719 l 1.464843 0.890625 l -0.957031 1.304688 z m -0.421876 3.496094 l -0.164062 -1.261719 l 1.664062 -0.410157 l 0.246094 1.601563 z m 2.175782 2.773437 l -1.011719 -0.777344 l 0.890625 -1.464843 l 1.304688 0.957031 z m 3.496094 0.425781 l -1.261719 0.164063 l -0.410157 -1.664063 l 1.601563 -0.246094 z m 2.773437 -2.175781 l -0.777344 1.011719 l -1.464843 -0.890625 l 0.957031 -1.304688 z m 0.425781 -3.5 l 0.164063 1.265625 l -1.664063 0.410156 l -0.246094 -1.601562 z m -2.175781 -2.773437 l 1.011719 0.78125 l -0.890625 1.464843 l -1.304688 -0.957031 z m 0 0" | ||||||
|  |        id="path3" /> | ||||||
|  |   </g> | ||||||
|  | </svg> | ||||||
| After Width: | Height: | Size: 3.5 KiB | 
							
								
								
									
										47
									
								
								image/gui/winehelper.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 55 KiB | 
							
								
								
									
										
											BIN
										
									
								
								image/handbook/auto_install.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 184 KiB |