Compare commits
2 Commits
a437aa5ff3
...
7d0db9f2ea
| Author | SHA1 | Date | |
|---|---|---|---|
| 7d0db9f2ea | |||
| 751b334963 |
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -550,5 +550,6 @@ projman (2.0.0-alfa0) stable; urgency=medium
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
# Working with files module
|
||||
######################################################
|
||||
|
||||
|
||||
namespace eval FileOper {
|
||||
global packages
|
||||
variable types
|
||||
@@ -47,6 +46,9 @@ namespace eval FileOper {
|
||||
|
||||
proc GetFileMimeType {fileFullPath {opt ""}} {
|
||||
global cfgVariables
|
||||
if [regexp -nocase -- {untitled} $fileFullPath mattch] {
|
||||
return text
|
||||
}
|
||||
# Проверям наличие программы в системе, если есть то добавляем опции
|
||||
# если нет то используем тиклевый пакет
|
||||
if [file exists $cfgVariables(fileTypeCommand)] {
|
||||
@@ -67,6 +69,7 @@ namespace eval FileOper {
|
||||
if [regexp -nocase -- {(\w+)/([\w\-_\.]+); charset=([[:alnum:]-]+)} $pipe m fType fExt fCharset] {
|
||||
DebugPuts "$fType $fExt $fCharset"
|
||||
}
|
||||
|
||||
switch $opt {
|
||||
"charset" {
|
||||
if [info exists fCharset] {
|
||||
|
||||
@@ -10,7 +10,7 @@ exec wish8.6 "$0" -- "$@"
|
||||
######################################################
|
||||
# Version: 2.0.0
|
||||
# Release: beta6
|
||||
# Build: 15042026165805
|
||||
# Build: 21042026112230
|
||||
######################################################
|
||||
|
||||
# определим текущую версию, релиз и т.д.
|
||||
|
||||
Reference in New Issue
Block a user