Add version to title, update deps to memory fix
This commit is contained in:
parent
53468659f4
commit
e86a130180
@ -3,6 +3,6 @@
|
||||
{registered,[]},
|
||||
{included_applications,[]},
|
||||
{applications,[stdlib,kernel]},
|
||||
{vsn,"0.2.0"},
|
||||
{vsn,"0.2.1"},
|
||||
{modules,[gajumine,gmc_con,gmc_conf,gmc_gui,gmc_sup]},
|
||||
{mod,{gajumine,[]}}]}.
|
||||
|
@ -3,7 +3,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(gajumine).
|
||||
-vsn("0.2.0").
|
||||
-vsn("0.2.1").
|
||||
-behavior(application).
|
||||
-author("Craig Everett <craigeverett@qpq.swiss>").
|
||||
-copyright("QPQ AG <craigeverett@qpq.swiss>").
|
||||
|
@ -3,7 +3,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(gmc_con).
|
||||
-vsn("0.2.0").
|
||||
-vsn("0.2.1").
|
||||
-author("Craig Everett <craigeverett@qpq.swiss>").
|
||||
-copyright("QPQ AG <craigeverett@qpq.swiss>").
|
||||
-license("GPL-3.0-or-later").
|
||||
|
@ -3,7 +3,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(gmc_conf).
|
||||
-vsn("0.2.0").
|
||||
-vsn("0.2.1").
|
||||
-author("Craig Everett <craigeverett@qpq.swiss>").
|
||||
-copyright("QPQ AG <craigeverett@qpq.swiss>").
|
||||
-license("GPL-3.0-or-later").
|
||||
|
@ -3,7 +3,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(gmc_gui).
|
||||
-vsn("0.2.0").
|
||||
-vsn("0.2.1").
|
||||
-author("Craig Everett <craigeverett@qpq.swiss>").
|
||||
-copyright("QPQ AG <craigeverett@qpq.swiss>").
|
||||
-license("GPL-3.0-or-later").
|
||||
@ -87,13 +87,14 @@ start_link(Title) ->
|
||||
|
||||
|
||||
init(Prefs) ->
|
||||
ok = log(info, "GUI starting..."),
|
||||
Lang = maps:get(lang, Prefs, en_US),
|
||||
Trans = gd_jt:read_translations(?MODULE),
|
||||
J = gd_jt:j(Lang, Trans),
|
||||
|
||||
AppName = J("GajuMine"),
|
||||
VSN = proplists:get_value(vsn, ?MODULE:module_info(attributes)),
|
||||
WX = wx:new(),
|
||||
Frame = wxFrame:new(WX, ?wxID_ANY, J("GajuMine")),
|
||||
Frame = wxFrame:new(WX, ?wxID_ANY, AppName ++ " v" ++ VSN),
|
||||
MainSz = wxBoxSizer:new(?wxVERTICAL),
|
||||
LeftRight = wxBoxSizer:new(?wxHORIZONTAL),
|
||||
Left = wxBoxSizer:new(?wxVERTICAL),
|
||||
|
@ -12,7 +12,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(gmc_sup).
|
||||
-vsn("0.2.0").
|
||||
-vsn("0.2.1").
|
||||
-behaviour(supervisor).
|
||||
-author("Craig Everett <craigeverett@qpq.swiss>").
|
||||
-copyright("QPQ AG <craigeverett@qpq.swiss>").
|
||||
|
@ -4,10 +4,10 @@
|
||||
{prefix,"gmc"}.
|
||||
{author,"Craig Everett"}.
|
||||
{desc,"Mining client for the Gajumaru Root"}.
|
||||
{package_id,{"qpq","gajumine",{0,2,0}}}.
|
||||
{deps,[{"qpq","cuckoo_cpu",{0,3,0}},
|
||||
{"uwiger","gmhive_client",{0,4,0}},
|
||||
{"uwiger","gmcuckoo",{1,1,1}},
|
||||
{package_id,{"qpq","gajumine",{0,2,1}}}.
|
||||
{deps,[{"uwiger","gmcuckoo",{1,2,3}},
|
||||
{"uwiger","gmhive_client",{0,4,3}},
|
||||
{"qpq","cuckoo_cpu",{0,3,0}},
|
||||
{"uwiger","gmhive_worker",{0,3,0}},
|
||||
{"uwiger","gmconfig",{0,1,2}},
|
||||
{"uwiger","gproc",{1,0,1}},
|
||||
|
Loading…
x
Reference in New Issue
Block a user