Compare commits

..

No commits in common. "fc67590bdeb24a4401153e1cd206e05f17f74a2a" and "b8e1c2fca4d995d57ff1b184fdbc7d74a0941d5f" have entirely different histories.

15 changed files with 15 additions and 24 deletions

View File

@ -17,10 +17,8 @@ type PreferencesStorage struct {
}
func NewPreferences() *PreferencesStorage {
storage := NewLocalStore("preferences.yaml")
log.Printf("preferences path: %s\n", storage.ConfPath)
return &PreferencesStorage{
storage: storage,
storage: NewLocalStore("preferences.yaml"),
}
}

View File

@ -1,9 +1,5 @@
package convutil
import (
"os/exec"
)
type PhpConvert struct {
CmdConvert
}
@ -51,7 +47,7 @@ func NewPhpConvert() *PhpConvert {
}
var err error
if _, err = exec.LookPath(c.DecodePath); err != nil {
if _, err = runCommand(c.DecodePath, "-v"); err != nil {
return nil
}

View File

@ -1,7 +1,5 @@
package convutil
import "os/exec"
type PickleConvert struct {
CmdConvert
}
@ -42,9 +40,9 @@ func NewPickleConvert() *PickleConvert {
}
c.DecodePath, c.EncodePath = "python3", "python3"
var err error
if _, err = exec.LookPath(c.DecodePath); err != nil {
if _, err = runCommand(c.DecodePath, "--version"); err != nil {
c.DecodePath, c.EncodePath = "python", "python"
if _, err = exec.LookPath(c.DecodePath); err != nil {
if _, err = runCommand(c.DecodePath, "--version"); err != nil {
return nil
}
}

View File

@ -133,7 +133,7 @@ onMounted(async () => {
}">
<n-space :size="3" :wrap="false" :wrap-item="false" align="center">
<n-avatar :size="32" :src="iconUrl" color="#0000" style="min-width: 32px" />
<div style="min-width: 68px; white-space: nowrap; font-weight: 800">Tiny RDM</div>
<div style="min-width: 68px; font-weight: 800">Tiny RDM</div>
<transition name="fade">
<n-text v-if="tabStore.nav === 'browser'" class="ellipsis" strong style="font-size: 13px">
- {{ tabStore.currentTabName }}

View File

@ -496,8 +496,8 @@ const nodeProps = ({ option }) => {
return
}
contextMenuParam.show = false
nextTick().then(() => {
contextMenuParam.options = markRaw(menuOptions[option.type] || [])
nextTick().then(() => {
contextMenuParam.x = e.clientX
contextMenuParam.y = e.clientY
contextMenuParam.show = true

View File

@ -39,7 +39,7 @@
"font": "Font",
"font_tip": "Select or input font name",
"font_size": "Font Size",
"scan_size": "Default Size for SCAN",
"scan_size": "The Number of Elements per load",
"scan_size_tip": "Default return number of elements for SCAN/HSCAN/SSCAN/ZSCAN",
"key_icon_style": "Key Icon Style",
"key_icon_style0": "Compact",

View File

@ -39,7 +39,7 @@
"font": "Fuente",
"font_tip": "Seleccione o ingrese el nombre de la fuente",
"font_size": "Tamaño de fuente",
"scan_size": "Tamaño predeterminado para SCAN",
"scan_size": "Número de elementos por carga",
"scan_size_tip": "Número de elementos devueltos por los comandos SCAN/HSCAN/SSCAN/ZSCAN",
"key_icon_style": "Estilo de icono de clave",
"key_icon_style0": "Compacto",

View File

@ -39,7 +39,7 @@
"font": "Police",
"font_tip": "Sélectionner ou saisir le nom de la police",
"font_size": "Taille de la police",
"scan_size": "Taille par défaut pour SCAN",
"scan_size": "Nombre d'éléments par chargement",
"scan_size_tip": "Nombre d'éléments retournés par les commandes SCAN/HSCAN/SSCAN/ZSCAN",
"key_icon_style": "Style d'icône de clé",
"key_icon_style0": "Compact",

View File

@ -39,7 +39,7 @@
"font": "フォント",
"font_tip": "フォント名を選択または入力してください",
"font_size": "フォントサイズ",
"scan_size": "SCANコマンドのデフォルトサイズ",
"scan_size": "1回の読み込み数",
"scan_size_tip": "SCAN/HSCAN/SSCAN/ZSCAN コマンドで1回に返される要素の数",
"key_icon_style": "キーアイコンのスタイル",
"key_icon_style0": "コンパクトタイプ",

View File

@ -39,7 +39,7 @@
"font": "폰트",
"font_tip": "폰트 선택 또는 이름 입력",
"font_size": "폰트 크기",
"scan_size": "SCAN 기본 크기",
"scan_size": "한 번에 로드되는 요소 수",
"scan_size_tip": "SCAN/HSCAN/SSCAN/ZSCAN 명령에서 한 번에 반환되는 요소 수",
"key_icon_style": "키 아이콘 스타일",
"key_icon_style0": "간략한 타입",

View File

@ -39,7 +39,7 @@
"font": "Fonte",
"font_tip": "Selecione ou digite o nome da fonte",
"font_size": "Tamanho da Fonte",
"scan_size": "Tamanho Padrão para Comando SCAN",
"scan_size": "Número de elementos por carregamento",
"scan_size_tip": "Número de elementos retornados por vez pelos comandos SCAN/HSCAN/SSCAN/ZSCAN",
"key_icon_style": "Estilo do Ícone de Chave",
"key_icon_style0": "Compacto",

View File

@ -39,7 +39,7 @@
"font": "Шрифт",
"font_tip": "Выберите или введите название шрифта",
"font_size": "Размер шрифта",
"scan_size": "Размер по умолчанию для SCAN",
"scan_size": "Количество элементов за одну загрузку",
"scan_size_tip": "Количество элементов, возвращаемых за один раз командами SCAN/HSCAN/SSCAN/ZSCAN",
"key_icon_style": "Стиль значка ключа",
"key_icon_style0": "Компактный",

View File

@ -39,7 +39,7 @@
"font": "字体",
"font_tip": "请选择或手动输入字体名",
"font_size": "字体尺寸",
"scan_size": "SCAN命令默认数量",
"scan_size": "单次加载数量",
"scan_size_tip": "SCAN/HSCAN/SSCAN/ZSCAN 命令每次返回数量",
"key_icon_style": "键图标样式",
"key_icon_style0": "紧凑类型",

View File

@ -39,7 +39,7 @@
"font": "字型",
"font_tip": "請選擇或手動輸入字型名稱",
"font_size": "字型大小",
"scan_size": "SCAN命令預設數量",
"scan_size": "單次載入數量",
"scan_size_tip": "SCAN/HSCAN/SSCAN/ZSCAN 命令每次返回的元素數量",
"key_icon_style": "鍵圖示樣式",
"key_icon_style0": "緊湊類型",

View File

@ -117,7 +117,6 @@ func main() {
DisableFramelessWindowDecorations: true,
},
Linux: &linux.Options{
ProgramName: "Tiny RDM",
Icon: icon,
WebviewGpuPolicy: linux.WebviewGpuPolicyOnDemand,
WindowIsTranslucent: true,