flatpak script

pull/15/head
Miguel Mota 6 years ago
parent 8f15d4898e
commit f38b686a80

@ -0,0 +1,23 @@
{
"app-id": "com.miguelmota.Cointop",
"runtime": "org.freedesktop.Platform",
"runtime-version": "1.6",
"sdk": "org.freedesktop.Sdk",
"command": "cointop",
"modules": [
{
"name": "cointop",
"buildsystem": "simple",
"sources": [
{
"type": "git",
"url": "https://github.com/miguelmota/cointop.git"
}
],
"build-commands": [
"./flatpak_install.sh"
]
}
]
}

@ -0,0 +1,3 @@
#!/bin/bash
go build -o bin/cointop

@ -122,8 +122,8 @@ func Close() {
quit <- 1
out.WriteString(funcs[t_show_cursor])
out.WriteString(funcs[t_sgr0])
out.WriteString(funcs[t_clear_screen])
out.WriteString(funcs[t_exit_ca])
//out.WriteString(funcs[t_clear_screen])
//out.WriteString(funcs[t_exit_ca])
out.WriteString(funcs[t_exit_keypad])
out.WriteString(funcs[t_exit_mouse])
tcsetattr(out.Fd(), &orig_tios)

Loading…
Cancel
Save