Skip to content

Commit

Permalink
Add lw-tray on golang for not Plasma DE
Browse files Browse the repository at this point in the history
  • Loading branch information
VHSgunzo committed Aug 5, 2024
1 parent 3d9e165 commit d5976a6
Show file tree
Hide file tree
Showing 8 changed files with 764 additions and 49 deletions.
49 changes: 0 additions & 49 deletions .github/workflows/main.yml

This file was deleted.

21 changes: 21 additions & 0 deletions golang/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 VHSgunzo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
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
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS 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.
18 changes: 18 additions & 0 deletions golang/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module github.com/VHSgunzo/lw-tray

go 1.22.5

require github.com/getlantern/systray v1.2.2

require (
github.com/getlantern/context v0.0.0-20190109183933-c447772a6520 // indirect
github.com/getlantern/errors v0.0.0-20190325191628-abdb3e3e36f7 // indirect
github.com/getlantern/golog v0.0.0-20190830074920-4ef2e798c2d7 // indirect
github.com/getlantern/hex v0.0.0-20190417191902-c6586a6fe0b7 // indirect
github.com/getlantern/hidden v0.0.0-20190325191715-f02dbb02be55 // indirect
github.com/getlantern/ops v0.0.0-20190325191751-d70cb0d6f85f // indirect
github.com/go-stack/stack v1.8.0 // indirect
github.com/leonelquinteros/gotext v1.6.1
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c // indirect
golang.org/x/sys v0.1.0 // indirect
)
57 changes: 57 additions & 0 deletions golang/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/getlantern/context v0.0.0-20190109183933-c447772a6520 h1:NRUJuo3v3WGC/g5YiyF790gut6oQr5f3FBI88Wv0dx4=
github.com/getlantern/context v0.0.0-20190109183933-c447772a6520/go.mod h1:L+mq6/vvYHKjCX2oez0CgEAJmbq1fbb/oNJIWQkBybY=
github.com/getlantern/errors v0.0.0-20190325191628-abdb3e3e36f7 h1:6uJ+sZ/e03gkbqZ0kUG6mfKoqDb4XMAzMIwlajq19So=
github.com/getlantern/errors v0.0.0-20190325191628-abdb3e3e36f7/go.mod h1:l+xpFBrCtDLpK9qNjxs+cHU6+BAdlBaxHqikB6Lku3A=
github.com/getlantern/golog v0.0.0-20190830074920-4ef2e798c2d7 h1:guBYzEaLz0Vfc/jv0czrr2z7qyzTOGC9hiQ0VC+hKjk=
github.com/getlantern/golog v0.0.0-20190830074920-4ef2e798c2d7/go.mod h1:zx/1xUUeYPy3Pcmet8OSXLbF47l+3y6hIPpyLWoR9oc=
github.com/getlantern/hex v0.0.0-20190417191902-c6586a6fe0b7 h1:micT5vkcr9tOVk1FiH8SWKID8ultN44Z+yzd2y/Vyb0=
github.com/getlantern/hex v0.0.0-20190417191902-c6586a6fe0b7/go.mod h1:dD3CgOrwlzca8ed61CsZouQS5h5jIzkK9ZWrTcf0s+o=
github.com/getlantern/hidden v0.0.0-20190325191715-f02dbb02be55 h1:XYzSdCbkzOC0FDNrgJqGRo8PCMFOBFL9py72DRs7bmc=
github.com/getlantern/hidden v0.0.0-20190325191715-f02dbb02be55/go.mod h1:6mmzY2kW1TOOrVy+r41Za2MxXM+hhqTtY3oBKd2AgFA=
github.com/getlantern/ops v0.0.0-20190325191751-d70cb0d6f85f h1:wrYrQttPS8FHIRSlsrcuKazukx/xqO/PpLZzZXsF+EA=
github.com/getlantern/ops v0.0.0-20190325191751-d70cb0d6f85f/go.mod h1:D5ao98qkA6pxftxoqzibIBBrLSUli+kYnJqrgBf9cIA=
github.com/getlantern/systray v1.2.2 h1:dCEHtfmvkJG7HZ8lS/sLklTH4RKUcIsKrAD9sThoEBE=
github.com/getlantern/systray v1.2.2/go.mod h1:pXFOI1wwqwYXEhLPm9ZGjS2u/vVELeIgNMY5HvhHhcE=
github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk=
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
github.com/leonelquinteros/gotext v1.6.1 h1:PuTN8YUqHvfPZxW+fPXp7o0Fc2zN9L2wXBZrqT5MO5A=
github.com/leonelquinteros/gotext v1.6.1/go.mod h1:qQRISjoonXYFdRGrTG1LARQ38Gpibad0IPeB4hpvyyM=
github.com/lxn/walk v0.0.0-20210112085537-c389da54e794/go.mod h1:E23UucZGqpuUANJooIbHWCufXvOcT6E7Stq81gU+CSQ=
github.com/lxn/win v0.0.0-20210218163916-a377121e959e/go.mod h1:KxxjdtRkfNoYDCUP5ryK7XJJNTnpC8atvtmTheChOtk=
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c h1:rp5dCmg/yLR3mgFuSOe4oEnDDmGLROTvMragMUXpTQw=
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c/go.mod h1:X07ZCGwUbLaax7L0S3Tw4hpejzu63ZrrQiUe6W0hcy0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20201018230417-eeed37f84f13/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/Knetic/govaluate.v3 v3.0.0/go.mod h1:csKLBORsPbafmSCGTEh3U7Ozmsuq8ZSIlKk1bcqph0E=
Binary file added golang/locales/ru_RU/LC_MESSAGES/lw_tray.mo
Binary file not shown.
164 changes: 164 additions & 0 deletions golang/locales/ru_RU/LC_MESSAGES/lw_tray.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-14 11:25+0000\n"
"PO-Revision-Date: 2023-11-14 14:51+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.4.1\n"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:82
msgid "Apps"
msgstr "Приложения"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:89
msgid "Open"
msgstr "Открыть"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:94
msgid "Lux Wine"
msgstr "Lux Wine"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:100
msgid "DEBUG"
msgstr "ДЕБАГ"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:109
#: /home/user/Git_Project/LW/lw-tray/src/main.rs:168
msgid "Wine"
msgstr "Wine"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:113
msgid "Explorer"
msgstr "Рабочий стол"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:119
msgid "Task manager"
msgstr "Диспетчер задач"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:125
msgid "CMD"
msgstr "Командная строка"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:131
msgid "Control panel"
msgstr "Панель управления"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:137
#: /home/user/Git_Project/LW/lw-tray/src/main.rs:232
msgid "Settings"
msgstr "Настройки"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:143
msgid "Registry editor"
msgstr "Редактор реестра"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:149
msgid "Uninstaller"
msgstr "Устан/Удал программ"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:158
msgid "Kill"
msgstr "Убить"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:162
msgid "EXE"
msgstr "EXE"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:174
msgid "SHELL"
msgstr "ШЕЛЛ"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:180
msgid "ALL"
msgstr "ВСЁ"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:189
msgid "Prefix"
msgstr "Префикс"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:193
msgid "Open drive C:\\"
msgstr "Открыть диск С:\\"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:199
msgid "Backup"
msgstr "Бекап"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:205
msgid "Restore"
msgstr "Восстановить"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:211
msgid "Clear"
msgstr "Очистить"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:217
msgid "Mount backup"
msgstr "Монтировать бекап"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:223
msgid "Unmount backup"
msgstr "Отмонтировать бекап"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:242
msgid "Apps settings"
msgstr "Настройки приложений"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:248
msgid "Wine manager"
msgstr "Wine менеджер"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:254
msgid "Runtime updater"
msgstr "Обновление рантайм"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:260
msgid "Winetricks"
msgstr "Winetricks"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:266
msgid "Forced init"
msgstr "Инициализация"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:272
msgid "Open SHELL"
msgstr "Открыть ШЕЛЛ"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:278
msgid "Shortcut"
msgstr "Ярлык"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:282
msgid "Create"
msgstr "Создать"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:288
msgid "Remove"
msgstr "Удалить"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:297
msgid "Info"
msgstr "Информация"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:301
msgid "Usage"
msgstr "Использование"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:307
msgid "Version"
msgstr "Версия"

#: /home/user/Git_Project/LW/lw-tray/src/main.rs:319
msgid "Exit"
msgstr "Выход"
Loading

0 comments on commit d5976a6

Please sign in to comment.