first
This commit is contained in:
9
DCIManager6/dci6-support-reader/notes.md
Normal file
9
DCIManager6/dci6-support-reader/notes.md
Normal file
@@ -0,0 +1,9 @@
|
||||
### Упаковка с помощью fyne-cross
|
||||
используется docker, так что он должен быть установлен и настроен.
|
||||
|
||||
fyne-cross windows -icon ./dci6-support-reader.png -name dci6-support-reader -app-id com.ispsystem.dci6-suppor-reader
|
||||
|
||||
fyne-cross linux -icon ./dci6-support-reader.png -name dci6-support-reader -app-id com.ispsystem.dci6-suppor-reader
|
||||
|
||||
прочитать содержимое png в байтах, что бы засунуть сразу в переменную для иконки
|
||||
xxd -i ./dci6-support-reader.png | head -n -1 | tail -n +2 | sed 's/ /, /g' | tr -d '\n' | sed 's/^/var iconData = []byte{/;s/$/}/'
|
||||
Reference in New Issue
Block a user